Skip to main content
Version: V3

Get Order Book Depth

  • GET /api/v3/market/depth

Weight(IP): 5

Request parameters

ParameterTypeRequired?Description
symbolStringYesTrading pair, e.g. BTCUSDT.
limitIntegerNoNumber of depth entries. Supported values: 15, 200. Default 15.

Request example

curl "https://api-spot.weex.com/api/v3/market/depth?symbol=BTCUSDT&limit=200"

Response parameters

FieldTypeDescription
lastUpdateIdLongOrder book snapshot ID.
bidsArray<Array>Bid depth entries formatted as [price, quantity].
asksArray<Array>Ask depth entries formatted as [price, quantity].

Response example

{
"lastUpdateId": 451234567890,
"bids": [
["68950.10", "2.345"],
["68949.80", "0.512"]
],
"asks": [
["68950.20", "1.104"],
["68950.40", "3.872"]
]
}