API Reference
Pricing
API Reference

交易对挂单深度历史(±范围)

该接口提供合约交易对的历史订单簿数据,包含指定价格范围内的买盘和卖盘挂单总量。

缓存 / 更新频率: 5秒一次.

该接口以下API等级可用: API 等级

API 等级爱好版创业版标准版专业版企业版
可用性
颗粒度>=4h>=30m无限制无限制无限制

响应数据

{
  "code": "0",
  "msg": "success",
  "data": [
    {
      "bids_usd": 81639959.9338,        // 多单总金额(美元)
      "bids_quantity": 1276.645,        // 多单总数量
      "asks_usd": 78533053.6862,        // 空单总金额(美元)
      "asks_quantity": 1217.125,        // 空单总数量
      "time": 1714003200000             // 时间戳(毫秒)
    },
    {
      "bids_usd": 62345879.8821,
      "bids_quantity": 980.473,
      "asks_usd": 65918423.4715,
      "asks_quantity": 1021.644,
      "time": 1714089600000
    }
  ]
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!