{"uid":"cap_2yyfodGcENiF3uWV99JYw","slug":"crypto-microdata-for-agents-x402-multi-venue-spot-prices-eb420b62","name":"Crypto Microdata for Agents (x402) — Multi-Venue Spot Prices","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/last/crypto?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":{"symbols":{"type":"string","examples":["BTC,ETH,SOL","BTC"],"description":"Comma-separated symbols (default BTC,ETH,SOL)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"prices":{"BTC":{"price_usd":80867.7,"binance_usdt":80860,"coinbase_usd":80875.4,"change_24h_pct":1.2}},"sources":["https://api.binance.com","https://api.coinbase.com"],"updated_at":"2026-10-28T11:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RFsk_CGgAPAafAXpPN6rg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches multi-venue USD spot prices (Binance, Coinbase, etc.) with 24h change for specified crypto symbols, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Can you grab the current spot prices for BTC, ETH, and SOL across Binance and Coinbase, including the 24-hour change for each?","exampleUseCases":[{"title":"Trading bot pre-trade price check","prompt":"Before I place this trade, pull the latest multi-venue prices for BTC and ETH so I can see if there's any spread between Binance and Coinbase right now."},{"title":"Portfolio rebalancing price snapshot","prompt":"I need current USD prices for BTC, ETH, and SOL from multiple exchanges plus their 24-hour percent change — grab that for me so I can decide whether to rebalance."},{"title":"Onchain agent market awareness update","prompt":"Give me a quick multi-exchange price snapshot for BTC right now including the 24h change, I need it for my onchain agent's next decision cycle."}],"resultDescription":"Returns a JSON object with per-symbol pricing data including median/per-venue USD prices (e.g. binance_usdt, coinbase_usd), 24h percentage change, list of data sources queried, and an updated_at timestamp.","failureModes":["Payment failure: x402 USDC payment on Base not confirmed, returns 402 with payment details","Invalid symbol: unrecognized ticker returns empty or partial prices object","Upstream exchange unavailable: missing venue data for one or more exchanges, partial results returned","Network timeout: Cloudflare Worker upstream fetch times out, may return 503 or partial data"],"whenToPreferThis":"Prefer this endpoint when an AI agent needs real-time multi-venue crypto price data without managing API keys, wants venue-level price granularity (not just a single source), and is already set up to pay via x402 USDC micropayments on Base. Ideal for trading agents that need fresh price data on-demand at low per-call cost rather than subscribing to a data feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:26.499Z","isFirstParty":false,"canonicalSlug":"crypto-microdata-for-agents-x402-multi-venue-spot-prices-eb420b62"}