{"uid":"cap_5qNPJ54-nnGYDijdRtHvM","slug":"pitcrew-x402-preflight-checker-6f63a390","name":"PitCrew x402 Preflight Checker","description":"Check any x402 paid endpoint before paying it: does it return a valid 402 challenge, which networks/tokens/prices it accepts (decoded to USD), whether amounts are valid atomic units, payTo sanity, testnet-only offers, missing Bazaar input schema, redirects and latency. Returns a verdict (payable / payable with warnings / broken / unreachable) and the exact problems. Useful for agents choosing between paid APIs and for sellers debugging why x402scan or the CDP Bazaar skipped their route.","url":"https://pitcrew-api.appin60.com/x402/preflight?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":"Full URL of the x402 endpoint"},"body":{"type":"string","description":"Optional JSON body to send with a POST probe (use the route's own example input)"},"method":{"enum":["GET","POST"],"type":"string","description":"HTTP method to probe (default GET)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"offers":[{"token":"USDC","network":"eip155:8453","priceUsd":0.01}],"verdict":"payable","problems":[],"warnings":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jDMiF27LOLTRsrw9G_EgQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a given URL to determine whether it is a payable x402 endpoint, returning price offers, verdict, and any problems or warnings.","exampleAgentPrompt":"Before I pay, can you preflight-check https://example.com/api/premium to see if it's a valid x402 endpoint, what it costs, and whether there are any problems with it?","exampleUseCases":[{"title":"Validate x402 endpoint before paying","prompt":"I want to call https://data-api.example.com/reports but I'm not sure if it's properly set up as an x402 endpoint — can you run a preflight check on it and tell me the price and any issues?"},{"title":"Debugging a failed x402 payment","prompt":"My agent tried to pay https://api.someservice.io/generate and it failed — can you preflight that URL to see if there's a problem with the endpoint or its payment config?"},{"title":"Discover pricing before automating calls","prompt":"I'm building a workflow that calls https://inference.myapp.xyz/predict repeatedly — can you check what token and network it accepts and how much it charges per call so I can budget correctly?"}],"resultDescription":"A JSON object containing a 'verdict' field ('payable' or otherwise), an 'offers' array listing accepted tokens, networks, and USD price per call, a 'problems' array describing any configuration errors, and a 'warnings' array for non-fatal issues.","failureModes":["Target URL is unreachable or returns no 402 response — verdict may be 'not_payable' or error","Target URL returns a malformed x402 payment header — problems array populated with parsing errors","Network timeout connecting to the target endpoint","Invalid or missing 'url' query parameter — request rejected","Target endpoint is up but misconfigured — warnings returned without a fatal verdict"],"whenToPreferThis":"Use this endpoint when you need to inspect an x402-enabled URL before attempting to pay it — especially to confirm it is correctly configured, discover its pricing and accepted tokens/networks, or diagnose a prior payment failure. Prefer this over a raw HTTP probe when you need structured x402-aware analysis rather than a generic HTTP status check.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:40:46.111Z","isFirstParty":false,"canonicalSlug":"pitcrew-x402-preflight-checker-6f63a390"}