{"uid":"cap_8ctnRZmpfI_NJn4d51EIz","slug":"crypto-last-trade-price-multi-venue-x402-8579b24c","name":"Crypto Last Trade Price – Multi-Venue (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/v2/last/trade?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__F4seziDZ3r8fTZTCs6za","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 the latest trade prices for specified crypto tokens across multiple venues (Binance, Coinbase) with 24h change, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"What are the latest trade prices for BTC, ETH, and SOL right now — including how each has moved in the last 24 hours and what they're showing on Binance versus Coinbase?","exampleUseCases":[{"title":"Pre-trade price check for DeFi bot","prompt":"Before my agent executes a swap, pull the last trade prices for ETH and SOL from Binance and Coinbase so I can see if there's a meaningful spread between the two venues."},{"title":"24h crypto performance summary","prompt":"Give me a quick summary of how BTC, ETH, and SOL have performed over the last 24 hours — I want to see the current price and the percentage change for each."},{"title":"Arbitrage opportunity scan","prompt":"Check the latest BTC and ETH prices on Binance versus Coinbase right now and tell me if there's a price difference worth acting on."}],"resultDescription":"A JSON object keyed by symbol, each containing last trade price in USD, venue-specific prices (Binance USDT, Coinbase USD), 24h percentage change, list of data sources, and a UTC timestamp of last update.","failureModes":["Payment not completed via x402 → 402 Payment Required response","Invalid or unsupported symbol in 'symbols' query param → empty or partial results","Upstream exchange API unavailable → stale or missing data for that venue","Malformed query string → 400 Bad Request","Service worker cold start → slightly elevated latency on first call"],"whenToPreferThis":"Choose this endpoint when your agent needs no-API-key, pay-per-call access to aggregated last-trade crypto prices across Binance and Coinbase simultaneously, especially when building onchain or trading agents that already handle x402 micropayments on Base and want minimal setup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:25.856Z","isFirstParty":false,"canonicalSlug":"crypto-last-trade-price-multi-venue-x402-8579b24c"}