{"uid":"cap_GlPYfDbE0BN9IO4Ij5aUp","slug":"santyvv-data-ohlcv-klines-a6691ee0","name":"santyvv-data OHLCV Klines","description":"OHLCV candles from a spot exchange","url":"https://santyvv-x402.santyvv1993.workers.dev/api/crypto/klines?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":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_v8a15DjaheB0fQlOwzgqF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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 cryptocurrency trading pair from a spot exchange","exampleAgentPrompt":"Pull the last 100 hourly OHLCV candles for BTC/USDT from Binance so I can run a technical analysis on recent price action.","exampleUseCases":[{"title":"Crypto trading bot backtesting","prompt":"Get me the daily OHLCV candles for ETH/USDT for the past 90 days from the spot exchange so I can backtest my moving average strategy."},{"title":"Real-time candlestick chart data","prompt":"Fetch the last 50 one-minute klines for SOL/USDT so I can render a live candlestick chart in my dashboard."},{"title":"Volatility analysis for risk management","prompt":"Give me the 4-hour OHLCV candles for BTC/USDT from Binance for the past month — I need to calculate historical volatility and set my stop-loss levels."}],"resultDescription":"An array of OHLCV candlestick records, each containing a timestamp and open, high, low, close price values along with trading volume for the specified interval and trading pair on a spot exchange.","failureModes":["Invalid or unsupported trading pair symbol returns an error or empty array","Unsupported time interval causes a 400-level error","Exchange not found or unavailable returns an error","Rate limiting or payment failure returns 402 or 429","Requesting a date range beyond available history returns partial or empty results"],"whenToPreferThis":"Choose this endpoint when you need OHLCV candlestick data from a spot exchange for charting, technical analysis, or backtesting, especially when you want structured bar data (open/high/low/close/volume) rather than just a single spot price or ticker snapshot. Prefer it over order-book or consensus-price endpoints when historical interval-based data is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:49:17.725Z","isFirstParty":false,"canonicalSlug":"santyvv-data-ohlcv-klines-a6691ee0"}