Tickers
HTTP Request
GET /spot/v3/public/quote/ticker/24hr
info
If symbol is not specified, the data from all symbols will be returned
Request Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| symbol | false | string | Name of the trading pair |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| t | number | Current timestamp (ms) |
| s | string | Name of the trading pair |
| lp | string | Last traded price |
| h | string | High price |
| l | string | Low price |
| o | string | Open price |
| bp | string | Best bid price |
| ap | string | Best ask price |
| v | string | Trading volume |
| qv | string | Trading quote volume |
Request Example
curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/public/quote/ticker/24hr?symbol=BTCUSDT'
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"t": 1659430933736,
"s": "BTCUSDT",
"lp": "21127.86",
"h": "22000",
"l": "19779.14",
"o": "19935.19",
"bp": "21170.14",
"ap": "21250",
"v": "211.378621",
"qv": "4460854.96730398"
},
"retExtInfo": {},
"time": 1659430975794
}