API Reference

Kline/candlestick bars for a symbol. Klines are uniquely identified by interval(timeframe) and startTime

Example response:

[
  {
    "e": "kline",                          // Type of the event (e.g., "kline")
    "E": 1625812800000,                    // Event time in milliseconds since epoch
    "s": "BTCUSDT",                        // Trading pair symbol (e.g., "BTCUSDT")
    "i": "1m",                             // Interval of the K-Line (e.g., "1m" for 1 minute)
    "o": "34123000000000000000000",        // Opening price of the K-Line in e18 decimals
    "c": "34155000000000000000000",        // Closing price of the K-Line in e18 decimals
    "h": "34160000000000000000000",        // Highest price during the interval in e18 decimals
    "l": "34110000000000000000000",        // Lowest price during the interval in e18 decimals
    "v": "12345000000000000000",           // Trading volume during the interval in e18 decimals
    "x": true                             // Indicates if the K-Line is closed (true) or still being updated (false)
  }
]
Language
Click Try It! to start a request and see the response here!