Skip to content

Merged Order Book Depth

Endpoint: /v1/futures/depth_merged

Request Parameters

Method: GET

Example

Text Only
curl -d /v1/futures/depth_merged

Query Parameters

Parameter Required Type Example Description
symbol Yes string BTC-USDT Trading pair
depth Yes float 0.0001 Depth granularity (0.0001, 0.00001, 0.000001)

Response Parameters

Parameter Required Type Example Description
errno Yes int 0 Status code
errmsg Yes string success Status message
result Yes object See example Response data

Result Fields

Parameter Required Type Example Description
ts Yes int 1499184000 Data timestamp
symbol Yes string BTC-USDT Trading pair
asks Yes array See example Ask orders, sorted by price in ascending order
bids Yes array See example Bid orders, sorted by price in descending order

Asks / Bids Fields

Parameter Required Type Example Description
price Yes string 100.3 Price
number Yes string 50 Quantity
gear Yes string 50 Depth level

Response Example

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result": {
        "symbol": "EOS-USDT",
        "ts": 1499223904680,
        "asks": [
            {
                "gear": "1",
                "price": "6322.22",
                "number": "0.0041"
            }
        ],
        "bids": [
            {
                "gear": "1",
                "price": "6322.22",
                "number": "0.0041"
            }
        ]
    }
}