{"uid":"cap_7aoAiMPV6uY7x96hnxTFD","slug":"x402check-x402-endpoint-inspector-f77050ab","name":"x402check - x402 Endpoint Inspector","description":"Preflight an x402 endpoint before you pay: reachable? valid 402 terms (scheme, network, asset, amount, payTo)? is the payTo clean of OFAC sanctions? how old is its domain (RDAP)? Returns a verdict and a list of problems. $0.01/call.","url":"https://api.firstmention.uk/s/x402check/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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"url":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"is_x402":{"type":"boolean"},"verdict":{"type":"string"},"problems":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://seller.example/api","valid":true,"accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3CfD4B1AfE41ad99b11881d77e2B0d9adc212f13","scheme":"exact","network":"base","resource":"https://seller.example/api","maxAmountRequired":"10000"}],"is_x402":true,"verdict":"OK_TO_PAY","problems":[],"reachable":true,"http_status":402,"endpoint_domain":{"found":true,"domain":"seller.example","age_days":412},"payTo_sanctions":{"match":false,"checked":19957}}},"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_teNZ0E6GFZnL-_EEsQxkG","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":"Inspects a given HTTPS URL to determine if it requires x402 payment, what payment terms it accepts, and whether it is reachable and valid.","exampleAgentPrompt":"Can you check whether https://api.firstmention.uk/s/bizcal-api/day is an x402-gated endpoint, and if so, what USDC price and wallet address it requires for payment?","exampleUseCases":[{"title":"Verify x402 config before integration","prompt":"Before I integrate this API into my agent, can you inspect https://api.example.com/data to confirm it's a valid x402 endpoint, what price it charges in USDC, and which Base wallet to pay?"},{"title":"Debug misconfigured x402 endpoint","prompt":"My x402-gated API at https://api.myservice.io/search is not working correctly — can you probe it and tell me if it's reachable, what HTTP status it returns, and whether the payment configuration looks valid?"},{"title":"Discover payment terms for third-party API","prompt":"I found an API at https://api.thirdparty.com/report that might be pay-per-call — can you check if it uses x402 and tell me what asset, network, and amount it requires?"}],"resultDescription":"Returns a JSON object containing the inspected URL, whether it is an x402 endpoint, the HTTP status code, a list of accepted payment methods (asset, scheme, network, price in USD, payTo wallet address), a verdict (ok/error), reachability status, latency in milliseconds, and any warnings about the configuration.","failureModes":["URL is not reachable — returns reachable: false with an appropriate HTTP status or network error","URL does not implement x402 — returns is_x402: false with no accepts array","Malformed URL input — schema validation error before request is made","Endpoint returns unexpected non-402 status — captured in http_status field with warnings","Payment for x402check itself fails — 402 returned for the inspector call itself"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover or validate whether a given HTTPS URL is protected by the x402 payment protocol, what USDC amount and wallet it requires, and whether it is properly configured and reachable. Prefer this over manual inspection or generic HTTP probing tools when working within a Web3 agent stack that needs to auto-negotiate payment terms before calling pay-per-use APIs on the Base network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-25T00:45:22.080Z","isFirstParty":false,"canonicalSlug":"x402check-x402-endpoint-inspector-f77050ab"}