跳至主要内容

獲取深度數據

GET

/az/spot/public/depth

限流規則​

10/s/ip

請求參數​

參數類型是否必須默認值描述取值範圍
symbolstringtrue交易對 eg:btc_usdt
limitnumberfalse50有效最小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]=掛單量)
}
}