{"uid":"cap_Jqt9RIEHwFZ7nnLSYJupd","slug":"crypto-spot-price-aggregator-multi-exchange-median-0b7110aa","name":"Crypto Spot Price Aggregator (Multi-Exchange Median)","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/coingecko/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_F-v7t3Jsq-OUf1DYMWLPz","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 median USD spot prices for top cryptocurrencies aggregated from up to 5 exchanges, with data quality signals including source count, dispersion, 24h change, and volume.","exampleAgentPrompt":"Can you get me the current median USD spot prices for BTC, ETH, and SOL, and let me know how many exchanges are agreeing on the price and what the 24h change looks like?","exampleUseCases":[{"title":"Trading bot pre-trade price check","prompt":"Before I place this trade, can you pull the current median USD prices for BTC and ETH from multiple exchanges and tell me how spread out the prices are across sources?"},{"title":"Portfolio valuation snapshot","prompt":"I need the current USD prices for BTC, ETH, SOL, ADA, and AVAX so I can calculate what my crypto portfolio is worth right now — include 24h change too."},{"title":"Arbitrage signal monitoring","prompt":"Check the current prices for BNB, XRP, and DOGE and tell me the dispersion in basis points across exchanges — I'm looking for unusual spreads that might indicate an arbitrage opportunity."}],"resultDescription":"A JSON object containing per-symbol data including the median USD price across responding exchanges, the number of sources (n_sources) that contributed, price dispersion in basis points (dispersion_bps), 24-hour price change, and 24-hour trading volume. Covers BTC, ETH, SOL by default; BNB, XRP, DOGE, ADA, AVAX, LINK, SUI also available.","failureModes":["Invalid or unsupported symbol returns an error or omits that symbol from results","All upstream exchanges unresponsive results in no price data for affected symbols","Network timeout from Cloudflare Worker causing 5xx response","Requesting an unsupported symbol not in the documented list returns empty or error"],"whenToPreferThis":"Choose this endpoint when you need a robust, manipulation-resistant spot price that aggregates across multiple major exchanges rather than trusting a single source. The dispersion_bps and n_sources fields are particularly valuable for trading agents that need to assess price reliability before executing. Prefer this over single-exchange price feeds when data quality signals matter, or when you need prices for the specific set of top-10 tokens it covers (BTC, ETH, SOL, BNB, XRP, DOGE, ADA, AVAX, LINK, SUI).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:30:25.786Z","isFirstParty":false,"canonicalSlug":"crypto-spot-price-aggregator-multi-exchange-median-0b7110aa"}