{"uid":"cap_twRldbZTxg-yr-qHd_Vh9","slug":"code402-gateway-x402-probe-73c1e49c","name":"code402 Gateway x402 Probe","description":"Machine-payable APIs over x402 (HTTP 402 + USDC) on the open M2M/1 protocol. Non-custodial: payments settle direct to seller wallets.","url":"https://gateway.code402.dev/api/x402-probe","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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_4QEv68zSxl31h2EC780Vd","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 and validates an x402-compatible payment endpoint, verifying it responds with a proper HTTP 402 payment-required flow over USDC before an agent commits to paying.","exampleAgentPrompt":"Before we pay, can you probe the x402 endpoint at https://api.example.com/data to check that it's properly set up for USDC micropayments and tell me how much it costs per call and which wallet receives the payment?","exampleUseCases":[{"title":"Pre-flight check before agent payment","prompt":"Before my agent sends any USDC, probe https://api.someservice.com/generate to confirm it's a valid x402 endpoint, get the price per call, and verify which wallet address will receive the payment."},{"title":"Auditing a new API marketplace listing","prompt":"I found a new API on code402 claiming to be x402-compatible at https://gateway.newvendor.io/api/analyze — can you probe it and confirm it actually returns a proper 402 response with USDC payment details?"},{"title":"Comparing payment terms across APIs","prompt":"Probe both https://api.service-a.dev/search and https://api.service-b.dev/search for me so I can compare their per-call USDC prices and seller wallet addresses before deciding which one to route my agent through."}],"resultDescription":"Returns the x402 compliance status of the target endpoint, including whether it returns a valid HTTP 402 response, the accepted payment methods (USDC network and amount), the seller's non-custodial wallet address, and the price per call — giving an agent all the information needed to decide whether and how to pay.","failureModes":["Target endpoint does not respond with HTTP 402 — returns non-compliant status","Target URL is unreachable or times out — network error returned","Endpoint returns 402 but with malformed or missing payment details — partial compliance warning","Invalid or unsupported payment token specified — validation fails","Probe itself returns 402 because the $0.005 USDC probe fee was not paid — requires agent to have funded wallet"],"whenToPreferThis":"Use this endpoint when an AI agent needs to pre-validate an x402-gated API before committing funds — especially useful before first-time calls to unfamiliar endpoints, when auditing new marketplace listings, or when comparing payment terms across multiple code402 services. Prefer this over blind payment attempts when wallet conservation or compliance verification matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:34:48.901Z","isFirstParty":false}