Skip to main content
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

x-api-key
string
header
required

Path Parameters

instrument
string
required

Instrument id (e.g. 6), symbol (BTC-USD), or bare asset (btc).

Query Parameters

interval
string

Candle interval (default 1h).

start
integer

Window start, Unix ms (optional).

end
integer

Window end, Unix ms.

limit
integer

Max rows to return.

Response

200 - application/json

Success