Query 24-Hour Ticker List
Endpoint: /v1/spot/24kline_list
Request Method
GET
Description
Retrieve 24-hour market statistics for one or multiple spot trading pairs.
If no symbol is specified, data for all trading pairs will be returned.
Example
Query Parameters
Retrieve 24-hour market statistics for one or multiple spot trading pairs.
If no symbol is specified, data for all trading pairs will be returned.
Query Parameters
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| symbol | No | string | BTC-USDT | Trading pair. Multiple symbols can be separated by commas, e.g. BTC-USDT,ETH-USDT,EOS-USDT. If omitted, all trading pairs will be returned |
Response Parameters
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| errno | Yes | int | 0 | Status code |
| errmsg | Yes | string | success | Status message |
| result | Yes | array | See example | Result data |
Result Fields Description
JSON
{
"id": "Response ID",
"amount": "Trading volume measured in base currency over the last 24 hours",
"count": "Number of trades executed in the last 24 hours",
"open": "Opening price over the last 24 hours",
"close": "Closing price over the last 24 hours",
"low": "Lowest price over the last 24 hours",
"high": "Highest price over the last 24 hours",
"vol": "Trading volume measured in quote currency over the last 24 hours",
"ask": "Best ask price",
"bid": "Best bid price"
}
Response Example
JSON
{
"errno": 0,
"errmsg": "success",
"result": [
{
"symbol": "BTC-USDT",
"data": {
"id": 1564383039,
"amount": "501.58104763207614180517",
"count": 21030,
"open": "9510.3854955",
"close": "9611.293874",
"low": "9183.037249591129",
"high": "9722.409967228807",
"vol": "4758286.23",
"ask": "9613",
"bid": "9610"
}
},
{
"symbol": "ETH-USDT",
"data": {
"id": 1564383052,
"amount": "16009.212149527699210913",
"count": 29174,
"open": "210.117172",
"close": "211.8394075",
"low": "199.2297417116734",
"high": "215.22023539561525",
"vol": "3340147.73",
"ask": "213",
"bid": "209"
}
}
]
}