v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Get Klines

Get klines for an instrument. If no end time is provided, the current time will be used. Maximum of 1000 entries returned per request.

get/v1/info/klines

Query parameters

instrument_idinteger required

Instrument ID

interval'1s' | '1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '6h' | '12h' | '1d' | '1w' required

Kline interval

start_timestampinteger required

Start timestamp in milliseconds

Example:1767225600000
end_timestampinteger

End timestamp in milliseconds

Example:1767229200000

Response

Klines response.

moreboolean required

More data available

Example response

{
  "data": [
    [
      1767225600000,
      "100.00",
      "105.00",
      "99.00",
      "102.00",
      "500.00",
      42
    ]
  ]
}