Get Single Ticker
HTTP request Retrieve single ticker data
- GET
/api/v2/market/ticker
Rate limit: 20 requests/second
Request parameters
| Parameter | Parameter type | Required? | Description |
|---|---|---|---|
| symbol | String | Yes | Trading pair name |
Request example
curl "https://api-spot.weex.com/api/v2/market/ticker?symbol=BTCUSDT_SPBL"
Response parameters
| Field Name | Type | Field Description |
|---|---|---|
| symbol | String | Trading pair name |
| priceChange | String | Price change amount |
| priceChangePercent | String | Price change percentage |
| trades | long | 24-hour trade count |
| size | String | 24-hour trading volume (quantity) |
| value | String | 24-hour trading value (amount) |
| high | String | 24-hour highest price |
| low | String | 24-hour lowest price |
| open | String | Opening price (24-hour period) |
| close | String | Closing price (24-hour period) |
| highTime | long | Timestamp of 24-hour high |
| lowTime | long | Timestamp of 24-hour low |
| startTime | long | Start timestamp of 24-hour period |
| endTime | long | End timestamp of 24-hour period |
| lastPrice | String | Last traded price |
| openInterest | String | Open interest (for derivatives) |
| ts | long | System timestamp |
Response example
{
"code": "00000",
"msg": "success",
"requestTime": 1743665793483,
"data": {
"symbol": "BTCUSDT_SPBL",
"priceChange": "-965.6",
"priceChangePercent": "-0.011451",
"trades": 105901,
"size": "78570.57284800",
"value": "6731333236.9492884000",
"high": "88495.5",
"low": "82175.9",
"open": "84319.6",
"close": "83354.0",
"highTime": 1743625002550,
"lowTime": 1743638655112,
"startTime": 1743576300000,
"endTime": 1743665400000,
"lastPrice": "83354.0",
"openInterest": "0",
"ts": 1750060557824
}
}