- 错误码
- WebHook
- 币种和交易对
- 未平仓合约
- 爆仓数据
- 市价单统计指标
- 资金流
- 资金费率
- 多空比
- 净多头和净空头
- 订单本
- 订单流
- RSI选币器
- 大额订单
- 热门排行
- K线
- 指标数据
- ETF
- 新闻快讯
- hyperLiquid鲸鱼
交易对资金费率k线(Plan1)
GET
https://open-api.coinank.com/api/fundingRate/kline
请求参数
Query 参数
exchange
string
可选
示例值:
Binance
symbol
string
交易对
示例值:
BTCUSDT
interval
string
可选
示例值:
1h
endTime
string
可选
示例值:
1725972522356
size
string
最大500
示例值:
10
Header 参数
apikey
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open-api.coinank.com/api/fundingRate/kline?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=1725972522356&size=10' \
--header 'apikey;'
返回响应
🟢200OK
application/json
Body
success
boolean
必需
code
string
必需
data
array [object {5}]
必需
begin
integer
time
open
number
open
close
number
close
low
number
low
high
number
high
示例
{
"success": true,
"code": "1",
"data": [
{
"begin": 1725937200000,
"open": -0.002614,
"close": -0.002159,
"low": -0.002614,
"high": -0.002087
},
{
"begin": 1725940800000,
"open": -0.002159,
"close": -0.001998,
"low": -0.00216,
"high": -0.001863
},
{
"begin": 1725944400000,
"open": -0.001998,
"close": -0.002578,
"low": -0.002578,
"high": -0.001758
},
{
"begin": 1725948000000,
"open": -0.002578,
"close": -0.002932,
"low": -0.003047,
"high": -0.002578
},
{
"begin": 1725951600000,
"open": -0.002932,
"close": -0.002854,
"low": -0.002957,
"high": -0.002293
},
{
"begin": 1725955200000,
"open": -0.002854,
"close": -0.004287,
"low": -0.004359,
"high": -0.002854
},
{
"begin": 1725958800000,
"open": -0.004287,
"close": -0.002442,
"low": -0.004287,
"high": -0.002395
},
{
"begin": 1725962400000,
"open": -0.002442,
"close": -0.001121,
"low": -0.002599,
"high": -0.001086
},
{
"begin": 1725966000000,
"open": -0.001121,
"close": -0.000223,
"low": -0.001157,
"high": -0.000223
},
{
"begin": 1725969600000,
"open": -0.000223,
"close": -0.000565,
"low": -0.000565,
"high": -0.000223
}
]
}
修改于 2025-03-05 06:13:29