{"uid":"cap_0fDs5i7fFrPYSx5LWG_ZU","slug":"crypto-microdata-for-agents-btc-usd-live-spot-price-5cb36a46","name":"Crypto Microdata for Agents – BTC/USD Live Spot Price","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/btc-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_uGfpEc4lpEEb1GjB8sjyF","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 aggregated live USD spot prices for cryptocurrencies (BTC, ETH, SOL, and more) by taking the median across up to five exchanges, with 24h change and source dispersion metadata.","exampleAgentPrompt":"What are the current live spot prices for BTC, ETH, and SOL in USD right now — aggregated from multiple exchanges with the 24-hour change?","exampleUseCases":[{"title":"Trading bot price check","prompt":"Pull the current median spot price of BTC and ETH in USD from multiple exchanges, including the 24h change and how many sources responded."},{"title":"Onchain agent portfolio valuation","prompt":"I need live USD prices for BTC, ETH, SOL, and BNB to calculate the current value of my crypto portfolio — can you fetch the latest aggregated spot prices?"},{"title":"Crypto market alert monitoring","prompt":"What's the current price of DOGE and XRP in USD and how much have they moved in the last 24 hours? I want to know if there's a big swing."}],"resultDescription":"A JSON object with a 'prices' map keyed by symbol, each containing the median USD price, per-exchange prices, 24h percent change, and possibly volume. Also includes a list of source exchange URLs used and an 'updated_at' ISO timestamp. Dispersion in basis points and n_sources indicate data reliability.","failureModes":["If fewer than the expected exchanges respond, n_sources will be lower and the median may be based on a limited sample","Stale prices if all upstream exchanges are temporarily unreachable — check updated_at","Requested symbol not supported returns an error or empty entry (supported: BTC, ETH, SOL, BNB, XRP, DOGE, ADA, AVAX, LINK, SUI)","Payment failure (x402) if USDC balance on Base is insufficient — returns 402 status","High dispersion_bps may indicate exchange pricing anomalies or latency issues"],"whenToPreferThis":"Choose this endpoint when you need a robust, multi-source median spot price for major cryptocurrencies in USD with reliability metadata (n_sources, dispersion_bps). It is particularly well-suited for trading agents, onchain bots, or portfolio apps that need tamper-resistant price data not sourced from a single exchange. Pay-per-call at $0.003 USDC via x402 makes it cost-effective for low-frequency lookups without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:28.359Z","isFirstParty":false,"canonicalSlug":"crypto-microdata-for-agents-btc-usd-live-spot-price-5cb36a46"}