24-Hour Market Statistics
Get 24-hour price change statistics for a specified trading pair.
Interface Information
- Method:
GET - Path:
/api/v1/stock/open-api/ticker
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Trading pair |
Request Example
GET /api/v1/stock/open-api/ticker?symbol=AAPL
Response Fields
| Field | Type | Description |
|---|---|---|
| symbol | string | Trading pair |
| open | string | 24h opening price |
| high | string | 24h highest price |
| low | string | 24h lowest price |
| close | string | Last traded price |
| volume | string | 24h trading volume (base asset) |
| quoteVolume | string | 24h trading amount (quote asset) |
| tradeCount | int64 | Number of trades in 24h |
| priceChange | string | 24h price change |
| priceChangePct | string | 24h price change percentage (%) |
| weightedAvgPrice | string | 24h weighted average price |
| updateTime | int64 | Update time (millisecond timestamp) |
Response Example
{
"code": 0,
"msg": "success",
"data": {
"symbol": "AAPL",
"open": "180.00",
"high": "186.50",
"low": "179.50",
"close": "185.50",
"volume": "1000000",
"quoteVolume": "182500000",
"tradeCount": 5678,
"priceChange": "5.50",
"priceChangePct": "3.06",
"weightedAvgPrice": "182.50",
"updateTime": 1705737600000
}
}