{"uid":"cap_g4WNmGF-Ygyl4yNJ3iYzX","slug":"crypto-spot-price-eth-usd-median-aggregated-1503a613","name":"Crypto Spot Price – ETH/USD (Median Aggregated)","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/crypto/price/eth-usd?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_hJcuxH-vPL3hr_HD9_QkI","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 median USD spot price for ETH (and other supported crypto symbols) aggregated from Coinbase, Kraken, Bybit, Binance, and CoinGecko, with 24h change, volume, and source dispersion metrics.","exampleAgentPrompt":"What's the current ETH price in USD right now? Pull it from multiple exchanges and give me the median with the 24h change and how many sources you used.","exampleUseCases":[{"title":"Real-time ETH price for trading bot","prompt":"Grab me the current ETH/USD spot price — I need the median across exchanges, the 24h percent change, and how many sources contributed so my trading bot can decide whether to rebalance."},{"title":"Multi-coin dashboard refresh","prompt":"Fetch live prices for BTC, ETH, and SOL in USD right now including 24h change for each — I'm updating my portfolio dashboard."},{"title":"Price dispersion alert check","prompt":"Get me the current ETH price and tell me the dispersion in basis points across exchanges — I want to know if there's unusual price divergence between Coinbase, Binance, and Kraken right now."}],"resultDescription":"A JSON object with per-symbol price data including median USD spot price, individual exchange prices (Binance, Coinbase, etc.), 24h change percent, n_sources (number of exchanges that responded), dispersion_bps (spread across sources in basis points), and an updated_at ISO timestamp. Also includes a sources array listing the exchange API URLs used.","failureModes":["If all exchange APIs are unreachable, the endpoint may return an error or empty prices object","If an unsupported symbol is requested, it may be silently omitted from the response","Payment failure (x402) returns a 402 status requiring USDC payment on Base before the response is served","High market volatility may cause source dispersion_bps to spike, indicating unreliable median","If fewer than the expected number of exchanges respond, n_sources will be low, reducing median reliability"],"whenToPreferThis":"Prefer this endpoint when you need a robust, manipulation-resistant spot price that is the median of multiple top exchanges rather than a single source. Ideal for onchain AI agents, trading bots, or DeFi applications that need trustworthy ETH/USD (or BTC, SOL, etc.) prices without managing API keys for each exchange separately. The x402 micropayment model makes it suitable for pay-per-call agent workflows on Base. Choose this over single-exchange feeds when cross-exchange dispersion visibility matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:53.091Z","isFirstParty":false,"canonicalSlug":"crypto-spot-price-eth-usd-median-aggregated-1503a613"}