Get K-line Data

Get K-line data for a specific trading pair.

interval optional values: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1Month.

Default 500 items, max 1000.

Return 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

Business type: FUTURE/SPOT, currently only FUTURE is supported

string
required

Trading pair

string
required

Interval: 1m/3m/5m/15m/30m/1h/2h/4h/6h/8h/12h/1d/3d/1w/1Month

int64

Start time

int64

End time

integer

Number of results to return, 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