{"uid":"cap_zSt5ehWT-NA9J9RIu0_1z","slug":"x402-ping-718727c1","name":"x402 Ping","description":"The smallest real x402 paid call: costs $0.001 in USDC and returns ok with the server time and payment network. Useful for checking that an x402 client can sign and settle a payment end to end.","url":"https://onchaincheck.dev/x402/ping?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"price":"$0.001","network":"eip155:84532","serverTime":"2026-10-22T15:49:53.808Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nchgeurO1otv3icYTukcM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Minimal end-to-end x402 payment health check: pays $0.001 USDC and returns server time and payment network, confirming the full sign-and-settle flow works.","exampleAgentPrompt":"Send a live x402 ping to onchaincheck.dev — pay the $0.001 USDC and confirm that my client can sign and settle a payment all the way through, then show me the server time and network it responded on.","exampleUseCases":[{"title":"Smoke test before deploying agent","prompt":"Before I deploy my x402-powered agent to production, can you send a real x402 ping to onchaincheck.dev, pay the $0.001 USDC, and confirm the full sign-and-settle flow completes successfully?"},{"title":"Debug a broken x402 wallet integration","prompt":"My x402 client seems broken — can you try the cheapest possible live x402 call to onchaincheck.dev and tell me whether the payment goes through, what network it settled on, and what server time came back?"},{"title":"Verify x402 network connectivity in CI","prompt":"Run the x402 ping endpoint as a connectivity check — I need to confirm our client can authorize and pay a $0.001 USDC micropayment and get back an ok response with the current network ID."}],"resultDescription":"A JSON object with: ok (boolean true on success), paid (boolean true confirming payment settled), price (string, '$0.001'), network (EIP-155 chain identifier string, e.g. 'eip155:84532'), and serverTime (ISO 8601 UTC timestamp of when the server processed the request).","failureModes":["Insufficient USDC balance — payment cannot be settled, returns 402 with payment required details","Invalid or malformed x402 payment header — server rejects the signed payment","Network mismatch — client signed for wrong chain ID, payment rejected","Wallet not authorized or private key misconfigured — signing fails before request is sent","Server temporarily unavailable — connection timeout or 5xx response"],"whenToPreferThis":"Use this endpoint when you need to verify that an x402 payment client (wallet, signing library, or agent payment middleware) can successfully complete the full sign-authorize-settle cycle end-to-end. It is the cheapest possible live x402 call ($0.001 USDC) and is purpose-built as a health check, making it ideal for smoke tests, CI pipelines, integration debugging, and onboarding validation before sending larger or more complex paid API requests.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:44:53.420Z","isFirstParty":false,"canonicalSlug":"x402-ping-718727c1"}