{"uid":"cap_WcP-nA_-bYm04Wme_u3gP","slug":"47620-crypto-ohlcv-candle-history-api-cd2cfbcc","name":"47620 Crypto OHLCV Candle History API","description":"OHLCV candle history for a coin. Query: interval (1m,5m,15m,1h,4h,1d) and limit (<=500). Returns [openTime, open, high, low, close, volume] rows — the raw input a trading agent needs.","url":"https://47620.xyz/x/crypto/ohlcv/SOL?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"},"pathParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"OHLCV candle history for a coin. Query: interval (1m,5m,15m,1h,4h,1d) and limit (<=500). Returns [openTime, open, high, low, close, volume] rows — the raw input a trading agent needs."}},"additionalProperties":false},"queryParams":{"type":"object","properties":{"fields":{"type":"string","description":"Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["ok","endpoint"],"properties":{"ok":{"type":"boolean"},"endpoint":{"type":"string"}},"additionalProperties":true}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UNN-cGA__OfW2OhWNcRwe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OHLCV (open, high, low, close, volume) candlestick history for a cryptocurrency symbol at a specified interval and row limit.","exampleAgentPrompt":"Can you pull the last 200 one-hour OHLCV candles for SOL so I can run a moving average calculation?","exampleUseCases":[{"title":"Algorithmic trading signal generation","prompt":"Fetch the last 500 five-minute OHLCV candles for SOL — I need open, high, low, close, and volume to compute RSI and decide whether to enter a position."},{"title":"Daily backtesting data pipeline","prompt":"Get me 500 daily candles for SOL so I can backtest a simple moving average crossover strategy over roughly the past year and a half."},{"title":"Real-time chart rendering","prompt":"Pull the last 100 fifteen-minute candles for SOL — I want to render a live candlestick chart in my dashboard and update it every few minutes."}],"resultDescription":"An array of OHLCV rows, each containing [openTime, open, high, low, close, volume] for the requested coin and interval. Up to 500 rows are returned per request, ordered chronologically, giving the agent the raw price-and-volume data needed for technical analysis, backtesting, or chart rendering.","failureModes":["Invalid or unsupported coin symbol returns an error or empty dataset","Interval value outside allowed enum (1m,5m,15m,1h,4h,1d) returns a validation error","Limit exceeding 500 may be capped or rejected","Payment failure (x402) if the $0.005 USDC per-call fee is not satisfied","Network timeout for high-limit requests under load","No candle history available for very new or illiquid coins"],"whenToPreferThis":"Choose this endpoint when an AI trading agent needs raw OHLCV candlestick arrays for a specific cryptocurrency (especially SOL) and requires a specific candle interval such as 1m, 5m, 15m, 1h, 4h, or 1d. It is best suited for agents performing technical analysis, backtesting, or building real-time charts and is priced per-call at $0.005 USDC via x402. Prefer alternatives if you need order book depth, tick-by-tick trade data, or cross-exchange aggregation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:21:15.622Z","isFirstParty":false,"canonicalSlug":"47620-crypto-ohlcv-candle-history-api-cd2cfbcc"}