- 错误码
- WebHook
- 币种和交易对
- 未平仓合约
- 爆仓数据
- 市价单统计指标
- 资金流
- 资金费率
- 多空比
- 净多头和净空头
- 订单本
- 订单流
- RSI选币器
- 大额订单
- 热门排行
- K线
- 指标数据
- ETF
- 新闻快讯
- hyperLiquid鲸鱼
聚合持仓k线(Plan1)
GET
https://open-api.coinank.com/api/openInterest/aggKline
请求参数
Query 参数
baseCoin
string
必需
示例值:
BTC
interval
string
必需
示例值:
1m
endTime
number
必需
示例值:
1726158495618
size
integer
可选
示例值:
500
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/openInterest/aggKline?baseCoin=BTC&interval=1m&endTime=1726158495618&size=500' \
--header 'apikey;'
返回响应
🟢200OK
application/json
Body
success
boolean
必需
code
string
必需
data
array [object {5}]
必需
begin
integer
时间戳
open
integer
开
close
integer
收
low
integer
低
high
integer
高
示例
{
"success": true,
"code": "1",
"data": [
{
"begin": 1725948000000,
"open": 31838378474,
"close": 31813083312,
"low": 31761680092,
"high": 31846846111
},
{
"begin": 1725951600000,
"open": 31813083312,
"close": 32054974251,
"low": 31794605163,
"high": 32091157332
},
{
"begin": 1725955200000,
"open": 32054974251,
"close": 31980029319,
"low": 31980029319,
"high": 32156023059
},
{
"begin": 1725958800000,
"open": 31980029319,
"close": 32021363049,
"low": 31944239965,
"high": 32177569207
},
{
"begin": 1725962400000,
"open": 32021363049,
"close": 32081355478,
"low": 31961788585,
"high": 32081355478
},
{
"begin": 1725966000000,
"open": 32081355478,
"close": 32107608699,
"low": 32012682588,
"high": 32126711676
},
{
"begin": 1725969600000,
"open": 32107608699,
"close": 32108441040,
"low": 32040341091,
"high": 32191753369
},
{
"begin": 1725973200000,
"open": 32108441040,
"close": 31948012539,
"low": 31838828682,
"high": 32118418182
},
{
"begin": 1725976800000,
"open": 31948012539,
"close": 31957877431,
"low": 31860497121,
"high": 32112077357
},
{
"begin": 1725980400000,
"open": 31957877431,
"close": 31875905253,
"low": 31780246373,
"high": 32063729090
}
]
}
修改于 2025-03-05 06:08:25