Exchange OHLCV Candlesticks
Exchange
OHLCV Candlesticks
GET
Exchange OHLCV Candlesticks
Documentation Index
Fetch the complete documentation index at: https://docs.asksurf.ai/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Trading pair (e.g. BTC/USDT)
Example:
"BTC/USDT"
Market type: spot for spot trading, swap for perpetual contracts
Available options:
spot, swap Example:
"spot"
Candle interval
Available options:
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M Example:
"1h"
Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD, ISO8601)
Example:
"2026-03-01"
Max number of candles to return. Exchange may cap lower (e.g. 200-1000). For longer ranges, paginate using the last returned timestamp as the next from value.
Required range:
1 <= x <= 1000Example:
100
Exchange identifier
Available options:
binance, okx, bybit, bitget, coinbase, kraken, gate, htx, kucoin, mexc, upbit, bitfinex, bitstamp, deribit, bitmex, bithumb Example:
"binance"