{"uid":"cap_q-o7IY8GKr5uvkosR9doL","slug":"x402-broker-paywall-check-89a6650d","name":"X402-BROKER Paywall Check","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/paywall-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nb21X6jcdLLN09gdtbMtK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given HTTP URL is protected by an x402/L402 paywall and returns access status with compression ROI proof","exampleAgentPrompt":"Can you check if the URL https://some-api.example.com/data is behind an x402 paywall — use a GET request and tell me whether it requires payment to access?","exampleUseCases":[{"title":"Pre-flight paywall detection for agent","prompt":"Before my agent tries to call https://api.someservice.dev/query, can you check if it's behind an x402 or L402 paywall so I know whether to authorize a USDC payment first?"},{"title":"MCP server access verification","prompt":"I want to know if this MCP server endpoint at https://mcp.toolprovider.io/execute requires micropayment access — can you probe it with a GET and tell me the paywall status?"},{"title":"API monetization audit","prompt":"Can you check whether https://data-api.example.com/v1/resource is protected by an x402 paywall, and give me the compression ROI proof if it returns one?"}],"resultDescription":"Returns a JSON object with a status field ('ok' or error), a data object with any retrieved content, and an roi_proof object containing a compression_ratio_pct value (e.g. 91.4) demonstrating the efficiency of the gateway's data handling.","failureModes":["URL is unreachable or returns non-HTTP error — status will reflect failure","URL is not x402/L402 protected — paywall check returns no gate detected","Invalid or missing 'url' query parameter — request rejected with schema validation error","Upstream endpoint rate-limits or blocks the probe request","USDC payment on Base fails to settle — call not executed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically determine whether a target URL is protected by an x402, L402, or MPP paywall before committing to a payment flow. It is particularly useful in agentic workflows where an agent must decide dynamically whether to authorize a micropayment, and when the target could be any of 31,390+ MCP servers or x402 APIs in the broker's network. Prefer this over manual inspection or generic HTTP HEAD checks when you need structured paywall-presence confirmation plus ROI proof metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:35.901Z","isFirstParty":false,"canonicalSlug":"x402-broker-paywall-check-89a6650d"}