{"uid":"cap_YvaU4E4DAY-otxjFRiLdl","slug":"crypto-microdata-for-agents-ping-health-check-x402-f6e3e67e","name":"Crypto Microdata for Agents – Ping/Health Check (x402)","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/v1/ping?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","properties":{"echo":{"type":"string","examples":["my-agent-1"],"maxLength":64,"description":"Optional string echoed back (correlate your test call)"},"testRunId":{"type":"string","examples":["run-001"],"maxLength":100,"description":"Optional caller-supplied correlation ID for a bounded validation run (echoed back)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"t":"2026-10-28T14:00:00Z","ok":true,"next":["/crypto/simulate","/crypto/ens","/crypto/liquidations?coin=BTC","/crypto/base-gas"],"receiptId":"rcpt_0b9f6c1e2a7d4c55","testRunId":"run-001","nextAction":"call_paid_data","paymentVerified":true}},"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_Jw1mgdaGd7garEoLjlvjw","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":"Validates x402 payment connectivity and returns a server heartbeat with navigation hints to available paid crypto-data endpoints, paid via USDC on Base.","exampleAgentPrompt":"Run a quick ping against the x402 crypto microdata service — tag it with test run ID 'run-001' and echo label 'my-agent-1' — so I can confirm my USDC payment channel on Base is wired up and see which paid data endpoints I can call next.","exampleUseCases":[{"title":"Agent bootstrap connectivity check","prompt":"Before my trading bot makes any paid calls, ping the x402 crypto microdata service with echo tag 'trading-bot-v2' to confirm the payment channel is live and show me which endpoints I can call next."},{"title":"Integration test for x402 payment flow","prompt":"I'm testing my agent's x402 USDC payment integration — send a ping with testRunId 'integration-test-42' so I can verify the payment is verified and the receipt ID comes back correctly."},{"title":"Discover available crypto data routes","prompt":"Hit the x402 crypto microdata ping endpoint and tell me what data routes it suggests I call next — I want to know if Base gas, token risk, and Hyperliquid book endpoints are all listed."}],"resultDescription":"Returns a JSON object containing: server UTC timestamp (`t`), `ok: true` confirming liveness, an array of `next` suggested paid endpoint paths (e.g. /crypto/base-gas, /crypto/simulate), a `receiptId` confirming the x402 USDC micropayment was processed, echoed `testRunId` for call correlation, and `paymentVerified: true` confirming the Base USDC payment succeeded.","failureModes":["Payment not received or insufficient USDC balance — returns HTTP 402 with payment-required details","Invalid or malformed x402 payment header — server rejects with 400 or 402","echo or testRunId exceeds maxLength (64 and 100 chars respectively) — likely ignored or truncated","Worker cold-start latency spike on Cloudflare edge — response may be slower than typical","Network timeout if Base blockchain payment verification stalls"],"whenToPreferThis":"Use this endpoint as the first call when bootstrapping a new trading or onchain AI agent to confirm x402 USDC payment plumbing works end-to-end before committing to paid data calls. Prefer it over calling paid data endpoints directly when you want a cheap ($0.001) connectivity test, want to discover available routes dynamically, or need to correlate a test run with a custom ID. Not suitable for retrieving actual market data — use sibling endpoints for Base gas, token risk, Hyperliquid book, or kimchi premium data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:22.211Z","isFirstParty":false,"canonicalSlug":"crypto-microdata-for-agents-ping-health-check-x402-f6e3e67e"}