{"uid":"cap_8npIxXsWO7x6-Bt2YQQpC","slug":"multi-venue-crypto-price-oracle-x402-b9defe97","name":"Multi-Venue Crypto Price Oracle (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/price?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_cdD18GqYcISFmH4Lz5lDn","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":"Returns live multi-venue USD prices for crypto symbols (BTC, ETH, SOL, etc.) aggregated from Binance and Coinbase, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"What are the current prices of BTC, ETH, and SOL right now — show me the Binance and Coinbase prices side by side and any 24-hour change?","exampleUseCases":[{"title":"Arbitrage spread monitoring between exchanges","prompt":"Give me the live Binance and Coinbase prices for BTC and ETH right now — I want to see if there's any spread I can act on between the two venues."},{"title":"Portfolio valuation snapshot for trading bot","prompt":"Fetch the current USD prices for BTC, ETH, and SOL so I can mark-to-market my portfolio positions right now."},{"title":"Price change alert for daily briefing","prompt":"What's the 24-hour percentage change for BTC and ETH today? Pull the latest multi-venue prices and tell me which direction they've moved."}],"resultDescription":"Returns a JSON object with per-symbol pricing data including aggregated USD price, individual Binance USDT and Coinbase USD prices, and 24-hour percentage change. Also includes the list of source URLs used and an ISO 8601 timestamp of when prices were last updated.","failureModes":["Payment not received or x402 handshake fails — returns 402 Payment Required with payment instructions","Invalid or unsupported symbol in the symbols query param — may return empty or error for that symbol","Upstream exchange API (Binance/Coinbase) unavailable — may return stale or partial data","Malformed symbols parameter (e.g. spaces instead of commas) — may return 400 or empty results","Network timeout to Cloudflare Worker — may return 503 or empty response"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-venue aggregated crypto prices (Binance + Coinbase) in a single call with no API key required, paying only $0.003 USDC per call via x402. Ideal for AI trading agents, portfolio bots, or price-alert systems that need cross-venue price comparison and 24h change data in one lightweight request. Prefer over single-venue price feeds when cross-exchange spread or consensus pricing matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:47.109Z","isFirstParty":false,"canonicalSlug":"multi-venue-crypto-price-oracle-x402-b9defe97"}