Kline/Candlestick Data
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time.
- If startTime and endTime are not sent, the most recent klines are returned.
Weight(IP): 2
Query parameters
Trading symbol, e.g. BNBUSDT
kline intervals
UTC timestamp in ms
UTC timestamp in ms
Default: 0 (UTC)
Default 500; max 1000.
Response
Kline data
Example response
[
[
1499040000000,
"0.01634790",
"0.80000000",
"0.01575800",
"0.01577100",
"148976.11427815",
1499644799999,
"2434.19055334",
308,
"1756.87402397",
"28.46694368",
"17928899.62484339"
]
]Changes
Changed in 3 of the 26 revisions of this API.44
- ○
added the new optional
queryrequest parametertimeZonenew-optional-request-parameter
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new enum value
1sto thequeryrequest parameterintervalrequest-parameter-enum-value-added
- ○
- ▲
for the
queryrequest parameterendTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterlimit, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
the
items/response's property type/format changed from/toarray/for status200response-property-type-changed
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ▲