Best Bid/Ask Price
info
If symbol is not specified, the best order price from all symbols will be returned
HTTP Request
GET /spot/v3/public/quote/ticker/bookTicker
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
symbol | true | string | Name of the trading pair |
Response Parameters
Parameter | Type | Comments |
---|---|---|
symbol | string | Name of the trading pair |
bidPrice | string | Best bid price |
bidQty | string | Bid quantity |
askPrice | string | Best ask price |
askQty | string | Ask quantity |
time | number | Millisecond timestamp |
Request Example
curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/public/quote/ticker/bookTicker?symbol=BTCUSDT'
Response Example
{
"retCode": 0,
"retMsg": "OK",
"result": {
"symbol": "BTCUSDT",
"bidPrice": "21170.14",
"bidQty": "0.908276",
"askPrice": "21250",
"askQty": "0.009264",
"time": 1659431461695
},
"retExtInfo": {},
"time": 1659431462103
}