Query 24-Hour Ticker
Endpoint: /v1/spot/24kline
Request Method
GET
Description
Retrieve 24-hour market statistics for a specific spot trading pair.
Example
Query Parameters
Retrieve 24-hour market statistics for a specific spot trading pair.
Query Parameters
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| symbol | Yes | string | BTC-USDT | Trading pair |
Response Parameters
| Parameter | Required | Type | Example | Description |
|---|---|---|---|---|
| errno | Yes | int | 0 | Status code |
| errmsg | Yes | string | success | Status message |
| result | Yes | object | 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"
}