跳到主要内容

获取深度数据

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]=挂单量)
}
}