{"uid":"cap_nwrQKzalFgydukV75F5xz","slug":"crypto-reference-price-multi-venue-8dbbf825","name":"Crypto Reference Price (Multi-Venue)","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/v1/perpetuals/reference-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_QIOvsXcfoj6siwxBTwK1Q","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 reference prices for crypto tokens across multiple exchanges (Binance, Coinbase) with 24h change, per symbol.","exampleAgentPrompt":"What are the current reference prices for BTC, ETH, and SOL across Binance and Coinbase, including the 24h percentage change for each?","exampleUseCases":[{"title":"Trading bot price anchor","prompt":"Get me the latest multi-venue reference prices for BTC and ETH — I need the Binance and Coinbase figures and the 24h change so my trading bot can decide whether to open a position."},{"title":"Portfolio value snapshot","prompt":"Fetch current reference prices for BTC, ETH, and SOL so I can calculate the USD value of my holdings right now."},{"title":"Cross-exchange price discrepancy check","prompt":"Pull the Binance and Coinbase prices for BTC and ETH so I can see if there's a meaningful spread between the two venues worth arbitraging."}],"resultDescription":"Returns a JSON object with per-symbol price data including a USD reference price, Binance USDT price, Coinbase USD price, and 24h percentage change. Also includes the list of source exchange URLs and an updated_at timestamp indicating data freshness.","failureModes":["Invalid or unsupported symbol returns empty or error response","Payment not completed via x402 results in 402 Payment Required response","Network timeout from upstream exchange APIs may yield stale or missing data","Malformed symbols query parameter may return error or partial results"],"whenToPreferThis":"Choose this endpoint when you need a quick, multi-venue aggregated reference price for major crypto tokens (BTC, ETH, SOL) without managing API keys or exchange credentials. It is ideal for AI agents that need a consensus price across Binance and Coinbase with 24h change context, and suits pay-per-call usage patterns via x402 micropayments rather than monthly subscription APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:00.300Z","isFirstParty":false,"canonicalSlug":"crypto-reference-price-multi-venue-8dbbf825"}