{"uid":"cap_6_53IV1rtpSG0AgOPJVCe","slug":"defillama-multi-venue-crypto-price-feed-x402-513a2a96","name":"DeFiLlama Multi-Venue Crypto Price Feed (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/api/v1/defillama/prices?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_LRez7-SxbQf61b8JAy8_q","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 real-time USD prices for crypto tokens (BTC, ETH, SOL, etc.) sourced from multiple venues including Binance and Coinbase, with 24h change, via micropayment-gated API.","exampleAgentPrompt":"What are the current USD prices of BTC, ETH, and SOL across Binance and Coinbase, and how much have they moved in the last 24 hours?","exampleUseCases":[{"title":"Trading bot pre-trade price check","prompt":"Before I execute this trade, pull the latest prices for BTC and ETH from multiple venues and tell me if there's any significant spread between Binance and Coinbase right now."},{"title":"Portfolio snapshot for onchain agent","prompt":"Get me the current USD prices for BTC, ETH, and SOL so I can calculate the current value of my crypto holdings."},{"title":"24h price change alert screening","prompt":"Check the 24-hour price change percentage for BTC, ETH, and SOL — I want to know which ones have moved more than 2% today."}],"resultDescription":"A JSON object containing per-token price data including USD price, Binance USDT price, Coinbase USD price, and 24h percentage change, along with the data source URLs and an updated_at timestamp. Example: {prices: {BTC: {price_usd: 80867.7, binance_usdt: 80860, coinbase_usd: 80875.4, change_24h_pct: 1.2}}, sources: [...], updated_at: '2026-10-28T11:00:00Z'}.","failureModes":["Payment not received or x402 micropayment flow not completed — returns 402 Payment Required","Invalid or unsupported token symbol — may return empty or partial prices object","Network timeout fetching from upstream venues (Binance/Coinbase) — stale or missing data","Malformed symbols query parameter — may return default BTC,ETH,SOL instead of requested tokens"],"whenToPreferThis":"Use this endpoint when an AI trading or onchain agent needs real-time, multi-venue aggregated token prices without requiring API key setup — ideal for autonomous agents that can pay per call via x402 USDC micropayments on Base. Prefer this over single-exchange APIs when cross-venue price comparison or 24h change data is needed simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:34.369Z","isFirstParty":false,"canonicalSlug":"defillama-multi-venue-crypto-price-feed-x402-1013580b"}