Merged Order Book
HTTP Request
GET /spot/v3/public/quote/depth/merged
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
symbol | true | string | Name of the trading pair |
scale | false | integer | Precision of the merged orderbook, 1 means 1 digit |
limit | false | integer | Limit for data size. [1 , 200 ]. Default: 100 |
Response Parameters
Parameter | Type | Comments |
---|---|---|
time | number | Current time, unit in millisecond |
bids | array | Bid price and quantity, with best bid prices ranked from top to bottom |
asks | array | Ask 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
}