Get Candlesticks (K-line)

Get candlestick data

Returned array format: [timestamp, open price, high price, low price, close price, base coin volume, USDT volume, quote coin volume]

Query Params
string
required

Symbol name, e.g. BTCUSD

string
enum
required

Candlestick granularity

int64

Candlestick data start time, Unix millisecond timestamp

int64

Candlestick data end time, Unix millisecond timestamp

int32

Number of records to query. Default: 500; maximum: 1000

Response

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