Skip to main content

Merged Order Book

HTTP Request

GET /spot/v3/public/quote/depth/merged

Request Parameters

ParameterRequiredTypeComments
symboltruestringName of the trading pair
scalefalseintegerPrecision of the merged orderbook, 1 means 1 digit
limitfalseintegerLimit for data size. [1, 200]. Default: 100

Response Parameters

ParameterTypeComments
timenumberCurrent time, unit in millisecond
bidsarrayBid price and quantity, with best bid prices ranked from top to bottom
asksarrayAsk price and quantity, with best ask prices ranked from top to bottom

Request Example

curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/public/quote/depth/merged?symbol=BTCUSDT&scale=1&limit=1'

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"time": 1659429646349,
"bids": [
[
"21170.1",
"0.049096"
]
],
"asks": [
[
"21250",
"0.00211"
]
]
},
"retExtInfo": {},
"time": 1659429646652
}