Trading pair (e.g. BTC/USDT)
"BTC/USDT"
Market type: spot for spot trading, swap for perpetual contracts
spot, swap "spot"
Candle interval
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M "1h"
Start of time range. Accepts Unix seconds or date string (YYYY-MM-DD, ISO8601)
"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.
1 <= x <= 1000100
Exchange identifier
binance, okx, bybit, bitget, coinbase, kraken, gate, htx, kucoin, mexc, upbit, bitfinex, bitstamp, deribit, bitmex, bithumb "binance"