{"uid":"cap_IYdz66Q32NdSSTwxPgHJ9","slug":"crypto-price-history-ohlc-54f29989","name":"Crypto Price History (OHLC)","description":"Crypto price history as OHLC candles from on-chain perp DEXs: open/high/low/close, base volume and trade count per interval (1m, 5m, 15m, 1h, 4h, 1d) for a coin (BTC, ETH, SOL, and more). Returns up to 500 candles, oldest first. Data source: Hyperliquid (dYdX fallback).","url":"https://crypto.openverbs.com/v1/ohlc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"coin":{"type":"string","maxLength":20,"minLength":1,"description":"Coin symbol, e.g. \"BTC\", \"ETH\", \"SOL\"."},"limit":{"type":"integer","maximum":500,"minimum":1,"description":"How many candles to return, most recent (default 24, max 500)."},"interval":{"enum":["1m","5m","15m","1h","4h","1d"],"type":"string","description":"Candle interval (default \"1h\")."}}},"responseSchema":null,"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__BBP-RfgkWopOv5T_jrgs","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 historical OHLC (open/high/low/close) candlestick data for a given cryptocurrency over a specified interval and number of candles","exampleAgentPrompt":"Can you pull the last 48 hourly OHLC candles for ETH so I can see how the price has been moving?","exampleUseCases":[{"title":"Crypto trading strategy backtesting","prompt":"Fetch 500 daily candles for BTC so I can backtest my moving average crossover strategy on its price history."},{"title":"Short-term volatility analysis","prompt":"Get me the last 100 15-minute OHLC candles for SOL — I want to see how volatile it's been this morning."},{"title":"Portfolio price monitoring dashboard","prompt":"Pull the most recent 24 hourly candles for ETH so I can update my portfolio dashboard with the latest price trend."}],"resultDescription":"Returns a series of OHLC candlestick records for the requested cryptocurrency, each containing open, high, low, and close prices along with a timestamp, ordered from oldest to most recent, up to the requested limit of candles.","failureModes":["Unknown coin symbol returns an error or empty result","Limit exceeding 500 is rejected","Invalid interval value outside the allowed enum is rejected","Network timeout for large candle requests","Missing required coin parameter causes a validation error"],"whenToPreferThis":"Choose this endpoint when you need structured historical candlestick (OHLC) price data for a specific cryptocurrency at a defined time interval. It is ideal for charting, backtesting trading strategies, or analyzing price momentum. Prefer it over spot-price endpoints when you need time-series granularity rather than a single current price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:41:41.127Z","isFirstParty":false,"canonicalSlug":"crypto-price-history-ohlc-54f29989"}