K-line / Candlestick Data

Get K-line/candlestick data for a specified trading pair.

Supported intervals: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1moth

Returns 500 records by default, up to 1000 maximum.

Response array format: [Open time, Open price, High price, Low price, Close price, Volume, Close time, Quote asset volume, Number of trades, Taker buy base asset volume, Taker buy quote asset volume]

Query Params
string
required

Trading pair

string
required

Time interval: 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1moth

int64

Start time (timestamp)

int64

End time (timestamp)

int64

End time of the last query

integer
Defaults to 500

Number of results returned, default 500, max 1000

Response

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