Skip to main content

Order Book

HTTP Request

GET /spot/v3/public/quote/depth

Request Parameters

ParameterRequiredTypeComments
symboltruestringsymbol
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?symbol=BTCUSDT&limit=1'

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"time": 1659429083820,
"bids": [
[
"21170.14",
"0.050096"
]
],
"asks": [
[
"21250",
"0.00211"
]
]
},
"retExtInfo": {},
"time": 1659429083979
}