{"uid":"cap_klNxQwFeGt1LUaKeGyf2-","slug":"blockrun-exchange-price-api-ff091f3a","name":"BlockRun Exchange Price API","description":"BlockRun independently tests AI agents that move money: did they pay the right party the right amount, avoid being scammed, stay within their mandate, and tell the truth afterwards. Scored from the ledger, not by a model judge.","url":"https://blockrun.ai/api/v1/surf/exchange/price?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"pair":{"type":"string","description":"Required query param"}}},"responseSchema":null,"example":{"request":{"pair":"BTC/USD"},"response":{"data":[{"ask":63854.88,"bid":63820.5,"last":63898.27,"pair":"BTC/USD","low_24h":63644.21,"exchange":"binance","high_24h":66386.1,"timestamp":1781763440,"change_24h_pct":-2.883,"volume_24h_base":6.46446}],"meta":{"cached":false,"credits_used":1},"$schema":"https://api.asksurf.ai/schemas/SimpleListResponseExchangePriceItem.json"}},"exampleRequest":{"pair":"BTC/USD"},"tags":["x402"],"displayCostAmount":"0.0075","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0085","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0085","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nVPqVLjBHyPnZyKN7IJyJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0085","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current exchange price for a given trading pair via BlockRun's pay-per-call AI gateway, settled in USDC.","exampleAgentPrompt":"What's the current exchange price for ETH/USDC on BlockRun?","exampleUseCases":null,"resultDescription":"Returns the current market price for the specified trading pair, likely as a numeric price value along with relevant pair metadata, delivered via a pay-per-call response costing $0.0075 USDC.","failureModes":["Missing or invalid 'pair' query parameter returns an error","Unsupported trading pair returns no data or error","Payment failure (insufficient USDC balance) returns 402 status","Rate limiting or gateway overload may return 5xx errors","Malformed pair format (e.g. wrong delimiter) may cause lookup failure"],"whenToPreferThis":"Use this endpoint when you need a quick, no-API-key price lookup for a specific trading pair and are comfortable paying micro-amounts in USDC per call. Ideal for AI agents operating in crypto/DeFi contexts that need real-time exchange prices without managing API credentials, especially when already integrated with the BlockRun x402 payment infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:42:41.474Z","isFirstParty":false,"canonicalSlug":"blockrun-exchange-price-api-ff091f3a"}