Kline/Candlestick Data

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

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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)
  }
]
Query Params
string
required
Defaults to ethperp

ethperp, btcperp, etc.

string
enum
Defaults to 1m
int64

start timestamp in ms

string

endTimestamp in ms

string
Defaults to 500

number of values to retrieve (max 1000)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json