跳到主要内容

完整ticker

GET

/az/spot/public/ticker

限流规则​

1.单个交易对:10/s/ip

2.多个交易对:10/s/ip

请求参数​

参数类型是否必须默认值描述取值范围
symbolstringfalse交易对 eg:btc_usdt
symbolsarrayfalse交易对集合,优先级高于symbol。 eg: btc_usdt,eth_usdt
tagsstringfalse标签集合,逗号分割,当前仅支持 spot
typestringfalsenormal交易对类型, eg: normal

Response

{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
"s": "btc_usdt", //交易对(symbol)
"ts": 1662444879425, //更新时间(time, ms)
"cv": "0.00", //价格变动(change value)
"r": "0.0000", //价格变动百分比(change rate)
"o": "200.00", //最早一笔(open)
"l": "200.00", //最低(low)
"h": "200.00", //最高(high)
"c": "200.00", //最后一笔(close)
"v": "0.002", //成交量(quantity, base)
"uv": "0.40", //成交额(volume, quote)
"ap": null, //asks price(卖一价)
"aq": null, //asks qty(卖一量)
"bp": null, //bids price(买一价)
"bq": null //bids qty(买一量)
}
]
}