全量行情
接口说明
GET /v4/public/ticker
限流规则
- 单一交易对:10次/秒/ip
- 多个交易对:10次/秒/ip
请求参数
参数名 | 类型 | 是否必填 | 默认值 | 描述 | 取值范围 |
---|---|---|---|---|---|
symbol | string | 否 | N/A | 交易对名称,例如:btc_usdt | - |
symbols | array | 否 | N/A | 交易对集合,优先级高于 symbol,例如:btc_usdt,eth_usdt | - |
tags | string | 否 | N/A | 标签集合,逗号分隔,目前仅支持 spot | - |
响应示例
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": [
{
"s": "btc_usdt",
"t": 1662444879425,
"cv": "0.00",
"cr": "0.0000",
"o": "200.00",
"l": "200.00",
"h": "200.00",
"c": "200.00",
"q": "0.002",
"v": "0.40",
"ap": null,
"aq": null,
"bp": null,
"bq": null
}
]
}