{"uid":"cap_DlxicaBw5OKDtueGmbWyw","slug":"x402-endpoint-validator-690fc8f5","name":"x402 Endpoint Validator","description":"Checks whether a live x402 endpoint is actually payable. Fetches the target, decodes its PAYMENT-REQUIRED challenge, verifies the payment terms are well-formed, renders prices in human units, and returns the precise fixes for anything that would stop an agent from paying.","url":"https://earner-shop.earner-shop-3xz9.workers.dev/v1/validate?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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute http(s) URL of the x402 endpoint to validate."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"issues":[{"fix":"Set it (300 is a sane default) so agents know how long the authorization stays valid.","code":"missing_timeout","message":"accepts[0].maxTimeoutSeconds is missing","severity":"warning"}],"target":"https://api.example.com/paid","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x0000000000000000000000000000000000000000","price":"0.01 USDC","amount":"10000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"summary":"Payable, with 1 issue that will cost you buyers.","verdict":"warnings","finalUrl":"https://api.example.com/paid","httpStatus":402,"x402Version":2}},"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_szoNg4HaexKFsi3w9ke3E","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 live x402 endpoint is genuinely payable by fetching it, decoding its PAYMENT-REQUIRED challenge, verifying payment terms, and returning actionable fixes for any issues found.","exampleAgentPrompt":"Can you check whether https://api.example.com/paid is a properly configured x402 endpoint — I want to know if it's payable or if there are any issues an agent would hit trying to pay it?","exampleUseCases":[{"title":"Debug a broken x402 paywall","prompt":"My x402 endpoint at https://myapi.example.com/premium keeps failing when agents try to pay — can you validate it and tell me exactly what's misconfigured?"},{"title":"Pre-flight check before listing an endpoint","prompt":"Before I publish my x402 endpoint at https://data.example.com/reports to a marketplace, can you verify the payment challenge is well-formed and agents will be able to pay it?"},{"title":"Inspect a third-party x402 endpoint","prompt":"I found an x402 endpoint at https://partner.example.com/feed and want to know its payment terms and whether it's actually payable — can you decode and validate it for me?"}],"resultDescription":"A JSON object containing: a verdict string ('payable', 'warnings', 'broken', etc.), a summary sentence, the decoded payment accepts array with human-readable prices (e.g. '0.01 USDC'), the final URL after any redirects, the HTTP status code, the x402 protocol version, and a list of issues each with a severity level, error code, human-readable message, and a precise fix recommendation.","failureModes":["Target URL is unreachable or times out — returns error with network failure details","Target URL does not return a 402 status — returns verdict indicating endpoint is not an x402 paywall","Payment challenge is malformed JSON — returns parsing error with specifics","Missing required payment fields (e.g. payTo, asset) — returned as issues list with severity 'error'","Redirect loop or too many redirects — returns error about final URL resolution failure"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that an x402 endpoint is correctly configured and genuinely payable before attempting to pay it, listing it in a marketplace, or routing agent traffic to it. It is the right choice when you have a specific URL to inspect and want decoded payment terms plus actionable diagnostics — not for discovering x402 endpoints or making payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:07.155Z","isFirstParty":false,"canonicalSlug":"x402-endpoint-validator-690fc8f5"}