Klines (OHLCV)
Perps Market Data
Klines (OHLCV)
Candlestick data. interval = 1m,5m,15m,30m,1h,4h,6h,12h,1d,1w. start is optional (defaults to a sane window).
GET
Klines (OHLCV)
Candles are
[open_time, open, high, low, close, volume, trade_count], oldest first, wrapped as {"instrument_id", "symbol", "data", "more"}.
Query parameters
1m and 1h candles stream live on
perps_klines:<instrument>:<interval> — the current candle is pushed whenever it changes, and a candle is final once one with a later open_time arrives.Authorizations
Path Parameters
Instrument id (e.g. 6), symbol (BTC-USD), or bare asset (btc).
Query Parameters
Candle interval (default 1h).
Window start, Unix ms (optional).
Window end, Unix ms.
Max rows to return.
Response
200 - application/json
Success

