Skip to main content

Order Book

API Description#

Query orderbook on specific symbol

HTTP Request#

GET /dapi/v1/depth

Request Weight#

Adjusted based on the limit:

LimitWeight
5, 10, 20, 502
1005
50010
100020

Request Parameters#

NameTypeMandatoryDescription
symbolSTRINGYES
limitINTNODefault 500; Valid limits:[5, 10, 20, 50, 100, 500, 1000]

Response Example#

{  "lastUpdateId": 16769853,  "symbol": "BTCUSD_PERP", // Symbol  "pair": "BTCUSD",      // Pair  "E": 1591250106370,   // Message output time  "T": 1591250106368,   // Transaction time  "bids": [    [      "9638.0",         // PRICE      "431"             // QTY    ]  ],  "asks": [    [      "9638.2",      "12"    ]  ]}