Get depth data
GET
/az/spot/public/depth
Limit Flow Rules
10/s/ip
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | true | trading pair eg:btc_usdt | ||
| limit | number | false | 50 | effective minimum is 100 (server floors small values to 100) | 1~1000 |
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": {
"symbol": "btc_usdt",
"timestamp": 1662445330524,
"lastUpdateId": 137333589606963580, //Last updated record
"bids": [ //buy order([?][0]=price;[?][1]=pending order volume)
[
"200.0000", //price
"0.996000" //pending order volume
],
[
"100.0000",
"0.001000"
],
[
"20.0000",
"10.000000"
]
],
"asks": [] //sell order([?][0]=price;[?][1]=pending order volume)
}
}