{"uid":"cap_oiJ6hbm_FjLCKt8AAL1ew","slug":"blockrun-ai-cex-pair-ohlcv-candlesticks-9384505d","name":"BlockRun.AI CEX Pair OHLCV Candlesticks","description":"Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.","url":"https://blockrun.ai/api/v1/surf/exchange/klines","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"pair":{"type":"string","description":"Required query param"}}},"responseSchema":null,"example":null,"exampleRequest":null,"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_BYzTHJoBagkyb5btvIfi8","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 OHLCV (Open, High, Low, Close, Volume) candlestick data for a specified centralized exchange trading pair.","exampleAgentPrompt":"Can you pull the OHLCV candlestick data for BTC/USDT on a centralized exchange so I can analyze recent price action?","exampleUseCases":null,"resultDescription":"Returns OHLCV candlestick data for the specified CEX trading pair, including open, high, low, close prices and volume across time intervals, suitable for charting and technical analysis.","failureModes":["Invalid or unsupported trading pair symbol returns an error","Missing required 'pair' query parameter returns a 400 error","Exchange not supported or unavailable returns an error","Rate limiting or quota exceeded returns a 429 error","Payment not processed or x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need standardized OHLCV candlestick data for a centralized exchange (CEX) trading pair, particularly for technical analysis, charting, or price history lookups. Prefer this over on-chain DEX data sources when the pair is primarily traded on centralized exchanges.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:48:42.307Z","isFirstParty":false}