Skip to main content

Depth Information

Description

Get limited-level order book information.

Method

depth

Request

{
"id": "51e2affb-0aba-4821-ba75-f2625006eb43",
"method": "depth",
"params": {
"symbol": "BTCUSDT"
}
}

Weight

limitWeight
5, 10, 20, 502
1005
50010
100020

Request Parameters

NameTypeRequiredDescription
symbolSTRINGYESTrading pair
limitINTNODefault 500; Valid values: [5, 10, 20, 50, 100, 500, 1000]

Response Example

{
"id": "51e2affb-0aba-4821-ba75-f2625006eb43",
"status": 200,
"result": {
"lastUpdateId": 1027024,
"E": 1589436922972, // Message time
"T": 1589436922959, // Matching engine time
"bids": [ // Bids
[
"4.00000000", // Price
"431.00000000" // Quantity
]
],
"asks": [ // Asks
[
"4.00000200", // Price
"12.00000000" // Quantity
]
]
},
"rateLimits": [
{
"rateLimitType": "REQUEST_WEIGHT",
"interval": "MINUTE",
"intervalNum": 1,
"limit": 2400,
"count": 5
}
]
}