持仓加权资金费率历史(K线)

该接口提供按持仓量加权的合约币种资金费率 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": 1658880000000, // 时间戳(毫秒)
      "open": "0.004603",     // 开盘资金费率
      "high": "0.009388",     // 最高资金费率
      "low": "-0.005063",     // 最低资金费率
      "close": "0.009229"     // 收盘资金费率
    },
    {
      "time": 1658966400000, // 时间戳(毫秒)
      "open": "0.009229",     // 开盘资金费率
      "high": "0.01",         // 最高资金费率
      "low": "0.007794",      // 最低资金费率
      "close": "0.01"         // 收盘资金费率
    }
  ]
}
Query Params
string
required
Defaults to BTC

交易币种(例如:BTC)。可通过 support-coins 接口获取支持的币种列表。

string
required
Defaults to 1d

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

int32

每次请求返回的数据条数。默认值为 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