Skip to main content

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

ParameterRequiredTypeComments
symbolfalsestringName of the trading pair

Response Parameters

ParameterTypeComments
tnumberCurrent timestamp (ms)
sstringName of the trading pair
lpstringLast traded price
hstringHigh price
lstringLow price
ostringOpen price
bpstringBest bid price
apstringBest ask price
vstringTrading volume
qvstringTrading 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
}