Get 24h Ticker Statistics
- GET
/api/v3/market/ticker/24hr
Weight(IP): 2
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Single trading pair (mutually exclusive with symbols). |
| symbols | Array | No | Multiple trading pairs. Accepts comma-separated values or a JSON array. |
Request example
curl "https://api-spot.weex.com/api/v3/market/ticker/24hr?symbols=%5B%5C"BTCUSDT%5C",%5C"ETHUSDT%5C"%5D"
Response parameters
| Field | Type | Description |
|---|---|---|
| symbol | String | Trading pair. |
| priceChange | String | Absolute price change over the last 24 hours. |
| priceChangePercent | String | Percentage price change over the last 24 hours. |
| lastPrice | String | Last traded price. |
| bidPrice | String | Best bid price. |
| bidQty | String | Best bid quantity. |
| askPrice | String | Best ask price. |
| askQty | String | Best ask quantity. |
| openPrice | String | Opening price 24 hours ago. |
| highPrice | String | Highest price in the last 24 hours. |
| lowPrice | String | Lowest price in the last 24 hours. |
| volume | String | Base asset volume in the last 24 hours. |
| quoteVolume | String | Quote asset volume in the last 24 hours. |
| openTime | Long | First trade timestamp in the 24h window (ms). |
| closeTime | Long | Last trade timestamp in the 24h window (ms). |
| count | Long | Number of trades in the 24h window. |
When symbol is provided, the endpoint returns a single object; otherwise, it returns an array of objects.
Response example
[
{
"symbol": "BTCUSDT",
"priceChange": "-350.50",
"priceChangePercent": "-0.0051",
"lastPrice": "68920.40",
"bidPrice": "68919.90",
"bidQty": "2.480",
"askPrice": "68920.70",
"askQty": "1.375",
"openPrice": "69270.90",
"highPrice": "70110.00",
"lowPrice": "68500.10",
"volume": "1524.361",
"quoteVolume": "105060432.75",
"openTime": 1764412800000,
"closeTime": 1764499200000,
"count": 98642
}
]