获取全部合约交易对深度数据
描述
查询全部合约对深度信息
HTTP请求
- GET /fapi/v1/market/allDepth
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
请求示例
http
curl 'https://futuresopenapi.100ex.com/fapi/v1/market/allDepth'返回参数
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| >futuresName | String | 合約名称 |
| >asks | List<String> | 当前价位的所有卖单 |
| >> Index 0 | String | 价格 |
| >> Index 1 | String | 数量 |
| >bids | List<String> | 当前价位的所有买单 |
| >> Index 0 | String | 价格 |
| >> Index 1 | String | 数量 |
| >time | String | 当前深度对应的时间, ms |
返回示例
json
{
"code": "0",
"msg": "成功",
"data": [
{
"futuresName": "e_btcusdt",
"asks": [
[
"57879",
"296575"
]
],
"bids": [
[
"92769.9",
"136950"
]
],
"time": "1736763781000"
},
...
]
}