聚合币本位保证金持仓(K线)

该接口提供聚合多个交易所的币本位保证金持仓量(Open Interest)K线数据,包含开盘价、最高价、最低价和收盘价(OHLC)。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

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

响应数据

{
  "code": "0",
  "msg": "success",
  "data": [
    {
      "time": 2644845344000, // 时间戳(毫秒)
      "open": "2644845344",   // 开始时的未平仓合约
      "high": "2692643311",   // 最高未平仓合约
      "low": "2576975597",    // 最低未平仓合约
      "close": "2608846475"   // 结束时的未平仓合约
    },
    {
      "time": 2608846475000, // 时间戳(毫秒)
      "open": "2608846475",  // 开始时的未平仓合约
      "high": "2620807645",  // 最高未平仓合约
      "low": "2327236202",   // 最低未平仓合约
      "close": "2340177420"  // 结束时的未平仓合约
    },
    ....
  ]
}
Query Params
string
required
Defaults to Binance

以逗号分隔的交易所名称(例如:"Binance, OKX, Bybit")。可通过 supported-exchanges 接口获取支持的交易所。

string
required
Defaults to BTC

交易币种(例如:BTC)。通过 support-coins API 获取支持的币种。

string
required
Defaults to 1d

数据时间间隔。支持的值:1m、3m、5m、15m、30m、1h、4h、6h、8h、12h、1d、1w。

int32
Defaults to 10

每次请求的结果数量。默认值:1000,最大值:1000。

int64

起始时间戳(单位:毫秒,例如:1641522717000)。

int64

结束时间戳(单位:毫秒,例如:1641522717000)。

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json