Get candle data
This endpoint allows users to get historical price candles for a specific market and time interval.
/api/v1/klineQuery Parameters
Field
Type
Need
Description
Example
/api/v1/kline?symbol=BTC&interval=1m&start_time=1742243160000&end_time=1742243220000Response
{
"success": true,
"data": [
{
"t": 1748954160000,
"T": 1748954220000,
"s": "BTC",
"i": "1m",
"o": "105376",
"c": "105376",
"h": "105376",
"l": "105376",
"v": "0.00022",
"n": 2
}
],
"error": null,
"code": null
}Field
Type
Description
Code Example (Python)
Last updated