Get Part Order Book(aggregated)

Request via this endpoint to get a list of open orders for a symbol.

Level-2 order book includes all bids and asks (aggregated by price), this level returns only one size for each active price (as if there was only a single order for that price).

Query via this endpoint and the system will return only part of the order book to you. If you request level2_20, the system will return you 20 pieces of data (ask and bid data) on the order book. If you request level_100, the system will return 100 pieces of data (ask and bid data) on the order book to you. You are recommended to request via this endpoint as the system reponse would be faster and cosume less traffic.

To maintain up-to-date Order Book, please use Websocket incremental feed after retrieving the Level 2 snapshot.

HTTP REQUEST

GET /api/v1/market/orderbook/level2_20
GET /api/v1/market/orderbook/level2_100

Example

GET /api/v1/market/orderbook/level2_20?symbol=BTC-USDT
GET /api/v1/market/orderbook/level2_100?symbol=BTC-USDT

{
  "sequence": "3262786978",
  "time": 1550653727731,
  "bids": [
    ["6500.12", "0.45054140"],
    ["6500.11", "0.45054140"]
  ], //[price,size]
  "asks": [
    ["6500.16", "0.57753524"],
    ["6500.15", "0.57753524"]
  ]
}
REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Public weight:depth20 2, depth100 4

PARAMETERS
Param Type Mandatory Description
symbol String Yes symbol
RESPONSES
Param Description
sequence Sequence number
time Timestamp
bids bids
asks asks
Data Sort

Asks: Sort price from low to high

Bids: Sort price from high to low