獲取深度數據
GET
/az/spot/public/depth
限流規則
10/s/ip
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | true | 交易對 eg:btc_usdt | ||
| limit | number | false | 50 | 有效最小100條(服務端對小於100的向上取100) | 1~1000 |
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": {
"symbol": "btc_usdt", //交易對
"timestamp": 1662445330524, //時間戳
"lastUpdateId": 137333589606963580, //最後更新記錄
"bids": [ //買盤([?][0]=價位;[?][1]=掛單量)
[
"200.0000", //價位
"0.996000" //掛單量
],
[
"100.0000",
"0.001000"
],
[
"20.0000",
"10.000000"
]
],
"asks": [] //賣盤([?][0]=價位;[?][1]=掛單量)
}
}