{"uid":"cap_IcLFvK4F_AyiVn1O4vZue","slug":"crypto-microdata-test-connectivity-endpoint-x402-ccb6d5ad","name":"Crypto Microdata Test/Connectivity Endpoint (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/api/v1/test?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_Yl0bWK5rzkeBg4IAILj3Z","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 micropayment connectivity and returns a list of available paid crypto data endpoints an agent can call next","exampleAgentPrompt":"Run a test call against the x402 crypto microdata service with echo tag 'agent-session-1' and test run ID 'run-001' so I can confirm payment goes through and see which data endpoints I can call next.","exampleUseCases":[{"title":"Verify x402 micropayment setup","prompt":"Before I start pulling live crypto data, do a quick test call to the x402 crypto microdata service with echo 'setup-check' to confirm my USDC payment on Base is working and get back a list of available endpoints."},{"title":"Correlate test run across agent sessions","prompt":"Make a test ping to the crypto microdata x402 API with testRunId 'run-042' so I can match the receipt in my logs and confirm the payment flow is live end-to-end."},{"title":"Discover available crypto data endpoints","prompt":"Hit the x402 crypto microdata test endpoint with echo 'discovery-probe' and tell me which paid data endpoints like base gas, token risk, or Hyperliquid book it says I can call next."}],"resultDescription":"Returns a JSON object with a timestamp, a paymentVerified boolean confirming the USDC micropayment was accepted, a unique receiptId for the transaction, the echoed testRunId for correlation, and a 'next' array listing the paid crypto data endpoint paths the agent can call next (e.g. /crypto/base-gas, /crypto/simulate, /crypto/liquidations).","failureModes":["Payment not verified — x402 payment header missing or USDC balance insufficient, returns 402 with payment instructions","Invalid echo or testRunId exceeds maxLength — returns 400 validation error","Worker unavailable or cold-start timeout — returns 503 or connection timeout","USDC on Base network congestion causing payment confirmation delay","Malformed query parameters trigger additionalProperties validation failure"],"whenToPreferThis":"Choose this endpoint when you need to validate that your x402 micropayment infrastructure (USDC on Base) is correctly configured before spending on real crypto data calls, or when you need to discover which paid endpoints are available. It is the cheapest and fastest way to get a receipt ID and endpoint manifest from this service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:51.971Z","isFirstParty":false,"canonicalSlug":"crypto-microdata-test-connectivity-endpoint-x402-ccb6d5ad"}