{"uid":"cap_b3dWqgHd9dxvq3vvAP8To","slug":"api402x-echo-connectivity-test-endpoint-eac39383","name":"api402x Echo – Connectivity Test Endpoint","description":"Onchain- and crypto-market data for trading AI agents. Payment via x402 (USDC, exact scheme).","url":"https://api402x.com/echo?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"ts":"2026-08-05T12:00:00.000Z"}},"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_h8CmbdfjCFiN8wd1bmbXy","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":"Returns a simple liveness ping (ok: true + timestamp) to verify the api402x service is reachable and the x402 payment flow is working correctly.","exampleAgentPrompt":"Ping the api402x echo endpoint to confirm the service is up and my x402 USDC payment is processing correctly — just return whether it responded with ok and what timestamp it reported.","exampleUseCases":[{"title":"Pre-flight check before trading data calls","prompt":"Before my agent starts pulling onchain market data, ping api402x to confirm it's live and that my x402 payment credentials are working — I don't want expensive calls failing mid-run."},{"title":"Verifying x402 USDC payment integration","prompt":"I just set up my x402 USDC wallet for api402x — can you hit their echo endpoint so I can confirm the payment flow is actually going through before I wire anything real?"},{"title":"Monitoring api402x uptime from my agent","prompt":"Every 5 minutes, ping the api402x echo endpoint and alert me if it stops returning ok:true — I need to know immediately if the service goes down during trading hours."}],"resultDescription":"Returns a JSON object with an 'ok' boolean (true when the service is healthy) and a 'ts' ISO 8601 timestamp reflecting the server's current time. A successful response confirms both network reachability and that the x402 USDC micropayment ($0.01) was accepted.","failureModes":["Payment rejected: x402 payment header missing or USDC balance insufficient — returns 402 Payment Required","Service unavailable: api402x server down — returns 5xx or connection timeout","Invalid request: malformed properties parameter — may return 400 Bad Request","Network unreachable: DNS or routing failure before payment even attempted"],"whenToPreferThis":"Use this endpoint specifically when you need to verify that the api402x x402 payment pipeline is functioning end-to-end before committing to higher-value data calls. It is the lowest-cost ($0.01 USDC) way to confirm your agent's USDC wallet, payment header generation, and network path to api402x are all working. Not suitable for retrieving actual market or onchain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:35:59.458Z","isFirstParty":false,"canonicalSlug":"api402x-echo-connectivity-test-endpoint-eac39383"}