get https://open-api-v4.coinglass.com/api/futures/orderbook/aggregated-ask-bids-history
该接口提供合约币种聚合历史订单簿数据,包含指定价格范围内的买盘和卖盘挂单总量。
该接口以下API等级可用: API 等级:
API 等级 | 爱好版 | 创业版 | 标准版 | 专业版 | 企业版 |
---|---|---|---|---|---|
可用性 | ✅ | ✅ | ✅ | ✅ | ✅ |
颗粒度 | >=4h | >=30m | 无限制 | 无限制 | 无限制 |
响应数据
{
"code": "0",
"msg": "success",
"data": [
{
"aggregated_bids_usd": 12679537.0806, // 聚合多单金额(美元)
"aggregated_bids_quantity": 197.99861, // 聚合多单数量
"aggregated_asks_usd": 10985519.9268, // 聚合空单金额(美元)
"aggregated_asks_quantity": 170.382, // 聚合空单数量
"time": 1714003200000 // 时间戳(毫秒)
},
{
"aggregated_bids_usd": 18423845.1947,
"aggregated_bids_quantity": 265.483,
"aggregated_asks_usd": 17384271.5521,
"aggregated_asks_quantity": 240.785,
"time": 1714089600000
}
]
}