获取最优挂单ticker
GET
/az/spot/public/ticker/book
限流规则
1.单个交易对:10/s/ip
2.多个交易对:10/s/ip
请求参数
| 参数 | 类型 | 是否必须 | 默认值 | 描述 | 取值范围 |
|---|---|---|---|---|---|
| symbol | string | false | 交易对 eg:btc_usdt | ||
| symbols | array | false | 交易对集合,优先级高于symbol。 eg: btc_usdt,eth_usdt | ||
| tags | string | false | 标签集合,逗号分割,当前仅支持 spot |
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
"s": "btc_usdt", //交易对(symbol)
"ts": 1661856036925, //最后更新时间(last updated time, ms)
"u": 137333589606963580, //撮合book版本号(updateId)
"ap": null, //asks price(卖一价)
"aq": null, //asks qty(卖一量)
"bp": null, //bids price(买一价)
"bq": null //bids qty(买一量)
}
]
}