Back to skills
SkillHub ClubAnalyze Data & AIFull StackData / AI
coinank-openapi
call coinank openapi to get data
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Stars
3,126
Hot score
99
Updated
March 20, 2026
Overall rating
C4.0
Composite score
4.0
Best-practice grade
C60.3
Install command
npx @skill-hub/cli install openclaw-skills-coinank-openapi-skill
Repository
openclaw/skills
Skill path: skills/a4205586/coinank-openapi-skill
call coinank openapi to get data
Open repositoryBest for
Primary workflow: Analyze Data & AI.
Technical facets: Full Stack, Data / AI.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: openclaw.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install coinank-openapi into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/openclaw/skills before adding coinank-openapi to shared team environments
- Use coinank-openapi for development workflows
Works across
Claude CodeCodex CLIGemini CLIOpenCode
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: coinank-openapi
description: call coinank openapi to get data
metadata:
{
"openclaw":
{
"homepage": "https://coinank.com",
"requires": { "env": ["COINANK_API_KEY"] },
"primaryEnv": "COINANK_API_KEY",
},
}
---
# 权限声明
# SECURITY MANIFEST:
# - Allowed to read: {baseDir}/references/*.json
# - Allowed to make network requests to: https://open-api.coinank.com
## 工作流 (按需加载模式)
当用户提出请求时,请严格执行以下步骤:
1. **目录索引**:首先扫描 `{baseDir}/references/` 目录下的所有文件名,确定哪些 OpenAPI 定义文件与用户需求相关。
2. **精准读取**:仅读取选定的 `.json` 文件,分析其 `paths`、`parameters` 和 `requestBody`。其中paths内是一个对象,对象的key就是path
3. **构造请求**:使用 curl 执行请求。
- **Base URL**: 统一使用 `https://open-api.coinank.com`(或从 JSON 的 `servers` 字段提取)。
- **Auth**: 从环境变量 `COINANK_API_KEY` 中获取 apikey 注入 Header。
- 如果参数有endTime,尽量传入最新的毫秒级时间戳
- OpenAPI文档内的时间戳都是示例.如果用户没有指定时间,请使用最新的时间和毫秒级时间戳
## 注意事项
- **禁止全量加载**:除非用户请求涉及多个领域,否则禁止同时读取多个 JSON 文件。
- **参数校验**:在发起请求前,必须根据 OpenAPI 定义验证必填参数是否齐全。
---
## Skill Companion Files
> Additional files collected from the skill directory layout.
### README.md
```markdown
# CoinAnk OpenAPI Skill
> AI Agent 可读的 CoinAnk 开放接口调用技能。覆盖加密货币市场的 K 线、ETF、持仓、多空比、资金费率、爆仓、订单流等 18 大类、59 个接口,全部经过实测验证可用。
---
## 目录
- [快速开始](#快速开始)
- [认证与请求规范](#认证与请求规范)
- [⚠️ 关键注意事项](#️-关键注意事项)
- [接口总览](#接口总览)
- [接口详情](#接口详情)
- [1. K线](#1-k线)
- [2. ETF](#2-etf)
- [3. HyperLiquid 鲸鱼](#3-hyperliquid-鲸鱼)
- [4. 净多头和净空头](#4-净多头和净空头)
- [5. 大额订单](#5-大额订单)
- [6. 币种和交易对](#6-币种和交易对)
- [7. 多空比](#7-多空比)
- [8. 市价单统计指标](#8-市价单统计指标)
- [9. 新闻快讯](#9-新闻快讯)
- [10. 指标数据](#10-指标数据)
- [11. 未平仓合约](#11-未平仓合约)
- [12. 热门排行](#12-热门排行)
- [13. 爆仓数据](#13-爆仓数据)
- [14. 订单本](#14-订单本)
- [15. 资金流](#15-资金流)
- [16. 订单流](#16-订单流)
- [17. 资金费率](#17-资金费率)
- [18. RSI 选币器](#18-rsi-选币器)
- [枚举值速查](#枚举值速查)
---
## 快速开始
```bash
# 1. 设置 API Key(在 header 中传入)
APIKEY="your_api_key_here"
# 2. 生成当前毫秒级时间戳(macOS / Linux 通用)
NOW=$(python3 -c "import time; print(int(time.time()*1000))")
# 3. 示例:查询 BTC K线
curl -s -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/kline/lists?symbol=BTCUSDT&exchange=Binance&endTime=$NOW&size=10&interval=1h&productType=SWAP"
```
---
## 认证与请求规范
| 项目 | 说明 |
|------|------|
| **Base URL** | `https://open-api.coinank.com` |
| **认证方式** | HTTP Header:`apikey: <your_api_key>` |
| **请求方法** | 全部为 `GET` |
| **响应格式** | `application/json` |
| **成功标志** | `{"success": true, "code": "1", "data": ...}` |
### 标准响应结构
```json
{
"success": true,
"code": "1",
"data": [ ... ]
}
```
### 错误码说明
| code | 含义 |
|------|------|
| `1` | 成功 |
| `-3` | API Key 无效或认证失败 |
| `-7` | 超出允许访问的时间范围(endTime 参数错误) |
| `0` | 系统错误(参数缺失或服务端异常) |
---
## ⚠️ 关键注意事项
### 1. 时间戳必须是毫秒级且为当前时间
所有 `endTime` 参数均为**毫秒级时间戳**,且必须接近当前时间。传入过期或格式错误的时间戳会返回 `code: -7`。
```bash
# ✅ 正确:使用 python3 生成(跨平台兼容)
NOW=$(python3 -c "import time; print(int(time.time()*1000))")
# ❌ 错误:macOS 的 date 命令不支持 %3N,会生成如 "17228693N" 的无效值
NOW=$(date +%s%3N) # 不要用这个!
```
### 2. 套餐权限等级
接口分为 VIP1~VIP4 四个级别,级别越高可访问的接口越多。每个接口标注了所需最低套餐。
### 3. `exchanges` 参数传空字符串
`getAggCvd`、`getAggBuySellCount` 等聚合市价单接口中,`exchanges` 参数**必须传入**(传空字符串 `exchanges=` 表示聚合所有交易所)。
### 4. OpenAPI 文件中的时间戳仅为示例
`references/` 目录下 JSON 文件中的 `example` 时间戳均为历史示例,调用时应使用实时生成的时间戳。
---
## 接口总览
| # | 分类 | 接口数 | 最低套餐 |
|---|------|--------|---------|
| 1 | K线 | 1 | VIP1 |
| 2 | ETF | 5 | VIP1 |
| 3 | HyperLiquid 鲸鱼 | 2 | VIP2 |
| 4 | 净多头和净空头 | 1 | VIP3 |
| 5 | 大额订单 | 2 | VIP3 |
| 6 | 币种和交易对 | 4 | VIP1 |
| 7 | 多空比 | 6 | VIP1 |
| 8 | 市价单统计指标 | 8 | VIP3 |
| 9 | 新闻快讯 | 2 | VIP2 |
| 10 | 指标数据 | 10 | VIP1 |
| 11 | 未平仓合约 | 7 | VIP1 |
| 12 | 热门排行 | 8 | VIP2 |
| 13 | 爆仓数据 | 8 | VIP1 |
| 14 | 订单本 | 3 | VIP3 |
| 15 | 资金流 | 2 | VIP3 |
| 16 | 订单流 | 1 | VIP3 |
| 17 | 资金费率 | 7 | VIP1 |
| 18 | RSI 选币器 | 1 | VIP2 |
| **合计** | | **59** | |
---
## 接口详情
---
### 1. K线
#### `GET /api/kline/lists` — K线行情数据
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `endTime` | ✅ | number | 毫秒时间戳,返回此时间之前的数据 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
| `interval` | ✅ | string | 周期,见枚举值 | `1h` |
| `productType` | ✅ | string | `SWAP` 合约 / `SPOT` 现货 | `SWAP` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/kline/lists?symbol=BTCUSDT&exchange=Binance&endTime=$NOW&size=10&interval=1h&productType=SWAP"
```
---
### 2. ETF
#### `GET /api/etf/getUsBtcEtf` — 美国 BTC ETF 列表
**套餐:VIP1 | 无需参数**
#### `GET /api/etf/getUsEthEtf` — 美国 ETH ETF 列表
**套餐:VIP1 | 无需参数**
#### `GET /api/etf/usBtcInflow` — 美国 BTC ETF 历史净流入
**套餐:VIP1 | 无需参数**
#### `GET /api/etf/usEthInflow` — 美国 ETH ETF 历史净流入
**套餐:VIP1 | 无需参数**
#### `GET /api/etf/hkEtfInflow` — 港股 ETF 历史净流入
**套餐:VIP1 | 无需参数**
```bash
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/etf/getUsBtcEtf"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/etf/getUsEthEtf"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/etf/usBtcInflow"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/etf/usEthInflow"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/etf/hkEtfInflow"
```
---
### 3. HyperLiquid 鲸鱼
#### `GET /api/hyper/topPosition` — 鲸鱼持仓排行
**套餐:VIP2**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `sortBy` | ✅ | string | 排序字段 | `positionValue` |
| `sortType` | ✅ | string | `desc` 降序 / `asc` 升序 | `desc` |
| `page` | ✅ | integer | 页码 | `1` |
| `size` | ✅ | integer | 每页数量 | `10` |
#### `GET /api/hyper/topAction` — 鲸鱼最新动态
**套餐:VIP2 | 无需参数**
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/hyper/topPosition?sortBy=positionValue&sortType=desc&page=1&size=10"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/hyper/topAction"
```
---
### 4. 净多头和净空头
#### `GET /api/netPositions/getNetPositions` — 净多头/净空头历史
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/netPositions/getNetPositions?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=$NOW&size=10"
```
---
### 5. 大额订单
#### `GET /api/trades/largeTrades` — 大额市价订单
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `productType` | ✅ | string | `SWAP` 合约 / `SPOT` 现货 | `SWAP` |
| `amount` | ✅ | string | 最小金额(USD) | `10000000` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/trades/largeTrades?symbol=BTCUSDT&productType=SWAP&amount=10000000&endTime=$NOW&size=10"
```
#### `GET /api/bigOrder/queryOrderList` — 大额限价订单
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `exchangeType` | ✅ | string | `SWAP` 永续 / `SPOT` 现货 / `FUTURES` 交割 | `SWAP` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
| `amount` | ✅ | number | 最低金额(USD) | `1000000` |
| `side` | ✅ | string | `ask` 卖 / `bid` 买 | `ask` |
| `exchange` | ✅ | string | 交易所(Binance / OKX / Coinbase) | `Binance` |
| `isHistory` | ✅ | string | `true` 历史 / `false` 实时 | `true` |
| `startTime` | ❌ | number | 截止时间戳(isHistory=true 时建议传当前时间戳) | `当前时间戳` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/bigOrder/queryOrderList?symbol=BTCUSDT&exchangeType=SWAP&size=10&amount=1000000&side=ask&exchange=Binance&isHistory=true&startTime=$NOW"
```
---
### 6. 币种和交易对
#### `GET /api/instruments/getLastPrice` — 实时价格
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
#### `GET /api/instruments/getCoinMarketCap` — 币种市值信息
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
#### `GET /api/baseCoin/list` — 支持的币种列表
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
#### `GET /api/baseCoin/symbols` — 支持的交易对列表
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/instruments/getLastPrice?symbol=BTCUSDT&exchange=Binance&productType=SWAP"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/instruments/getCoinMarketCap?baseCoin=BTC"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/baseCoin/list?productType=SWAP"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/baseCoin/symbols?exchange=Binance&productType=SWAP"
```
---
### 7. 多空比
#### `GET /api/longshort/buySell` — 全市场多空买卖比
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量 | `10` |
#### `GET /api/longshort/realtimeAll` — 交易所实时多空比
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期,可选 `5m/15m/30m/1h/2h/4h/6h/8h/12h/1d` | `1h` |
#### `GET /api/longshort/person` — 多空持仓人数比
**套餐:VIP1 | 支持交易所:Binance / OKX / Bybit**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
#### `GET /api/longshort/position` — 大户多空比(持仓量)
**套餐:VIP1 | 支持交易所:Binance / OKX / Huobi**
参数与 `/api/longshort/person` 相同。
#### `GET /api/longshort/account` — 大户多空比(账户数)
**套餐:VIP1 | 支持交易所:Binance / OKX / Huobi**
参数与 `/api/longshort/person` 相同。
#### `GET /api/longshort/kline` — 多空比 K 线
**套餐:VIP1 | 支持交易所:Binance / OKX / Huobi**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
| `type` | ✅ | string | `longShortPerson` 人数比 / `longShortPosition` 持仓比 / `longShortAccount` 账户比 | `longShortPerson` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/longshort/realtimeAll?baseCoin=BTC&interval=1h"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/longshort/person?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=$NOW&size=10"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/longshort/kline?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=$NOW&size=10&type=longShortPerson"
```
---
### 8. 市价单统计指标
> 以下 8 个接口均为 **VIP3**,分为**单交易对**和**聚合(跨交易所)**两组。
#### 单交易对系列(需指定 exchange + symbol)
| 接口 | 说明 |
|------|------|
| `GET /api/marketOrder/getCvd` | CVD(主动买卖量差) |
| `GET /api/marketOrder/getBuySellCount` | 主动买卖笔数 |
| `GET /api/marketOrder/getBuySellValue` | 主动买卖额(USD) |
| `GET /api/marketOrder/getBuySellVolume` | 主动买卖量(币本位) |
**公共参数:**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所(Binance / OKX / Bybit / Bitget) | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/marketOrder/getCvd?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=$NOW&size=10&productType=SWAP"
```
#### 聚合系列(按 baseCoin 跨交易所聚合)
| 接口 | 说明 |
|------|------|
| `GET /api/marketOrder/getAggCvd` | 聚合 CVD |
| `GET /api/marketOrder/getAggBuySellCount` | 聚合买卖笔数 |
| `GET /api/marketOrder/getAggBuySellValue` | 聚合买卖额 |
| `GET /api/marketOrder/getAggBuySellVolume` | 聚合买卖量 |
**公共参数:**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `exchanges` | ✅ | string | **传空字符串**表示聚合所有交易所 | `(空)` |
```bash
# 注意:exchanges 参数必须传入,传空字符串表示聚合全部
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/marketOrder/getAggCvd?baseCoin=BTC&interval=1h&endTime=$NOW&size=10&productType=SWAP&exchanges="
```
---
### 9. 新闻快讯
#### `GET /api/news/getNewsList` — 新闻/快讯列表
**套餐:VIP2**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `type` | ✅ | string | `1` 快讯 / `2` 新闻 | `1` |
| `lang` | ✅ | string | 语言:`zh` 中文 / `en` 英文 | `zh` |
| `page` | ✅ | string | 页码 | `1` |
| `pageSize` | ✅ | string | 每页数量 | `10` |
| `isPopular` | ✅ | string | 是否推荐:`true` / `false` | `false` |
| `search` | ✅ | string | 搜索关键词,无则传空字符串 | `(空)` |
#### `GET /api/news/getNewsDetail` — 新闻详情
**套餐:VIP2**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `id` | ✅ | string | 新闻 ID(从列表接口获取) | `69a2f40912d08f6a781aedd0` |
```bash
# 先获取列表,取 id
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/news/getNewsList?type=1&lang=zh&page=1&pageSize=10&isPopular=false&search="
# 再查详情
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/news/getNewsDetail?id=69a2f40912d08f6a781aedd0"
```
---
### 10. 指标数据
> 以下指标均为 **VIP1**,无需参数的直接请求即可。
| 接口 | 说明 | 参数 |
|------|------|------|
| `GET /api/indicator/getBtcMultiplier` | 两年 MA 乘数 | 无 |
| `GET /api/indicator/getCnnEntity` | 贪婪恐惧指数 | 无 |
| `GET /api/indicator/getAhr999` | ahr999 囤币指标 | 无 |
| `GET /api/indicator/getPuellMultiple` | 普尔系数(Puell Multiple) | 无 |
| `GET /api/indicator/getBtcPi` | Pi 循环顶部指标 | 无 |
| `GET /api/indicator/getMovingAvgHeatmap` | 200 周均线热力图 | 无 |
| `GET /api/indicator/getAltcoinSeason` | 山寨季指数 | 无 |
#### `GET /api/indicator/getMarketCapRank` — 市值占比排名
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 币种 | `BTC` |
#### `GET /api/indicator/getGrayscaleOpenInterest` — 灰度持仓数据
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 币种 | `BTC` |
#### `GET /api/indicator/index/charts` — 彩虹图等综合指标
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `type` | ✅ | string | 图表类型 | `bitcoin-rainbow-v2` |
```bash
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/indicator/getCnnEntity"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/indicator/getMarketCapRank?symbol=BTC"
curl -H "apikey: $APIKEY" "https://open-api.coinank.com/api/indicator/index/charts?type=bitcoin-rainbow-v2"
```
---
### 11. 未平仓合约
#### `GET /api/openInterest/all` — 实时持仓列表(全交易所)
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
#### `GET /api/openInterest/v2/chart` — 币种聚合持仓历史
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `exchange` | ✅ | string | 交易所,传空字符串查全部 | `(空)` |
| `interval` | ✅ | string | 周期 | `1h` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
| `type` | ✅ | string | `USD` 美元计价 / 币种名(如 `BTC`)币本位 | `USD` |
| `endTime` | ✅ | number | 毫秒时间戳(可选,不传则返回最新) | `当前时间戳` |
#### `GET /api/openInterest/symbol/Chart` — 交易对持仓历史
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
| `type` | ✅ | string | `USD` / 币种名 | `USD` |
#### `GET /api/openInterest/kline` — 交易对持仓 K 线
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
#### `GET /api/openInterest/aggKline` — 聚合持仓 K 线
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
#### `GET /api/tickers/topOIByEx` — 实时持仓(按交易所统计)
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
#### `GET /api/instruments/oiVsMc` — 历史持仓市值比
**套餐:VIP2**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `100` |
| `interval` | ✅ | string | 周期 | `1h` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/openInterest/all?baseCoin=BTC"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/openInterest/aggKline?baseCoin=BTC&interval=1h&endTime=$NOW&size=10"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/instruments/oiVsMc?baseCoin=BTC&endTime=$NOW&size=100&interval=1h"
```
---
### 12. 热门排行
> 以下接口均为 **VIP2**。
#### `GET /api/instruments/visualScreener` — 视觉筛选器
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `interval` | ✅ | string | `15m` / `1h` / `4h` / `24h` | `15m` |
#### `GET /api/instruments/oiVsMarketCap` — 持仓/市值排行
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `page` | ✅ | integer | 页码 | `1` |
| `size` | ✅ | integer | 每页数量 | `10` |
| `sortBy` | ✅ | string | 排序字段 | `openInterest` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
#### `GET /api/instruments/longShortRank` — 多空持仓人数比排行
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `sortBy` | ✅ | string | 排序字段 | `longRatio` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
| `size` | ✅ | integer | 每页数量 | `10` |
| `page` | ✅ | integer | 页码 | `1` |
#### `GET /api/instruments/oiRank` — 持仓量排行榜
参数同 `longShortRank`,`sortBy` 示例值:`openInterest`。
#### `GET /api/trades/count` — 交易笔数排行
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `sortBy` | ✅ | string | 排序字段,如 `h1Count`(1小时)、`d1Count`(1天) | `h1Count` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
#### `GET /api/instruments/liquidationRank` — 爆仓排行榜
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `sortBy` | ✅ | string | 排序字段,如 `liquidationH24` | `liquidationH24` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
| `page` | ✅ | integer | 页码 | `1` |
| `size` | ✅ | integer | 每页数量 | `10` |
#### `GET /api/instruments/priceRank` — 价格变化排行
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `sortBy` | ✅ | string | 如 `priceChangeH24`(24h涨跌幅) | `priceChangeH24` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
#### `GET /api/instruments/volumeRank` — 交易量变化排行
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `sortBy` | ✅ | string | 如 `h24Volume`(24h交易量) | `h24Volume` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/instruments/visualScreener?interval=15m"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/trades/count?productType=SWAP&sortBy=h1Count&sortType=desc"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/instruments/priceRank?sortBy=priceChangeH24&sortType=desc"
```
---
### 13. 爆仓数据
#### `GET /api/liquidation/allExchange/intervals` — 各时间段实时爆仓统计
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
#### `GET /api/liquidation/aggregated-history` — 聚合爆仓历史
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
#### `GET /api/liquidation/history` — 交易对爆仓历史
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
#### `GET /api/liquidation/orders` — 爆仓订单列表
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `side` | ✅ | string | `long` 多 / `short` 空 | `long` |
| `amount` | ✅ | number | 最低爆仓金额(USD) | `100` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
#### `GET /api/liqMap/getLiqMap` — 清算地图
**套餐:VIP4**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `interval` | ✅ | string | 周期 | `1d` |
#### `GET /api/liqMap/getAggLiqMap` — 聚合清算地图
**套餐:VIP4**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1d` |
#### `GET /api/liqMap/getLiqHeatMap` — 清算热力图
**套餐:VIP4**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1d` |
#### `GET /api/liqMap/getLiqHeatMapSymbol` — 清算热图支持的交易对列表
**套餐:VIP1 | 无需参数**
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/liquidation/allExchange/intervals?baseCoin=BTC"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/liquidation/orders?baseCoin=BTC&exchange=Binance&side=long&amount=100&endTime=$NOW"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/liqMap/getLiqHeatMapSymbol"
```
---
### 14. 订单本
#### `GET /api/orderBook/v2/bySymbol` — 按交易对查询挂单深度历史
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `rate` | ✅ | number | 价格精度比例 | `0.01` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
#### `GET /api/orderBook/v2/byExchange` — 按交易所查询挂单深度历史
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量,最大 500 | `10` |
| `exchanges` | ✅ | string | 交易所名称 | `Binance` |
| `type` | ✅ | string | 价格精度比例 | `0.01` |
#### `GET /api/orderBook/getHeatMap` — 挂单流动性热力图
**套餐:VIP4**
> ⚠️ 此接口 `endTime` 参数会被 CDN 缓存层校验,必须传入当前毫秒时间戳。
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所(目前仅支持 Binance) | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期:`1m` / `3m` / `5m` | `1m` |
| `endTime` | ✅ | string | 毫秒时间戳(**必须传当前时间**,过期时间会被 CDN 拦截返回 401) | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/orderBook/v2/bySymbol?symbol=BTCUSDT&exchange=Binance&rate=0.01&productType=SWAP&interval=1h&endTime=$NOW&size=10"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/orderBook/getHeatMap?exchange=Binance&symbol=BTCUSDT&interval=1m&endTime=$NOW&size=10"
```
---
### 15. 资金流
#### `GET /api/fund/fundReal` — 实时资金流
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `page` | ✅ | integer | 页码 | `1` |
| `size` | ✅ | integer | 每页数量 | `10` |
| `sortBy` | ✅ | string | 排序字段,如 `h1net`(1h净流入) | `h1net` |
| `sortType` | ✅ | string | `desc` / `asc` | `desc` |
| `baseCoin` | ✅ | string | 币种(传空字符串查全部) | `BTC` |
#### `GET /api/fund/getFundHisList` — 历史资金流
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `size` | ✅ | integer | 数量 | `10` |
| `interval` | ✅ | string | 周期 | `1h` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fund/fundReal?productType=SWAP&page=1&size=10&sortBy=h1net&sortType=desc&baseCoin=BTC"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fund/getFundHisList?baseCoin=BTC&endTime=$NOW&productType=SWAP&size=10&interval=1h"
```
---
### 16. 订单流
#### `GET /api/orderFlow/lists` — 订单流数据
**套餐:VIP3**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所 | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
| `productType` | ✅ | string | `SWAP` / `SPOT` | `SWAP` |
| `tickCount` | ✅ | integer | tick 数量 | `1` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/orderFlow/lists?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=$NOW&size=10&productType=SWAP&tickCount=1"
```
---
### 17. 资金费率
#### `GET /api/fundingRate/hist` — 历史资金费率(跨交易所)
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `exchangeType` | ✅ | string | 计价币类型:`USDT` / `USD`(币本位) | `USDT` |
| `endTime` | ✅ | number | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | integer | 数量 | `10` |
#### `GET /api/fundingRate/current` — 实时资金费率排行
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `type` | ✅ | string | `current` 实时 / `day` 1日 / `week` 1周 / `month` 1月 / `year` 1年 | `current` |
#### `GET /api/fundingRate/accumulated` — 累计资金费率
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `type` | ✅ | string | `day` / `week` / `month` / `year` | `day` |
#### `GET /api/fundingRate/indicator` — 交易对资金费率历史
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `exchange` | ✅ | string | 交易所(Binance / OKX / Bybit / Huobi / Gate / Bitget) | `Binance` |
| `symbol` | ✅ | string | 交易对 | `BTCUSDT` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
#### `GET /api/fundingRate/kline` — 资金费率 K 线
**套餐:VIP1**
参数与 `fundingRate/indicator` 相同。
#### `GET /api/fundingRate/getWeiFr` — 加权资金费率
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `baseCoin` | ✅ | string | 币种 | `BTC` |
| `interval` | ✅ | string | 周期 | `1h` |
| `endTime` | ✅ | string | 毫秒时间戳 | `当前时间戳` |
| `size` | ✅ | string | 数量,最大 500 | `10` |
#### `GET /api/fundingRate/frHeatmap` — 资金费率热力图
**套餐:VIP1**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `type` | ✅ | string | `openInterest` 按持仓 / `marketCap` 按市值 | `marketCap` |
| `interval` | ✅ | string | `1D` / `1W` / `1M` / `6M` | `1M` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fundingRate/current?type=current"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fundingRate/accumulated?type=day"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fundingRate/frHeatmap?type=marketCap&interval=1M"
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/fundingRate/getWeiFr?baseCoin=BTC&interval=1h&endTime=$NOW&size=10"
```
---
### 18. RSI 选币器
#### `GET /api/rsiMap/list` — RSI 指标筛选
**套餐:VIP2**
| 参数 | 必填 | 类型 | 说明 | 示例 |
|------|------|------|------|------|
| `interval` | ✅ | string | 周期(注意大写H/D):`1H` / `4H` / `1D` 等 | `1H` |
| `exchange` | ✅ | string | 交易所 | `Binance` |
```bash
curl -H "apikey: $APIKEY" \
"https://open-api.coinank.com/api/rsiMap/list?interval=1H&exchange=Binance"
```
---
## 枚举值速查
### interval(K线/历史数据周期)
| 值 | 说明 |
|----|------|
| `1m` | 1 分钟 |
| `3m` | 3 分钟 |
| `5m` | 5 分钟 |
| `15m` | 15 分钟 |
| `30m` | 30 分钟 |
| `1h` | 1 小时 |
| `2h` | 2 小时 |
| `4h` | 4 小时 |
| `6h` | 6 小时 |
| `8h` | 8 小时 |
| `12h` | 12 小时 |
| `1d` | 1 天 |
> RSI 选币器使用大写:`1H`、`4H`、`1D`
> 资金费率热力图使用:`1D`、`1W`、`1M`、`6M`
### exchange(主流交易所)
| 值 | 说明 |
|----|------|
| `Binance` | 币安 |
| `OKX` | 欧易 |
| `Bybit` | Bybit |
| `Bitget` | Bitget |
| `Gate` | Gate.io |
| `Huobi` | 火币 |
| `Bitmex` | BitMEX |
| `dYdX` | dYdX |
| `Bitfinex` | Bitfinex |
| `CME` | 芝商所 |
| `Kraken` | Kraken |
| `Deribit` | Deribit |
### productType(产品类型)
| 值 | 说明 |
|----|------|
| `SWAP` | 永续合约 |
| `SPOT` | 现货 |
| `FUTURES` | 交割合约 |
### sortBy 常用字段
| 接口类型 | 常用 sortBy 值 |
|----------|---------------|
| 持仓排行 | `openInterest` |
| 爆仓排行 | `liquidationH24`、`liquidationH12`、`liquidationH8`、`liquidationH4`、`liquidationH1` |
| 价格排行 | `priceChangeH24`、`priceChangeH1`、`priceChangeM5` |
| 交易量排行 | `h24Volume`、`h1Volume` |
| 笔数排行 | `h1Count`、`d1Count`、`h4Count` |
| 资金流 | `h1net`、`h4net`、`h8net`、`h24net` |
| 鲸鱼持仓 | `positionValue`、`unrealizedPnl` |
```
### _meta.json
```json
{
"owner": "a4205586",
"slug": "coinank-openapi-skill",
"displayName": "Coinank Openapi Skill",
"latest": {
"version": "1.0.0",
"publishedAt": 1772313428945,
"commit": "https://github.com/openclaw/skills/commit/6adeb9e3dfbab7e768d4578d9a377bfdcb028969"
},
"history": []
}
```
### references/ETF.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "ETF"
}
],
"paths": {
"/api/etf/getUsBtcEtf": {
"get": {
"summary": "美股BTCETF(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"ETF"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "交易对"
},
"type": {
"type": "string",
"description": "类型"
},
"price": {
"type": "number",
"description": "价格"
},
"marketCap": {
"type": "integer",
"description": "市值"
},
"priceChgRate": {
"type": "number",
"description": "价格变化比"
},
"priceChg": {
"type": "number",
"description": "价格变化"
},
"custodian": {
"type": "string",
"description": "发行机构"
},
"etfName": {
"type": "string",
"description": "名字"
},
"fee": {
"type": "number",
"description": "手续费"
},
"feeWaiver": {
"type": "number",
"description": "手续费减免"
},
"status": {
"type": "string",
"description": "状态"
},
"volume": {
"type": "string",
"description": "交易量"
},
"outstanding": {
"type": "integer",
"description": "流通股"
},
"netInflow": {
"type": "number",
"description": "日净流入"
},
"netInflowDate": {
"type": "integer",
"description": "日净流入日期"
},
"cumNet": {
"type": "number",
"description": "总净流入"
},
"totalNav": {
"type": "number",
"description": "资产净值"
},
"prem": {
"type": "number",
"description": "溢价"
},
"assertVo": {
"type": "object",
"properties": {
"ticker": {
"type": "string"
},
"btcAmount": {
"type": "number",
"description": "BTC总量"
},
"btcAmount24hPercent": {
"type": "number",
"description": "1d变化比"
},
"btcAmount24hChange": {
"type": "number",
"description": "1d变化"
},
"btcAmount7dPercent": {
"type": "number",
"description": "7d变化比"
},
"btcAmount7dChange": {
"type": "number",
"description": "7d变化"
}
},
"required": [
"ticker",
"btcAmount24hChange",
"btcAmount",
"btcAmount7dChange",
"btcAmount7dPercent",
"btcAmount24hPercent"
]
},
"sort": {
"type": "integer"
}
},
"required": [
"custodian",
"etfName",
"fee",
"feeWaiver",
"marketCap",
"price",
"status",
"ticker",
"type",
"volume",
"outstanding",
"priceChg",
"priceChgRate",
"netInflow",
"netInflowDate",
"cumNet",
"totalNav",
"prem",
"assertVo",
"sort"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/etf/getUsEthEtf": {
"get": {
"summary": "美股ETHETF(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"ETF"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "交易对"
},
"type": {
"type": "string",
"description": "类型"
},
"price": {
"type": "number",
"description": "价格"
},
"marketCap": {
"type": "integer",
"description": "市值"
},
"priceChgRate": {
"type": "number",
"description": "价格变化比"
},
"priceChg": {
"type": "number",
"description": "价格变化"
},
"custodian": {
"type": "string",
"description": "发行机构"
},
"etfName": {
"type": "string",
"description": "名字"
},
"fee": {
"type": "number",
"description": "手续费"
},
"feeWaiver": {
"type": "number",
"description": "手续费减免"
},
"status": {
"type": "string",
"description": "状态"
},
"volume": {
"type": "string",
"description": "交易量"
},
"outstanding": {
"type": "integer",
"description": "流通股"
},
"netInflow": {
"type": "number",
"description": "日净流入"
},
"netInflowDate": {
"type": "integer",
"description": "日净流入日期"
},
"cumNet": {
"type": "number",
"description": "总净流入"
},
"totalNav": {
"type": "number",
"description": "资产净值"
},
"prem": {
"type": "number",
"description": "溢价"
},
"assertVo": {
"type": "object",
"properties": {
"ticker": {
"type": "string"
},
"btcAmount": {
"type": "number",
"description": "BTC总量"
},
"btcAmount24hPercent": {
"type": "number",
"description": "1d变化比"
},
"btcAmount24hChange": {
"type": "number",
"description": "1d变化"
},
"btcAmount7dPercent": {
"type": "number",
"description": "7d变化比"
},
"btcAmount7dChange": {
"type": "number",
"description": "7d变化"
}
},
"required": [
"ticker",
"btcAmount24hChange",
"btcAmount",
"btcAmount7dChange",
"btcAmount7dPercent",
"btcAmount24hPercent"
]
},
"sort": {
"type": "integer"
}
},
"required": [
"custodian",
"etfName",
"fee",
"feeWaiver",
"marketCap",
"price",
"status",
"ticker",
"type",
"volume",
"outstanding",
"priceChg",
"priceChgRate",
"netInflow",
"netInflowDate",
"cumNet",
"totalNav",
"prem",
"assertVo",
"sort"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/etf/usBtcInflow": {
"get": {
"summary": "美股BTC ETF净流入流出(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"ETF"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ticker": {
"type": "string"
},
"change": {
"type": "integer"
},
"changeUsd": {
"type": "integer"
}
},
"required": [
"ticker",
"change",
"changeUsd"
]
}
},
"date": {
"type": "integer",
"description": "日期"
},
"change": {
"type": "number",
"description": "变化数量"
},
"changeUsd": {
"type": "number",
"description": "变化金额"
}
},
"required": [
"list",
"date",
"change",
"changeUsd"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/etf/usEthInflow": {
"get": {
"summary": "美股ETH ETF净流入流出(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"ETF"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ticker": {
"type": "string"
},
"change": {
"type": "integer"
},
"changeUsd": {
"type": "integer"
}
},
"required": [
"ticker",
"change",
"changeUsd"
]
}
},
"date": {
"type": "integer",
"description": "日期"
},
"change": {
"type": "number",
"description": "变化数量"
},
"changeUsd": {
"type": "number",
"description": "变化金额"
}
},
"required": [
"list",
"date",
"change",
"changeUsd"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/etf/hkEtfInflow": {
"get": {
"summary": "港股ETH ETF净流入流出 (套餐1)",
"deprecated": false,
"description": "",
"tags": [
"ETF"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "时间"
},
"totalUSD": {
"type": "integer",
"description": "总金额"
},
"totalBTC": {
"type": "integer",
"description": "总BTC"
},
"totalVolume": {
"type": "number",
"description": "总交易量"
},
"totalSeed": {
"type": "integer",
"description": "总资产净值"
},
"totalHoldBtc": {
"type": "number",
"description": "总持有BTC数量"
},
"amcusd": {
"type": "integer",
"description": "AMC 变化金额"
},
"amcbtc": {
"type": "integer",
"description": "AMC 变化数量"
},
"boseraUSD": {
"type": "integer",
"description": "Bosera 变化金额"
},
"boseraBTC": {
"type": "integer",
"description": "Bosera 变化金额"
},
"harvestUSD": {
"type": "integer",
"description": "Harvest 变化金额"
},
"harvestBTC": {
"type": "integer",
"description": "Harvest 变化数量"
}
},
"required": [
"date",
"totalUSD",
"totalBTC",
"totalVolume",
"totalSeed",
"totalHoldBtc",
"amcusd",
"amcbtc",
"boseraUSD",
"boseraBTC",
"harvestUSD",
"harvestBTC"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/K线.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "K线"
}
],
"paths": {
"/api/kline/lists": {
"get": {
"summary": "k线接口(套餐1)",
"deprecated": false,
"description": "返回各个交易所的历史K线\n</br><font color = 'red'> #需要api等级: VIP1及以上</font>",
"tags": [
"K线"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Huobi Bitmex Bitget Gate",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1730084910500",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "5m",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP 合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "开始时间"
},
{
"type": "number",
"description": "结束时间",
"nullable": true
},
{
"type": "number",
"description": "开盘"
},
{
"type": "number",
"description": "收盘"
},
{
"type": "number",
"description": "最高价"
},
{
"type": "number",
"description": "最低价"
},
{
"type": "number",
"description": "成交量(okx返回张)"
},
{
"type": "number",
"description": "成交额",
"nullable": true
},
{
"type": "number",
"description": "成交笔数",
"nullable": true
},
{
"type": "number",
"description": "成交量(币)针对okx返回",
"nullable": true
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/RSI选币器.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "RSI选币器"
}
],
"paths": {
"/api/rsiMap/list": {
"get": {
"summary": "RSI (套餐2)",
"deprecated": false,
"description": "Returns rsi data for all Binance trading pairs by time level\n</br><font color = 'red'> # Required API Level: VIP2 and Above</font>",
"tags": [
"RSI选币器"
],
"parameters": [
{
"name": "interval",
"in": "query",
"description": "1H,4H,8H,24H",
"required": true,
"example": "1H",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "Binance",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"symbol": {
"type": "array",
"items": {
"type": "string"
},
"description": "交易对列表"
},
"length": {
"type": "integer"
},
"lookback": {
"type": "integer"
},
"rsiMap": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"description": "交易对"
},
{
"type": "number",
"description": "rsi最新值"
},
{
"type": "string",
"description": "rsi最新第二个值"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"description": "rsi值列表"
}
]
}
}
},
"ts": {
"type": "integer"
}
},
"required": [
"symbol",
"length",
"lookback",
"rsiMap",
"ts"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/hyperLiquid鲸鱼.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "hyperLiquid鲸鱼"
}
],
"paths": {
"/api/hyper/topPosition": {
"get": {
"summary": "鲸鱼持仓列表(套餐2)",
"deprecated": false,
"description": "返回大于100万持仓的仓位列表",
"tags": [
"hyperLiquid鲸鱼"
],
"parameters": [
{
"name": "sortBy",
"in": "query",
"description": "排序字段",
"required": true,
"example": "positionValue",
"schema": {
"type": "string"
}
},
{
"name": "sortType",
"in": "query",
"description": "desc 降序 asc 升序",
"required": true,
"example": "desc",
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"description": "当前页",
"required": true,
"example": "1",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "每页大小 默认50",
"required": true,
"example": "50",
"schema": {
"type": "string"
}
},
{
"name": "baseCoin",
"in": "query",
"description": "币种 可不填",
"required": false,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "search",
"in": "query",
"description": "搜索地址 可不填",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "unPnl",
"in": "query",
"description": "1盈利 2亏损 可不填",
"required": false,
"example": "1",
"schema": {
"type": "string"
}
},
{
"name": "side",
"in": "query",
"description": "Long 多单 Short 空单 可不填",
"required": false,
"example": "Long",
"schema": {
"type": "string"
}
},
{
"name": "fund",
"in": "query",
"description": "1 盈利 2亏损 可不填",
"required": false,
"example": "1",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "地址"
},
"baseCoin": {
"type": "string",
"description": "币种"
},
"price": {
"type": "number",
"description": "当前价格"
},
"side": {
"type": "string",
"description": "持仓方向 Long Short"
},
"positionValue": {
"type": "number",
"description": "仓位金额"
},
"size": {
"type": "number",
"description": "仓位数量"
},
"unrealizedPnl": {
"type": "number",
"description": "未实现盈利"
},
"liquidationPx": {
"type": "number",
"description": "爆仓价格"
},
"marginUsed": {
"type": "number",
"description": "保证金"
},
"leverage": {
"type": "integer",
"description": "杠杆"
},
"cumFunding": {
"type": "number",
"description": "累计资金费率"
},
"type": {
"type": "string",
"description": "类型 cross 全仓 isolated 逐仓"
},
"entryPx": {
"type": "number",
"description": "开仓价格"
},
"ts": {
"type": "integer",
"description": "排序时间戳"
},
"maxPosition": {
"type": "number",
"description": "最大仓位"
},
"state": {
"type": "integer",
"description": "仓位状态 1 持有 2平仓"
},
"createdAt": {
"type": "integer",
"description": "创建时间"
},
"updateTs": {
"type": "integer",
"description": "修改时间"
}
},
"required": [
"address",
"baseCoin",
"price",
"side",
"positionValue",
"size",
"unrealizedPnl",
"liquidationPx",
"marginUsed",
"leverage",
"cumFunding",
"type",
"entryPx",
"ts",
"maxPosition",
"state",
"createdAt",
"updateTs"
]
}
}
},
"required": [
"list"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/hyper/topAction": {
"get": {
"summary": "鲸鱼最新动态(套餐2)",
"deprecated": false,
"description": "返回最近的20条 平仓或者开仓记录,按时间排序",
"tags": [
"hyperLiquid鲸鱼"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/净多头和净空头.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "净多头和净空头"
}
],
"paths": {
"/api/netPositions/getNetPositions": {
"get": {
"summary": "净多头和净空头 (套餐3)",
"deprecated": false,
"description": "返回固定周期内的多头和空头持仓变化,需要从一个时间点开始累计\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"净多头和净空头"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance,OKX,Bybit,Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725978872354",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"begin": {
"type": "integer",
"description": "time"
},
"netLongsHigh": {
"type": "integer",
"description": "net long high"
},
"netLongsClose": {
"type": "integer",
"description": "net long close"
},
"netLongsLow": {
"type": "integer",
"description": "net long low"
},
"netShortsClose": {
"type": "integer",
"description": "net short high"
},
"netShortsHigh": {
"type": "integer",
"description": "net shortclose"
},
"netShortsLow": {
"type": "integer",
"description": "net short low"
}
},
"required": [
"begin",
"netLongsHigh",
"netLongsClose",
"netLongsLow",
"netShortsClose",
"netShortsHigh",
"netShortsLow"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/多空比.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "多空比"
}
],
"paths": {
"/api/longshort/buySell": {
"get": {
"summary": "币种主动买卖多空比 (套餐3)",
"deprecated": false,
"description": "返回一段时间内的币种聚合的主动买卖比值\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "币种",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "5m",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"longRatios": {
"type": "array",
"items": {
"type": "number"
},
"description": "多单比值列表"
},
"shortRatios": {
"type": "array",
"items": {
"type": "number"
},
"description": "空单比值列表"
},
"tss": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"interval": {
"type": "string"
},
"baseCoin": {
"type": "string"
}
},
"required": [
"longRatios",
"shortRatios",
"tss",
"interval",
"baseCoin"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"longRatios": [
198816743.7876563,
205258299.00733852,
278745210.09757376,
156142746.7221918,
240282123.30400324,
146394092.52415228,
110299567.53964233,
126868638.04631615,
272373837.1824603,
260983826.21405983,
43460641.00524855,
72652224.61895943,
224811554.22212696,
95484725.36542702,
214808311.04068756,
92864868.4446392,
33651276.61426544,
85186253.28837825,
155755643.5470741,
74278669.37454891,
35170404.34001112,
29462348.800171852,
69724078.98460579,
96563329.4279728,
101538505.1909185,
123685515.95965275,
23240041.414653778,
62360818.58841783,
32505911.718826294,
68197576.47996157,
41837663.636870004,
42434268.5529995,
53682435.90827513,
28577037.232562043,
13269636.92831707,
14312513.244859695,
23952454.536254883,
22544643.817708492,
33902306.31067049,
63358666.31284523,
21202722.253525734,
20851822.1405859,
21987829.628417127,
20357470.55366993,
29011613.06963396,
29501269.20379545,
38922602.563438416,
85104166.6784296,
46354518.22658306,
33664755.92944527,
30639672.992916107,
45553066.49657726,
25647355.966300964,
24286151.17084074,
63498701.08631353,
151087381.40225172,
79844345.50825128,
36149729.55158663,
34186938.235014915,
44980503.41330242,
39079967.721580505,
54852006.48625326,
76082991.55702877,
122662755.03851795,
83003438.32979488,
38204845.53400707,
55314573.410291195,
48520146.41616972,
41199651.25857067,
31596409.172770537,
41290803.793960094,
40770113.25818968,
45726909.58406639,
50117457.09147024,
206609336.9944563,
74051935.19585991,
25866445.430119514,
50326734.57698631,
122954115.75768614,
48298588.21741724,
61894875.31808424,
123719008.31382471,
250557364.55757916,
315289003.9513924,
38130958.30671644,
35511159.04204416,
33910752.47499275,
25682148.98435545,
11442223.669454575,
17883649.02546978,
13718850.497654915,
19793082.8734107,
30660674.0254941,
26010824.72808361,
26259994.99723959,
21486547.252413273,
26901550.356992245,
19025841.90204048,
31591523.1825099,
29944863.774801254,
25178261.036738396,
35940774.8832283,
31569671.7728858,
85016071.59444714,
31110407.495834827,
56112584.14251852,
143299212.63423634,
95709846.89690256,
90895561.61995411,
33156177.66259384,
74615260.94430923,
61338616.687826656,
25965906.09231472,
25610497.149269104,
49409641.40685701,
71842340.0162344,
146696478.76685333,
21829304.741889954,
29774740.75202942,
59783755.13213158,
71767744.56825256,
36823778.59562111,
42977284.617572784,
47583152.36115074,
55632975.21299744,
34894350.304000854,
23205311.314449787,
37701411.124967575,
21686284.557302475,
30023341.022497177,
41553774.08541298,
46283864.69227791,
49896118.69260883,
38781651.13475418,
49508050.520171165,
22736812.28235817,
8230925.507481575,
20775997.403407574,
14092756.545712948,
35210037.631400585,
24087392.08896303,
112710897.334589,
41433150.49185467,
51570606.31632042,
20509309.6046772,
32966459.880693436,
38965840.96015644,
46642963.22317076,
58439651.88974857,
51488501.619360924,
38065949.910416126,
35558790.72830725,
41565980.28334955,
37752998.21533108,
41211700.63600664,
36297556.9912405,
23314783.430535793,
34835819.72045803,
29654951.33524275,
62814382.25828007,
56213900.98838806,
43718226.59861565,
48877895.548977375,
49902345.14966059,
87859517.51476955,
99176825.30389023,
88712009.00921965,
80926021.48061848,
149881255.74794054,
93762279.87288189,
81309177.80420399,
117704358.79950142,
91699814.97586393,
30590519.505540848,
16592507.579315186,
20139233.86227274,
19793450.638387203,
28342640.184440613,
25453658.54161024,
36542899.467234135,
112657582.82790995,
65050477.30987978,
56411839.07853794,
67817334.34267569,
32554161.11725235,
46244393.536146164,
40309947.83443022,
45613078.62456083,
35929251.917286396,
22999142.094284534,
32067234.711763382,
34281644.92890167,
59748241.59485769,
44518729.2993927,
82082232.14743614,
128143465.28649902,
96442791.5022974,
63756519.65138245,
153640285.86781722,
109016725.40823936,
73964967.57004929,
94754602.91905355,
157513088.4313345,
179098145.87320995,
1116637450.0849075,
693732120.6690603,
83748767.9145441,
39169103.143484116,
33441016.06579399,
29393612.580023766,
55037215.956474304,
36558951.57334709,
60971359.765582085,
29498546.11282301,
26555998.814348698,
22034151.181200504,
89834263.8990817,
46195036.16658449,
60668469.61721134,
196658794.84001887,
237492932.94416434,
250518744.47773743,
53174777.54628282,
120027890.3090263,
241628340.01289606,
70572466.56300783,
164652082.70858574,
39826277.55055809,
68983198.43145323,
242797491.03809452,
90649024.67433357,
50842276.91114998,
42095936.3660903,
75707345.01364422,
104955259.5934,
67583105.11407423,
91439547.72934341,
81136229.09231663,
69166505.42452526,
36651784.63400316,
69792937.75402927,
140426844.28201866,
408909170.4666743,
83936146.13716745,
44865516.29931831,
76196582.40390301,
91821198.65350819,
115430993.18780756,
189699835.59920645,
104624036.90373516,
81466245.6252861,
79000738.29740095,
95818334.97830057,
256061380.86232615,
443565616.2505479,
301570531.33167505,
136342389.42518806,
205769105.54148072,
355651408.8380201,
173718202.85071528,
177517381.47108805,
329669718.5399087,
110932413.71992981,
706556587.3756003,
196475916.55555642,
777980838.8446416,
110750734.99740505,
114567710.91070083,
35093160.6600132,
64919005.66624832,
174285710.20085287,
38322967.28885412,
87820378.73884583,
158463092.2118969,
80713636.8327651,
88544536.84985065,
110338082.78170204,
161568746.68059683,
310905422.1925053,
138683930.23722705,
78769368.0022955,
135759472.94086933,
109562032.23254728,
121428033.70140266,
209647834.79052263,
390948649.8797798,
130437314.91275501,
191422925.6773734,
279907524.0064993,
105508522.5320034,
184896988.03592205,
163655086.53158092,
305425100.77691895,
370829899.216733,
92175414.16440105,
113463488.01392053,
164193094.195889,
166379957.5825386,
64625876.006767996,
267659467.37743807,
306897081.78306913,
35757532.576805115,
47438683.546410084,
44047926.27207422,
57853843.80595446,
98557723.4036622,
44263886.40511274,
52385447.55809879,
108855588.75851631,
95789369.8281269,
128670576.78305626,
69469996.02157497,
33839194.986252956,
99278885.90246631,
31369333.86434889,
32388680.660885334,
22554393.61016798,
14884767.680467606,
20799830.588618755,
22024316.10133362,
28014876.432686806,
35367361.37435436,
56566169.83044443,
33578017.85358715,
22181754.346295834,
34954924.378894806,
33190983.346137524,
28881550.983669393,
14161787.227488555,
17331466.83478119,
20240936.411800385,
20093953.6696496,
27807603.3516531,
74231862.5409069,
121564528.25907803,
57021130.039192386,
103990951.9619093,
56267903.5932188,
160134813.70039678,
53551676.92576456,
48651925.784060955,
67976447.98348093,
27499784.542378426,
40231370.11161566,
45900481.99777079,
28536359.757416725,
27703807.297502518,
52331386.52661228,
74649500.75038815,
132293655.07871532,
502572708.19550586,
83355343.87001276,
41670053.11076927,
28617415.164400578,
39528655.182401486,
41965404.37530239,
46359101.88029623,
182538797.19586784,
97728662.17151642,
53231708.137048244,
34481391.496507645,
55448557.250947475,
162196848.11252022,
135967727.56419754,
17269666.41999817,
45714420.82973671,
21256472.449516296,
53045762.58965111,
90053400.98644882,
54777121.14437246,
16327749.546616554,
27392104.905114174,
25635581.530627728,
27460639.40816593,
42768685.49599886,
39705348.11133289,
40204580.89855099,
18725648.608073235,
24864638.1850379,
21858771.442048073,
74745538.29920006,
112754775.68211079,
31779792.758227825,
17471070.74780321,
58394720.586340904,
41303712.705841064,
67082036.51042175,
46910583.88282108,
41282503.37288475,
121538842.01778412,
118804657.58296871,
35727964.82973051,
78003394.34054804,
21261301.434487343,
23168749.19731331,
24857973.89204693,
48559077.18714571,
77267951.68183279,
128638493.58165455,
27453647.03585434,
19376450.324371338,
29883564.890871048,
73527452.74713707,
24145641.27426529,
27024549.074396133,
54251103.103097916,
82219454.45941734,
33771359.31661415,
32431186.2431736,
47583526.34608555,
21829412.856063843,
30616767.04335022,
30413383.36363983,
23243822.01351118,
41230628.06443167,
55511444.062627316,
60096354.574178696,
88173694.88237762,
85049832.82183266,
70095509.1859026,
75539542.2307291,
36278661.56321335,
26082416.84559059,
29636291.372021675,
48238682.08419132,
46166276.84318924,
33989453.24456787,
19008902.213949203,
43643281.75991821,
46130109.077301025,
23556136.28171158,
31628543.20647812,
35959952.14512062,
31121775.359657288,
47512174.39094139,
45399206.15451431,
28377309.0141716,
50145369.43159199,
41999929.623560905,
91681338.42927504,
64993611.05842209,
38670186.98393059,
42234853.49536896,
74763980.6372757,
39774294.719537735,
50607481.83447106,
111672942.12056637,
341218133.2905408,
65113177.996198654,
99114280.59953165,
84649195.06277561,
31019876.69308853,
37932249.27636337,
48664148.03609848,
45966753.99287033,
86005778.77907234,
97602804.0654068,
202416260.83473778,
70182919.28821898,
56605817.1738224,
47946933.34474802,
42255970.91820669,
52266852.85061455,
40883779.346889496,
30387812.528876305,
35358752.7513175,
78099056.6978923,
82195350.91752625,
38964108.311163425,
46585166.41841602,
159885485.5482788,
148898730.18633318,
139106238.87588072,
45477473.82629919,
93247531.76767302,
94521892.25487328,
110983921.30894566,
612266676.2934517,
211570207.76456356,
523199074.93514884,
519111037.0909939,
71261650.11806345,
74455027.42807674,
109302821.21476078,
15729862.168140411,
15384595.684733868,
6034183.996341705,
14124875.874770164,
49198247.8290143,
57329689.5699625,
45291563.555199146,
33953975.17840099,
50820583.973918915,
123981204.38907146,
186202662.1444068,
19219125.23370695,
34660084.38172942,
80979404.43452454,
18666203.000593185
],
"shortRatios": [
182604072.65362978,
284933107.0358777,
270705068.33322287,
150641588.88534546,
238944658.2968254,
104793351.04427814,
107185862.0841012,
90271068.38979034,
349718028.52989626,
310249789.2719035,
49016727.12458086,
53282249.50932741,
290173875.94403696,
96288365.27991724,
330414929.873919,
131363698.49396658,
41468800.77972078,
132766619.96829891,
118596390.1166873,
43806798.45627451,
30224475.052406788,
63338990.29471874,
55565710.41860008,
153569010.38415718,
69629816.11876869,
50512968.29657703,
47308951.04712582,
57238256.70030975,
45431073.61156607,
60031009.14460564,
21916488.800907135,
45028944.9989463,
81909172.13121367,
32329637.49736309,
21924928.792238235,
37840979.1837244,
25085970.27851391,
37032808.47545624,
31503591.562969208,
42076983.577819824,
20668158.212099552,
20264692.472236633,
29980555.466869354,
33866738.069467545,
24059629.390812397,
24700823.10560131,
31961806.22991085,
63594883.27902317,
49673478.903878324,
61655473.09811783,
50923040.80016327,
43655391.248594284,
74372293.3196969,
31998749.471901894,
67443062.48235519,
76574319.40911436,
43469597.490618706,
48005058.109827995,
26361314.753268242,
32345136.51467991,
25922946.278181076,
59662765.430720806,
56952129.324994616,
148004052.69739532,
142034968.60758117,
67135438.23827764,
53647479.40085554,
98997729.89781666,
93209403.40935683,
30000015.27505684,
48880006.864188194,
60598002.39806366,
52047111.085799694,
77382016.07982206,
115631210.42031384,
61878951.12657499,
28531116.930465333,
91840771.07274151,
79967386.16902119,
57404647.47676182,
49510919.796188354,
86012857.65490448,
239403616.00018597,
172098790.932837,
20795672.85864973,
29561736.266031742,
34962444.909265995,
27606040.05048752,
13545515.84206926,
18925960.36838209,
15444466.35212183,
20820192.64342642,
17331692.929634094,
18787479.10590315,
14875268.968554609,
30887155.539762974,
25286018.504214875,
27608177.49009037,
68046529.47808504,
49577114.78744745,
32035946.98903942,
22724484.59796095,
37090594.6033802,
63684673.43041468,
45044188.45332861,
91837002.39993382,
71993057.28394651,
54924716.01468325,
50615084.89126158,
28071453.909107283,
60422757.786438525,
26865905.469615936,
17723446.2437191,
36625437.045457,
32543231.160696507,
54244008.18201311,
236534023.4048965,
34107206.097156525,
41394265.9358592,
39159450.192881696,
38947167.27212906,
23010694.536663055,
32560117.642525937,
32922144.641541004,
50790782.476822145,
85106844.83146136,
22429101.681405067,
51663985.37080635,
38838992.76718681,
43843194.31653452,
20590207.06845045,
22440233.924464338,
60361350.13435125,
62877257.848210424,
99473830.29155076,
25510037.373231046,
9514825.681585312,
17982127.39710903,
21050929.592403412,
20576267.97943175,
29053064.836459637,
52371914.30011892,
27726645.20498848,
85369144.05060005,
23347946.79746109,
32308016.982657433,
28712224.824622154,
53176544.660397075,
28045347.358522415,
33242293.950315,
69712167.40908241,
51303890.70617771,
33454184.994190484,
58014714.28004122,
35161283.918483734,
52161534.43707662,
88682825.66538405,
34224915.569911,
27100925.31279087,
63350562.65182924,
39353535.220047474,
36636629.58935356,
40871094.21504593,
42518852.43147564,
42452596.50264549,
63229955.077394485,
79346802.08177596,
83579585.6263423,
123907763.33892202,
176574365.02726555,
77711048.16517448,
136591363.19704136,
89417764.50596905,
65111488.23972702,
18974224.072163105,
32198183.104685783,
29026898.401837826,
30460911.243214663,
38904849.916056156,
18994225.603072222,
37246790.39885712,
35666719.36315107,
42938672.238264084,
128770812.5696755,
28600328.888929844,
45888196.94755613,
54918000.06826115,
47474910.43835902,
56963838.949771464,
40452775.11168718,
36170036.37424946,
46713233.97102356,
50383840.45372963,
54951668.99391419,
103353588.12760738,
111137782.93229346,
62605490.30782509,
55517104.83872604,
120248702.68348217,
172989071.51555777,
104544925.93155861,
152182169.6026368,
115927196.30160856,
213019655.96940184,
854874377.4667203,
313037274.1154181,
50860180.13130268,
26047593.07847786,
46534751.95295242,
62162050.54896164,
28839693.977337457,
25720475.35446644,
41311782.18851757,
22716265.91558277,
21003508.47423172,
50099686.75889355,
58734080.480471134,
86713342.43121862,
71633629.52125406,
234429646.98155832,
231577656.84439778,
128617052.14913082,
56530267.65580511,
103233192.31732321,
196004658.65515566,
88430524.91627264,
94601833.09571266,
62771965.90150505,
77584097.97939171,
227082883.37829423,
63044181.98984766,
42297665.696544684,
58980265.095400885,
84635777.39058065,
78057528.62768269,
71614984.47417508,
79679337.28592895,
88286632.53433876,
50393264.403317735,
37586706.333648205,
76896139.43566762,
187124997.91391522,
457424846.193234,
65775397.87408352,
58657437.6281413,
88489305.95821476,
63228695.43072292,
168302193.79775968,
167235111.61248446,
125427634.36261792,
72503582.39079152,
110739525.2549832,
111737205.03192489,
398680722.5621139,
317722774.9540236,
377063154.41165704,
128922714.30745935,
191409848.38318992,
275584386.60526043,
117764171.97585644,
278422321.6272402,
221555186.50324392,
165101530.40951538,
506968764.9158287,
256678823.07745695,
511471178.25454617,
79554773.25711823,
83641791.5243082,
44461319.287140846,
60334893.56888771,
110968690.39553165,
62034589.91630745,
87682646.84307814,
135175162.46303225,
59560099.28191376,
70969595.1384921,
97167938.76267411,
244464072.53299427,
240710593.9888358,
118679863.57098293,
100042401.75972795,
94912244.71860123,
110916865.34207535,
100866389.90161514,
236263387.86517772,
471237272.06687057,
199093388.47168076,
157479730.95538235,
374190226.88910246,
124629222.04073429,
219625570.78086472,
212131423.59680843,
225777075.1951809,
270668175.6420803,
104085266.28311543,
112344627.10528564,
163631330.03994426,
170196272.9504156,
75739945.51230626,
228018159.24488974,
162945186.93317366,
23805217.77434349,
43890100.731888294,
53072555.07754908,
61000322.7320776,
36661009.333726406,
32336010.52415197,
49838250.47582722,
84225936.55802727,
62732358.58325863,
199120973.46832848,
74306895.4553113,
24897307.008100986,
148922759.3681407,
29527848.83872223,
30715469.711482525,
15108612.079479694,
15599820.015758991,
24691925.208277702,
17634519.732713223,
19301481.200336456,
40734548.593426704,
22015629.418951165,
26399979.294160843,
45584016.580078125,
32709478.08656311,
52419086.235348225,
54868168.67377329,
21137746.24414444,
21672006.905435562,
16660132.03343153,
35928181.21838236,
34063250.73398781,
110619103.34720945,
89632503.09407091,
52395877.156261444,
71899733.2164526,
45776663.15505409,
81527814.91070747,
50228557.223870754,
34161161.56464863,
115266055.94582176,
45548494.46213055,
51346707.60675764,
60744203.33808088,
25568881.18483448,
52576429.84144163,
38697469.396505356,
100314595.02138758,
255672006.4588728,
318894320.45999575,
52153183.71750641,
27694840.146958828,
39454566.77735567,
51162561.92385006,
40571479.31475401,
93924680.2614069,
128274834.15645981,
80613939.07941341,
43474524.53357458,
41302474.94535637,
59402723.46038771,
118002730.79359531,
66192789.01709747,
18064268.846683502,
48968661.331624754,
41696463.27026558,
88730307.45861244,
62540775.23213005,
34346886.5524683,
15929294.822981834,
19455860.876074314,
15975226.913739204,
31722738.442148685,
69717130.4799855,
31237100.721956253,
25116265.04053402,
14561153.49483633,
24386449.859329224,
24742622.507275105,
88829255.73422241,
66198772.609488964,
24648389.85632944,
30124470.666256905,
51539390.11859989,
29943178.524090767,
35014587.29229307,
30353288.563821316,
32044456.8816123,
106248049.92805298,
144554529.6563897,
84332284.40283585,
30135971.38885498,
16598241.246860981,
25465929.368334293,
23785617.806488514,
59938336.07406902,
50602256.8501811,
143505533.319232,
42897808.85507679,
21504464.590145588,
39784133.771886826,
42674811.02544594,
17138593.95667076,
38625776.99404526,
26514331.276968002,
87033050.66888809,
44466720.663469315,
41637708.06925308,
58500238.32266617,
31647377.365894318,
31165923.252548218,
45086183.703409195,
38885378.32842779,
50343431.36000445,
50969614.00092125,
69051556.07356262,
52142644.03851795,
69341490.26689148,
61138058.24382353,
111566797.85622862,
29554528.890514374,
35969058.41957474,
46045940.714092255,
37499834.40311909,
25393600.38774872,
20567897.377834853,
13378365.27253151,
32303602.407915592,
51308280.54279804,
24239225.071692962,
31450393.513986208,
49648274.99920998,
18318550.653194427,
31553677.767673492,
55937730.46275047,
26191185.52023506,
71389272.86978483,
34983035.254292965,
81654335.18980742,
72564144.81797607,
52723090.73066521,
38567536.25301552,
63753597.5598436,
86710767.22216272,
77201113.17411862,
157544120.01997232,
248067330.73409557,
58687272.652051926,
79877053.34009552,
115130692.24546623,
61188589.56518936,
33164032.501167297,
65401753.06672096,
64462345.55145359,
84368919.78345203,
83513277.65351868,
230431229.2970581,
57256834.91169883,
68040116.80587673,
52921852.44806814,
67790325.39854622,
33799114.1076355,
28967257.681425095,
38928907.104411125,
53441955.57848978,
78698783.09754848,
62165791.492673874,
68877542.88701487,
48339373.35063816,
178130916.32718888,
99650613.44526148,
187733474.72382337,
53877753.61012268,
60409816.05071449,
115545771.37957649,
120619701.00245145,
781743269.2166834,
197455048.1587758,
440183853.03441477,
338268256.0253272,
23296945.324219227,
108918858.63180399,
124894254.48312187,
9561020.095738411,
13862888.728627205,
9800438.387285996,
16114567.861161709,
41948586.37953472,
33842109.00426626,
46367683.97104359,
72666297.68994379,
50747327.931303024,
116774688.02367401,
40082605.48210859,
19500535.77128887,
22525721.427244186,
46070545.592870235,
10668282.971948147
],
"tss": [
1725977700000,
1725977400000,
1725977100000,
1725976800000,
1725976500000,
1725976200000,
1725975900000,
1725975600000,
1725975300000,
1725975000000,
1725974700000,
1725974400000,
1725974100000,
1725973800000,
1725973500000,
1725973200000,
1725972900000,
1725972600000,
1725972300000,
1725972000000,
1725971700000,
1725971400000,
1725971100000,
1725970800000,
1725970500000,
1725970200000,
1725969900000,
1725969600000,
1725969300000,
1725969000000,
1725968700000,
1725968400000,
1725968100000,
1725967800000,
1725967500000,
1725967200000,
1725966900000,
1725966600000,
1725966300000,
1725966000000,
1725965700000,
1725965400000,
1725965100000,
1725964800000,
1725964500000,
1725964200000,
1725963900000,
1725963600000,
1725963300000,
1725963000000,
1725962700000,
1725962400000,
1725962100000,
1725961800000,
1725961500000,
1725961200000,
1725960900000,
1725960600000,
1725960300000,
1725960000000,
1725959700000,
1725959400000,
1725959100000,
1725958800000,
1725958500000,
1725958200000,
1725957900000,
1725957600000,
1725957300000,
1725957000000,
1725956700000,
1725956400000,
1725956100000,
1725955800000,
1725955500000,
1725955200000,
1725954900000,
1725954600000,
1725954300000,
1725954000000,
1725953700000,
1725953400000,
1725953100000,
1725952800000,
1725952500000,
1725952200000,
1725951900000,
1725951600000,
1725951300000,
1725951000000,
1725950700000,
1725950400000,
1725950100000,
1725949800000,
1725949500000,
1725949200000,
1725948900000,
1725948600000,
1725948300000,
1725948000000,
1725947700000,
1725947400000,
1725947100000,
1725946800000,
1725946500000,
1725946200000,
1725945900000,
1725945600000,
1725945300000,
1725945000000,
1725944700000,
1725944400000,
1725944100000,
1725943800000,
1725943500000,
1725943200000,
1725942900000,
1725942600000,
1725942300000,
1725942000000,
1725941700000,
1725941400000,
1725941100000,
1725940800000,
1725940500000,
1725940200000,
1725939900000,
1725939600000,
1725939300000,
1725939000000,
1725938700000,
1725938400000,
1725938100000,
1725937800000,
1725937500000,
1725937200000,
1725936900000,
1725936600000,
1725936300000,
1725936000000,
1725935700000,
1725935400000,
1725935100000,
1725934800000,
1725934500000,
1725934200000,
1725933900000,
1725933600000,
1725933300000,
1725933000000,
1725932700000,
1725932400000,
1725932100000,
1725931800000,
1725931500000,
1725931200000,
1725930900000,
1725930600000,
1725930300000,
1725930000000,
1725929700000,
1725929400000,
1725929100000,
1725928800000,
1725928500000,
1725928200000,
1725927900000,
1725927600000,
1725927300000,
1725927000000,
1725926700000,
1725926400000,
1725926100000,
1725925800000,
1725925500000,
1725925200000,
1725924900000,
1725924600000,
1725924300000,
1725924000000,
1725923700000,
1725923400000,
1725923100000,
1725922800000,
1725922500000,
1725922200000,
1725921900000,
1725921600000,
1725921300000,
1725921000000,
1725920700000,
1725920400000,
1725920100000,
1725919800000,
1725919500000,
1725919200000,
1725918900000,
1725918600000,
1725918300000,
1725918000000,
1725917700000,
1725917400000,
1725917100000,
1725916800000,
1725916500000,
1725916200000,
1725915900000,
1725915600000,
1725915300000,
1725915000000,
1725914700000,
1725914400000,
1725914100000,
1725913800000,
1725913500000,
1725913200000,
1725912900000,
1725912600000,
1725912300000,
1725912000000,
1725911700000,
1725911400000,
1725911100000,
1725910800000,
1725910500000,
1725910200000,
1725909900000,
1725909600000,
1725909300000,
1725909000000,
1725908700000,
1725908400000,
1725908100000,
1725907800000,
1725907500000,
1725907200000,
1725906900000,
1725906600000,
1725906300000,
1725906000000,
1725905700000,
1725905400000,
1725905100000,
1725904800000,
1725904500000,
1725904200000,
1725903900000,
1725903600000,
1725903300000,
1725903000000,
1725902700000,
1725902400000,
1725902100000,
1725901800000,
1725901500000,
1725901200000,
1725900900000,
1725900600000,
1725900300000,
1725900000000,
1725899700000,
1725899400000,
1725899100000,
1725898800000,
1725898500000,
1725898200000,
1725897900000,
1725897600000,
1725897300000,
1725897000000,
1725896700000,
1725896400000,
1725896100000,
1725895800000,
1725895500000,
1725895200000,
1725894900000,
1725894600000,
1725894300000,
1725894000000,
1725893700000,
1725893400000,
1725893100000,
1725892800000,
1725892500000,
1725892200000,
1725891900000,
1725891600000,
1725891300000,
1725891000000,
1725890700000,
1725890400000,
1725890100000,
1725889800000,
1725889500000,
1725889200000,
1725888900000,
1725888600000,
1725888300000,
1725888000000,
1725887700000,
1725887400000,
1725887100000,
1725886800000,
1725886500000,
1725886200000,
1725885900000,
1725885600000,
1725885300000,
1725885000000,
1725884700000,
1725884400000,
1725884100000,
1725883800000,
1725883500000,
1725883200000,
1725882900000,
1725882600000,
1725882300000,
1725882000000,
1725881700000,
1725881400000,
1725881100000,
1725880800000,
1725880500000,
1725880200000,
1725879900000,
1725879600000,
1725879300000,
1725879000000,
1725878700000,
1725878400000,
1725878100000,
1725877800000,
1725877500000,
1725877200000,
1725876900000,
1725876600000,
1725876300000,
1725876000000,
1725875700000,
1725875400000,
1725875100000,
1725874800000,
1725874500000,
1725874200000,
1725873900000,
1725873600000,
1725873300000,
1725873000000,
1725872700000,
1725872400000,
1725872100000,
1725871800000,
1725871500000,
1725871200000,
1725870900000,
1725870600000,
1725870300000,
1725870000000,
1725869700000,
1725869400000,
1725869100000,
1725868800000,
1725868500000,
1725868200000,
1725867900000,
1725867600000,
1725867300000,
1725867000000,
1725866700000,
1725866400000,
1725866100000,
1725865800000,
1725865500000,
1725865200000,
1725864900000,
1725864600000,
1725864300000,
1725864000000,
1725863700000,
1725863400000,
1725863100000,
1725862800000,
1725862500000,
1725862200000,
1725861900000,
1725861600000,
1725861300000,
1725861000000,
1725860700000,
1725860400000,
1725860100000,
1725859800000,
1725859500000,
1725859200000,
1725858900000,
1725858600000,
1725858300000,
1725858000000,
1725857700000,
1725857400000,
1725857100000,
1725856800000,
1725856500000,
1725856200000,
1725855900000,
1725855600000,
1725855300000,
1725855000000,
1725854700000,
1725854400000,
1725854100000,
1725853800000,
1725853500000,
1725853200000,
1725852900000,
1725852600000,
1725852300000,
1725852000000,
1725851700000,
1725851400000,
1725851100000,
1725850800000,
1725850500000,
1725850200000,
1725849900000,
1725849600000,
1725849300000,
1725849000000,
1725848700000,
1725848400000,
1725848100000,
1725847800000,
1725847500000,
1725847200000,
1725846900000,
1725846600000,
1725846300000,
1725846000000,
1725845700000,
1725845400000,
1725845100000,
1725844800000,
1725844500000,
1725844200000,
1725843900000,
1725843600000,
1725843300000,
1725843000000,
1725842700000,
1725842400000,
1725842100000,
1725841800000,
1725841500000,
1725841200000,
1725840900000,
1725840600000,
1725840300000,
1725840000000,
1725839700000,
1725839400000,
1725839100000,
1725838800000,
1725838500000,
1725838200000,
1725837900000,
1725837600000,
1725837300000,
1725837000000,
1725836700000,
1725836400000,
1725836100000,
1725835800000,
1725835500000,
1725835200000,
1725834900000,
1725834600000,
1725834300000,
1725834000000,
1725833700000,
1725833400000,
1725833100000,
1725832800000,
1725832500000,
1725832200000,
1725831900000,
1725831600000,
1725831300000,
1725831000000,
1725830700000,
1725830400000,
1725830100000,
1725829800000,
1725829500000,
1725829200000,
1725828900000,
1725828600000,
1725828300000
],
"exchange": "",
"interval": "5m",
"baseCoin": "BTC"
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/longshort/realtimeAll": {
"get": {
"summary": "交易所实时多空比(套餐1)",
"deprecated": false,
"description": "返回根据交易所聚合统计的多空比.\n</br><font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "比值",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "5m",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"baseCoin": {
"type": "string",
"description": "币"
},
"exchangeName": {
"type": "string",
"description": "交易所"
},
"sellTradeTurnover": {
"type": "integer",
"description": "空单总金额"
},
"buyTradeTurnover": {
"type": "integer",
"description": "多单总金额"
}
},
"required": [
"baseCoin",
"exchangeName",
"sellTradeTurnover",
"buyTradeTurnover"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/longshort/person": {
"get": {
"summary": "多空持仓人数比(套餐1)",
"deprecated": false,
"description": "返回交易对的多空持仓人数比 ,支持的交易所有Binance OKX Bybit\n</br><font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance,OKX,Bybit",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725978552361",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"tss": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"longShortRatio": {
"type": "array",
"items": {
"type": "number"
},
"description": "多空比列表"
}
},
"required": [
"tss",
"longShortRatio"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"tss": [
1725944400000,
1725948000000,
1725951600000,
1725955200000,
1725958800000,
1725962400000,
1725966000000,
1725969600000,
1725973200000,
1725976800000
],
"longShortRatio": [
1.6164,
1.6874,
1.6652,
1.7108,
1.6427,
1.6752,
1.6638,
1.6667,
1.6413,
1.6199
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/longshort/position": {
"get": {
"summary": "大户多空比(持仓量) (套餐1)",
"deprecated": false,
"description": "大户多空持仓比(持仓量)\n</br><font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Huobi",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725978872354",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"tss": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"longShortRatio": {
"type": "array",
"items": {
"type": "number"
},
"description": "多空比列表"
}
},
"required": [
"tss",
"longShortRatio"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/longshort/account": {
"get": {
"summary": "大户多空比 (账户数) (套餐1)",
"deprecated": false,
"description": "Top Trader Long/Short Ratio (Accounts)\n</br><font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Huobi",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725978872354",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"tss": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"longShortRatio": {
"type": "array",
"items": {
"type": "number"
},
"description": "多空比比值"
}
},
"required": [
"tss",
"longShortRatio"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/longshort/kline": {
"get": {
"summary": "多空比K线 (套餐1)",
"deprecated": false,
"description": "</br>\ntype:\n longShortPerson :多空持仓人数比\n longShortPosition:大户持仓多空比\n longShortAccount :大户账户数多空比\n</br>\n</br><font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"多空比"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance,OKX,Huobi",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1753865936594",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "5m,15m,30m,1h,2h,4h,6h,8h,12h,1d",
"required": true,
"example": "5m",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"description": "longShortPerson 多空持仓人数比 \n longShortPosition 大户多空持仓比 \nlongShortAccount 大户多空账户数比",
"required": true,
"example": "longShortPerson",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"begin": {
"type": "integer",
"description": "时间戳"
},
"open": {
"type": "number",
"description": "开"
},
"close": {
"type": "number",
"description": "收"
},
"low": {
"type": "number",
"description": "低"
},
"high": {
"type": "number",
"description": "高"
}
},
"required": [
"begin",
"open",
"close",
"low",
"high"
]
}
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": [
{
"begin": 1725930000000,
"open": 1.6144,
"close": 1.5873,
"low": 1.5873,
"high": 1.6357
},
{
"begin": 1725933600000,
"open": 1.5873,
"close": 1.5887,
"low": 1.582,
"high": 1.5907
},
{
"begin": 1725937200000,
"open": 1.5887,
"close": 1.5833,
"low": 1.5826,
"high": 1.5887
},
{
"begin": 1725940800000,
"open": 1.5833,
"close": 1.6151,
"low": 1.5767,
"high": 1.6151
},
{
"begin": 1725944400000,
"open": 1.6151,
"close": 1.6846,
"low": 1.6151,
"high": 1.6911
},
{
"begin": 1725948000000,
"open": 1.6846,
"close": 1.6695,
"low": 1.6603,
"high": 1.6874
},
{
"begin": 1725951600000,
"open": 1.6695,
"close": 1.7167,
"low": 1.6582,
"high": 1.7174
},
{
"begin": 1725955200000,
"open": 1.7167,
"close": 1.6582,
"low": 1.6582,
"high": 1.7263
},
{
"begin": 1725958800000,
"open": 1.6582,
"close": 1.6853,
"low": 1.6323,
"high": 1.6882
},
{
"begin": 1725962400000,
"open": 1.6853,
"close": 1.6624,
"low": 1.661,
"high": 1.6853
}
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/大额订单.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "大额订单"
}
],
"paths": {
"/api/trades/largeTrades": {
"get": {
"summary": "大额市价订单 (套餐3) ",
"deprecated": false,
"description": "返回大额市价单列表,支持安装交易对和金额过滤\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"大额订单"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP:合约SPOT:现货 ",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "amount",
"in": "query",
"description": "查询的最小金额 ",
"required": true,
"example": "10000000",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1726051101732",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"exchangeName": {
"type": "string",
"description": "交易所"
},
"baseCoin": {
"type": "string",
"description": "币种"
},
"side": {
"type": "string",
"description": "buy sell"
},
"price": {
"type": "integer",
"description": "订单价格"
},
"tradeTurnover": {
"type": "number",
"description": "订单金额"
},
"ts": {
"type": "integer",
"description": "订单交易时间"
},
"symbol": {
"type": "string",
"description": "交易对"
}
},
"required": [
"exchangeName",
"baseCoin",
"side",
"price",
"tradeTurnover",
"ts",
"symbol"
]
}
}
},
"required": [
"success",
"code",
"data"
]
},
"examples": {
"1": {
"summary": "Success",
"value": {
"success": true,
"code": "1",
"data": [
{
"exchangeName": "Binance",
"exchangeType": "SWAP",
"baseCoin": "BTC",
"side": "ask",
"symbol": "BTCUSDT",
"price": 57240,
"entrustAmount": 175.443,
"entrustTurnover": 10042357.32,
"firstAmount": 174.785,
"firstTurnover": 10004693.4,
"count": 38,
"turnoverAmount": 10242182.16,
"turnoverNumber": 178.934,
"openTime": 1725904939797,
"closeTime": 1725916425657,
"on": false
}
]
}
},
"2": {
"summary": "Success",
"value": {
"success": true,
"code": "1",
"data": [
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "buy",
"price": 55900,
"tradeTurnover": 10591876.1,
"ts": 1726062648164,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "sell",
"price": 58710,
"tradeTurnover": 24239891.25,
"ts": 1726240974480,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "sell",
"price": 59740,
"tradeTurnover": 12047228.14,
"ts": 1726249859307,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "sell",
"price": 59530,
"tradeTurnover": 10738021.4,
"ts": 1726250432036,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "sell",
"price": 58990,
"tradeTurnover": 11428840.58,
"ts": 1726478153849,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "buy",
"price": 59200,
"tradeTurnover": 11935844.8,
"ts": 1726577039185,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "buy",
"price": 60990,
"tradeTurnover": 10423373.97,
"ts": 1726585626896,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "buy",
"price": 61000,
"tradeTurnover": 10258370,
"ts": 1726585626897,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "buy",
"price": 60820,
"tradeTurnover": 11129512.62,
"ts": 1726585770594,
"symbol": "BTCUSDT"
},
{
"exchangeName": "Binance",
"baseCoin": "BTC",
"side": "sell",
"price": 60750,
"tradeTurnover": 11688907.5,
"ts": 1726590882685,
"symbol": "BTCUSDT"
}
]
}
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/bigOrder/queryOrderList": {
"get": {
"summary": "大额限价订单 (套餐3)",
"deprecated": false,
"description": "返回大额限价单列表,支持查询历史单和实时单\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"大额订单"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "exchangeType",
"in": "query",
"description": "SWAP:永续 SPOT:现货 FUTURES:交割 ",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "startTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": false,
"example": 1726051101732,
"schema": {
"type": "number"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "amount",
"in": "query",
"description": "最低金额",
"required": true,
"example": 1000000,
"schema": {
"type": "number"
}
},
{
"name": "side",
"in": "query",
"description": "ask 卖 bid 买",
"required": true,
"example": "ask",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Coinbase",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "isHistory",
"in": "query",
"description": "true 查询历史 false 查询实时",
"required": true,
"example": "true",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"exchangeName": {
"type": "string",
"description": "交易所"
},
"exchangeType": {
"type": "string",
"description": "SWAP:永续 SPOT:现货 FUTURES:交割 "
},
"baseCoin": {
"type": "string"
},
"side": {
"type": "string",
"description": "ask卖 bid 买 "
},
"symbol": {
"type": "string",
"description": "交易对"
},
"price": {
"type": "integer",
"description": "挂单价格"
},
"entrustAmount": {
"type": "number",
"description": "实时委托数量"
},
"entrustTurnover": {
"type": "number",
"description": "实时委托金额"
},
"firstAmount": {
"type": "number",
"description": "初始委托数量"
},
"firstTurnover": {
"type": "number",
"description": "初始委托金额"
},
"count": {
"type": "integer",
"description": "订单成交笔数"
},
"turnoverAmount": {
"type": "number",
"description": "成交金额"
},
"turnoverNumber": {
"type": "number",
"description": "成交数量"
},
"openTime": {
"type": "integer",
"description": "初次发现时间"
},
"closeTime": {
"type": "integer",
"description": "关闭时间"
},
"on": {
"type": "boolean",
"description": "是否还在挂单中 true 是 false 否"
}
}
}
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": [
{
"exchangeName": "Binance",
"exchangeType": "SWAP",
"baseCoin": "BTC",
"side": "ask",
"symbol": "BTCUSDT",
"price": 57240,
"entrustAmount": 175.443,
"entrustTurnover": 10042357.32,
"firstAmount": 174.785,
"firstTurnover": 10004693.4,
"count": 38,
"turnoverAmount": 10242182.16,
"turnoverNumber": 178.934,
"openTime": 1725904939797,
"closeTime": 1725916425657,
"on": false
}
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/币种和交易对.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "币种和交易对"
}
],
"paths": {
"/api/instruments/getLastPrice": {
"get": {
"summary": "获取交易对实时价格(套餐1)",
"deprecated": false,
"description": "获取交易对的实时价格。<font color = 'red'> # 需要api等级:VIP1及以上</font>",
"tags": [
"币种和交易对"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "ETHUSDT",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "交易所",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP 合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/instruments/getCoinMarketCap": {
"get": {
"summary": "获取币种市值(套餐1)",
"deprecated": false,
"description": "获取币种市值。<font color = 'red'> # 需要api等级:VIP1及以上</font>",
"tags": [
"币种和交易对"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/baseCoin/list": {
"get": {
"summary": "支持的币种(套餐1)",
"deprecated": false,
"description": "返回所有支持的币种,支持现货和合约 <font color = 'red'> # 需要api等级:VIP1及以上</font>",
"tags": [
"币种和交易对"
],
"parameters": [
{
"name": "productType",
"in": "query",
"description": "SWAP or SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
},
"example": {
"success": true,
"code": "1",
"data": [
"BTC",
"ETH",
"SOL",
"XRP",
"DOGE",
"BNB",
"TON",
"LTC",
"1000PEPE",
"AVAX",
"WIF",
"SUI",
"BCH",
"DOT",
"1000BONK",
"ADA",
"FTM",
"AAVE",
"LINK",
"FIL",
"ORDI",
"NEAR",
"DOGS",
"WLD",
"OP",
"TRX",
"TIA",
"ARB",
"NOT",
"PEPE",
"ATOM",
"MKR",
"APT",
"PEOPLE",
"NEIROETH",
"INJ",
"UNI",
"ETC",
"ONDO",
"CRV",
"SEI",
"REEF",
"EOS",
"STRK",
"TRB",
"ENA",
"KAS",
"FET",
"BOME",
"TAO",
"POPCAT",
"1000SATS",
"DYDX",
"APE",
"AR",
"JUP",
"ENS",
"LDO",
"GALA",
"STX",
"RUNE",
"ZRO",
"BNX",
"CFX",
"1000FLOKI",
"MEW",
"RENDER",
"GMT",
"ICP",
"SUN",
"IO",
"ETHFI",
"ZK",
"VIDT",
"1000RATS",
"JTO",
"SAGA",
"BIGTIME",
"HBAR",
"BLUR",
"SAND",
"RARE",
"IMX",
"JASMY",
"PYTH",
"AXS",
"SATS",
"PENDLE",
"DAR",
"1000SHIB",
"SHIB",
"VET",
"BSV",
"XLM",
"RDNT",
"MANA",
"ALGO",
"ARKM",
"BRETT",
"BAKE",
"W",
"1INCH",
"GRT",
"AEVO",
"MASK",
"LPT",
"CHZ",
"BB",
"SUNDOG",
"TONCOIN",
"LISTA",
"FLOKI",
"MANTA",
"SUSHI",
"COMP",
"SHIB1000",
"TURBO",
"OM",
"ZEC",
"BOND",
"BANANA",
"ZETA",
"MEME",
"SSV",
"YGG",
"THETA",
"KSM",
"EGLD",
"NEO",
"XAI",
"XMR",
"ATH",
"TRU",
"STORJ",
"SNX",
"MYRO",
"CAKE",
"LQTY",
"STMX",
"TNSR",
"DYM",
"AUCTION",
"ROSE",
"GMX",
"1000LUNC",
"CHR",
"MINA",
"UXLINK",
"RSR",
"QNT",
"REZ",
"SUPER",
"ZEN",
"ALT",
"CELO",
"CORE",
"10000SATS",
"SFP",
"XTZ",
"YFI",
"HIGH",
"MNT",
"COTI",
"FLOW",
"USDC",
"MAX",
"ASTR",
"WOO",
"CKB",
"TOKEN",
"FLUX",
"UNFI",
"GTC",
"IOTA",
"BLZ",
"PIXEL",
"HNT",
"CYBER",
"LUNA2",
"UMA",
"LEVER",
"MERL",
"ACE",
"ANKR",
"ALPACA",
"ENJ",
"RVN",
"RPL",
"ZIL",
"FLM",
"BAL",
"KLAY",
"VELO",
"MAGIC",
"QTUM",
"FXS",
"OMNI",
"ORDER",
"ACH",
"POL",
"KEY",
"LRC",
"API3",
"KNC",
"ALICE",
"HOOK",
"ZRX",
"DASH",
"KAVA",
"TWT",
"BGB",
"LINA",
"STG",
"BENDOG",
"AI",
"IOTX",
"ID",
"PORTAL",
"POLYX",
"ONE",
"VOXEL",
"AXL",
"USTC",
"ORBS",
"BEL",
"LUNC",
"LUNA",
"GLM",
"DOG",
"AGI",
"1000000MOG",
"MOVR",
"BONK",
"GAS",
"C98",
"ARPA",
"ONT",
"BTCDOM",
"TLM",
"MAVIA",
"ULTI",
"1000BEER",
"BAND",
"PERP",
"NMR",
"VANRY",
"DUSK",
"HIFI",
"EDU",
"NFP",
"NULS",
"LOOM",
"METIS",
"JOE",
"IOST",
"L3",
"XEM",
"HOT",
"MAV",
"GFT",
"BAT",
"BSW",
"BEAM",
"SXP",
"AMB",
"LIT",
"AGLD",
"ICX",
"VGX",
"BLAST",
"PAXG",
"CRO",
"BICO",
"ZKJ",
"TOMI",
"T",
"PONKE",
"10000LADYS",
"ALPHA",
"SKL",
"SYN",
"LSK",
"CELR",
"CTSI",
"ETHW",
"MIR",
"ILV",
"MTL",
"BADGER",
"DENT",
"MBOX",
"PHB",
"CVC",
"WAVES",
"NKN",
"XVS",
"NTRN",
"DOP1",
"REN",
"SYS",
"CVX",
"TAIKO",
"BEAMX",
"G",
"PRCL",
"RON",
"CAT",
"SPELL",
"DRIFT",
"ATA",
"POWR",
"SLP",
"BNT",
"AVAIL",
"XVG",
"GME",
"SLERF",
"RLC",
"OGN",
"ETHBTC",
"QUICK",
"CHESS",
"XCH",
"HFT",
"RIF",
"CLOUD",
"WAXP",
"ARK",
"CTC",
"OMG",
"PIXFI",
"LOOKS",
"RONIN",
"1000TURBO",
"OXT",
"1000XEC",
"DEGEN",
"10000WEN",
"ONG",
"MOCA",
"VRA",
"1000BTT",
"AERGO",
"AIDOGE",
"ZEUS",
"AKT",
"COMBO",
"DGB",
"FLR",
"STEEM",
"FOXY",
"RATS",
"JST",
"CSPR",
"PENG",
"CTK",
"AUDIO",
"FTN",
"USDE",
"DODOX",
"ZKSYNC",
"SWEAT",
"SC",
"SILLY",
"1000APU",
"CETUS",
"AIOZ",
"DODO",
"MOTHER",
"RAY",
"SPEC",
"AERO",
"ZKF",
"1000000PEIPEI",
"KDA",
"SLF",
"A8",
"GODS",
"MASA",
"FIRE",
"$ALT",
"GLMR",
"ZBCN",
"SNT",
"1000BTTC",
"MAXNEW",
"ANC",
"WSB",
"MON",
"RSS3",
"XNO",
"IDEX",
"AKRO",
"LAI",
"SCA"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/baseCoin/symbols": {
"get": {
"summary": " 支持的交易对(套餐1)",
"deprecated": false,
"description": "返回所有支持的交易对,支持合约和交易所,支持按交易所过滤 <font color = 'red'> # 需要api等级:VIP1及以上</font>\n",
"tags": [
"币种和交易对"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP or SPOT ",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string"
},
"baseCoin": {
"type": "string"
},
"exchangeName": {
"type": "string"
}
},
"required": [
"symbol",
"baseCoin",
"exchangeName"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/市价单统计指标.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "市价单统计指标"
}
],
"paths": {
"/api/marketOrder/getCvd": {
"get": {
"summary": "CVD Kline (套餐3)",
"deprecated": false,
"description": "返回时间周期内的cvd的变化值,需要从一个起始点不断累积</br></br>\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "Time"
},
{
"type": "number",
"description": "High"
},
{
"type": "number",
"description": "Low"
},
{
"type": "number",
"description": "Close"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getBuySellCount": {
"get": {
"summary": "主动买卖笔数 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的主动买和主动卖的订单数量\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "买数量"
},
{
"type": "number",
"description": "卖数量"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getBuySellValue": {
"get": {
"summary": "主动买卖额(套餐3)",
"deprecated": false,
"description": "返回时间周期内的主动买金额和主动卖金额\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "买金额"
},
{
"type": "number",
"description": "卖金额"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getBuySellVolume": {
"get": {
"summary": "主动买卖量 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的主动买和主动卖的交易量\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "主动买量"
},
{
"type": "number",
"description": "主动卖量"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getAggCvd": {
"get": {
"summary": "聚合CVD数据 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的聚合cvd的变化值,需要从一个起始点不断累积</br></br>\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "exchanges",
"in": "query",
"description": "传空",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "时间戳"
},
{
"type": "number",
"description": "高"
},
{
"type": "number",
"description": "低"
},
{
"type": "number",
"description": "收"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getAggBuySellCount": {
"get": {
"summary": "聚合主动买卖笔数 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的主动买卖单笔数\n<font color = 'red'> # Required API Level: VIP3 and Above</font>\n",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchanges",
"in": "query",
"description": "Binance,OKX,Bybit,Bitget,Huobi 多个交易所用,连接",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "buy count"
},
{
"type": "number",
"description": "sell count"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getAggBuySellValue": {
"get": {
"summary": "聚合主动买卖额 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的聚合主动买卖额\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchanges",
"in": "query",
"description": "Binance,OKX,Bybit,Bitget,Huobi 多个交易所用,连接",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "",
"required": true,
"example": "1725972522356",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP 合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "buy value"
},
{
"type": "number",
"description": "sell value"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
139630876.26849,
177463134.96544
],
[
1725940800000,
205142992.36694,
179779561.25316
],
[
1725944400000,
530440079.6204,
372724907.51066
],
[
1725948000000,
89070194.24968,
104749312.47438
],
[
1725951600000,
359623817.47623,
302016755.95791
],
[
1725955200000,
232547586.5694,
280625611.35407
],
[
1725958800000,
246175027.84907,
216132340.75547
],
[
1725962400000,
153659787.04068,
156533075.36376
],
[
1725966000000,
141010392.41822,
161135569.74087
],
[
1725969600000,
263405529.4119,
265848217.383
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/marketOrder/getAggBuySellVolume": {
"get": {
"summary": "聚合主动买卖量 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的主动买卖交易量\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"市价单统计指标"
],
"parameters": [
{
"name": "exchanges",
"in": "query",
"description": "Binance,OKX,Bybit,Bitget,Huobi 多个交易所用,连接",
"required": true,
"example": "OKX",
"schema": {
"type": "string"
}
},
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "PNUT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "",
"required": true,
"example": "1731983073186",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "max 500",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP 合约 SPOT 现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "buy volume"
},
{
"type": "number",
"description": "sell volume"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"success": true,
"code": "1",
"data": [
[
1725937200000,
12.07,
-634.53,
-634.53
],
[
1725940800000,
507.17,
0,
429.79
],
[
1725944400000,
935.97,
0,
730.5
],
[
1725948000000,
0,
-360.14,
-263.06
],
[
1725951600000,
856.85,
-10.83,
856.85
],
[
1725955200000,
580.23,
-813.21,
-813.21
],
[
1725958800000,
521.13,
-59.72,
521.13
],
[
1725962400000,
99.94,
-306.19,
-151.71
],
[
1725966000000,
173.87,
-462.83,
-462.83
],
[
1725969600000,
134.88,
-241.14,
-11.03
]
]
}
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/指标数据.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "指标数据"
}
],
"paths": {
"/api/indicator/getBtcMultiplier": {
"get": {
"summary": "两年MA乘数(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"mA730Mu5List": {
"type": "array",
"items": {
"type": "number"
},
"description": "2年ma x5 列表"
},
"mA730List": {
"type": "array",
"items": {
"type": "number"
},
"description": "2年ma 列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格列表"
}
},
"required": [
"timeList",
"mA730Mu5List",
"mA730List",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getCnnEntity": {
"get": {
"summary": "贪婪恐惧指数(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"cnnValueList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "贪婪恐惧值列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格列表"
}
},
"required": [
"timeList",
"cnnValueList",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getAhr999": {
"get": {
"summary": "ahr999指标(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"avg": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "定投成本列表"
},
"valueList": {
"type": "array",
"items": {
"type": "string"
},
"description": "价格列表"
},
"ahr999": {
"type": "array",
"items": {
"type": "number"
},
"description": "ahr999列表"
}
},
"required": [
"timeList",
"avg",
"valueList",
"ahr999"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getMarketCapRank": {
"get": {
"summary": "BTC市值占比(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
}
},
"marketCapList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "市值列表"
},
"marketCapRateList": {
"type": "array",
"items": {
"type": "number"
},
"description": "市值占比列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
},
{
"type": "null"
}
]
},
"description": "价格列表"
}
},
"required": [
"timeList",
"marketCapList",
"marketCapRateList",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getPuellMultiple": {
"get": {
"summary": "普尔系数(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"puellMultiplList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "普尔系数列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格列表"
}
},
"required": [
"timeList",
"puellMultiplList",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getBtcPi": {
"get": {
"summary": "pi循环(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"ma110": {
"type": "array",
"items": {
"type": "number"
},
"description": "ma110列表"
},
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"ma350Mu2": {
"type": "array",
"items": {
"type": "number"
},
"description": "ma350*2列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格列表"
}
},
"required": [
"ma110",
"timeList",
"ma350Mu2",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getMovingAvgHeatmap": {
"get": {
"summary": "200周移动热力图(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"ma1440IpList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
},
{
"type": "number"
}
]
},
"description": "200周malp列表"
},
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"ma1440List": {
"type": "array",
"items": {
"type": "number"
},
"description": "200周ma列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格列表"
}
},
"required": [
"ma1440IpList",
"timeList",
"ma1440List",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getGrayscaleOpenInterest": {
"get": {
"summary": "灰度持仓(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"opValueList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "持有列表"
},
"priceList": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "价格列表"
}
},
"required": [
"timeList",
"opValueList",
"priceList"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/getAltcoinSeason": {
"get": {
"summary": "山寨指数(套餐1)",
"deprecated": false,
"description": "",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "值"
},
"createTime": {
"type": "number",
"description": "时间"
}
},
"required": [
"value",
"createTime"
]
}
}
},
"required": [
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/indicator/index/charts": {
"get": {
"summary": "特色指标数据(套餐1)",
"deprecated": false,
"description": "# 特色数据指标\n1. 彩虹图V2:bitcoin-rainbow-v2\n2. 一年+Hold波:/charts/1-year-hodl-wave/\n3. hold波:/charts/hodl-waves/\n4. MVRV Z-Score :/charts/mvrv-zscore/\n5. 未实现净损益 (NUPL):/charts/relative-unrealized-prof/\n6. 比特币价格预测:/charts/bitcoin-price-prediction/\n7. 准备金风险:/charts/reserve-risk/\n8. RHODL 比率:/charts/rhodl-ratio/\n9. 鲸影:/charts/whale-shadows/\n\n\n",
"tags": [
"指标数据"
],
"parameters": [
{
"name": "type",
"in": "query",
"description": "见接口描述",
"required": true,
"example": "bitcoin-rainbow-v2",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"btcPrice": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
]
},
"description": "价格列表"
},
"timeList": {
"type": "array",
"items": {
"type": "integer"
},
"description": "时间列表"
},
"value1": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "model price 列表"
},
"value2": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "底部买入区间"
},
"value3": {
"type": "array",
"items": {
"type": "number"
},
"description": "坚定买入区间"
},
"value4": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "继续增持区间"
},
"value5": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "价格便宜区间"
},
"value6": {
"type": "array",
"items": {
"type": "number"
},
"description": "坚定持有区间"
},
"value7": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "存在泡沫区间"
},
"value8": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "贪婪加剧区间"
},
"value9": {
"type": "array",
"items": {
"type": "number"
},
"description": "强烈卖出区间"
},
"value10": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "严重泡沫区间"
},
"value11": {
"type": "array",
"items": {
"type": "null"
}
},
"value12": {
"type": "array",
"items": {
"type": "null"
}
},
"value13": {
"type": "array",
"items": {
"type": "null"
}
},
"weekList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"value1": {
"type": "number"
},
"value2": {
"type": "number"
},
"value3": {
"type": "number"
},
"value4": {
"type": "number"
},
"value5": {
"type": "number"
},
"value6": {
"type": "number"
},
"value7": {
"type": "number"
},
"value8": {
"type": "number"
},
"value9": {
"type": "number"
},
"value10": {
"type": "number"
},
"type": {
"type": "string"
},
"createTime": {
"type": "string"
},
"btcPrice": {
"type": "integer"
}
},
"required": [
"id",
"value1",
"value2",
"value3",
"value4",
"value5",
"value6",
"value7",
"value8",
"value9",
"value10",
"type",
"createTime",
"btcPrice"
]
}
}
},
"required": [
"value6",
"timeList",
"value5",
"value8",
"value7",
"value2",
"value1",
"value4",
"value3",
"btcPrice",
"value9",
"weekList",
"value11",
"value10",
"value13",
"value12"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/新闻快讯.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "新闻快讯"
}
],
"paths": {
"/api/news/getNewsList": {
"get": {
"summary": "新闻列表(套餐2)",
"deprecated": false,
"description": "",
"tags": [
"新闻快讯"
],
"parameters": [
{
"name": "type",
"in": "query",
"description": "1快讯 2新闻",
"required": true,
"example": "1",
"schema": {
"type": "string"
}
},
{
"name": "lang",
"in": "query",
"description": "语言",
"required": true,
"example": "zh",
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"description": "页码",
"required": true,
"example": "1",
"schema": {
"type": "string"
}
},
{
"name": "pageSize",
"in": "query",
"description": "每页大小",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "isPopular",
"in": "query",
"description": "是否推荐",
"required": true,
"example": "false",
"schema": {
"type": "string"
}
},
{
"name": "search",
"in": "query",
"description": "搜索",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id"
},
"sourceWeb": {
"type": "string",
"description": "平台"
},
"title": {
"type": "string",
"description": "标题"
},
"content": {
"type": "string",
"description": "内容"
},
"readNum": {
"type": "integer"
},
"ts": {
"type": "integer",
"description": "发布时间"
},
"recommend": {
"type": "boolean",
"description": "是否推荐"
},
"hot": {
"type": "boolean"
},
"top": {
"type": "boolean"
}
},
"required": [
"id",
"sourceWeb",
"title",
"content",
"readNum",
"ts",
"recommend",
"hot",
"top"
]
}
},
"pagination": {
"type": "object",
"properties": {
"current": {
"type": "integer"
},
"total": {
"type": "integer"
},
"pageSize": {
"type": "integer"
}
},
"required": [
"current",
"total",
"pageSize"
]
}
},
"required": [
"list",
"pagination"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/news/getNewsDetail": {
"get": {
"summary": "新闻详情(套餐2)",
"deprecated": false,
"description": "",
"tags": [
"新闻快讯"
],
"parameters": [
{
"name": "id",
"in": "query",
"description": "",
"required": true,
"example": "",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id"
},
"sourceWeb": {
"type": "string",
"description": "平台"
},
"title": {
"type": "string",
"description": "标题"
},
"content": {
"type": "string",
"description": "内容"
},
"readNum": {
"type": "integer"
},
"ts": {
"type": "integer",
"description": "发布时间"
},
"recommend": {
"type": "boolean",
"description": "是否推荐"
},
"hot": {
"type": "boolean"
},
"top": {
"type": "boolean"
}
},
"required": [
"id",
"sourceWeb",
"title",
"content",
"readNum",
"ts",
"recommend",
"hot",
"top"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/爆仓数据.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "爆仓数据"
}
],
"paths": {
"/api/liquidation/allExchange/intervals": {
"get": {
"summary": "币种爆仓实时统计(套餐1)",
"deprecated": false,
"description": "返回市场24小时内实时统计的币种聚合爆仓数据以及最大的爆仓 <font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "coin",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"topOrder": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "交易对"
},
"posSide": {
"type": "string",
"description": "仓位方向"
},
"exchangeName": {
"type": "string",
"description": "交易所"
},
"tradeTurnover": {
"type": "number",
"description": "成交额"
},
"baseCoin": {
"type": "string",
"description": "币种"
},
"ts": {
"type": "integer",
"description": "ts"
}
},
"required": [
"symbol",
"posSide",
"exchangeName",
"tradeTurnover",
"baseCoin",
"ts"
]
},
"total": {
"type": "integer",
"description": "24h 爆仓人数"
},
"24h": {
"type": "object",
"properties": {
"baseCoin": {
"type": "string",
"description": "币种"
},
"totalTurnover": {
"type": "number",
"description": "总交易额"
},
"longTurnover": {
"type": "number",
"description": "多仓交易额"
},
"shortTurnover": {
"type": "number",
"description": "空仓交易额"
},
"percentage": {
"type": "integer"
},
"longRatio": {
"type": "integer"
},
"shortRatio": {
"type": "integer"
},
"interval": {
"type": "string"
}
},
"required": [
"baseCoin",
"totalTurnover",
"longTurnover",
"shortTurnover",
"percentage",
"longRatio",
"shortRatio",
"interval"
],
"description": "24h爆仓数据"
},
"1h": {
"type": "object",
"properties": {
"baseCoin": {
"type": "string",
"description": "币种"
},
"totalTurnover": {
"type": "number",
"description": "总交易额"
},
"longTurnover": {
"type": "number",
"description": "多仓交易额"
},
"shortTurnover": {
"type": "number",
"description": "空仓交易额"
},
"percentage": {
"type": "integer"
},
"longRatio": {
"type": "integer"
},
"shortRatio": {
"type": "integer"
},
"interval": {
"type": "string"
}
},
"required": [
"baseCoin",
"totalTurnover",
"longTurnover",
"shortTurnover",
"percentage",
"longRatio",
"shortRatio",
"interval"
],
"description": "1h爆仓数据"
}
},
"required": [
"topOrder",
"total",
"24h",
"1h"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"topOrder": {
"symbol": "ETHUSDC",
"posSide": "long",
"exchangeName": "Hyperliquid",
"tradeTurnover": 4501749.45857,
"baseCoin": "ETH",
"ts": 1763576654551
},
"total": 15908,
"24h": {
"baseCoin": "ETH",
"totalTurnover": 184611764.59643254,
"longTurnover": 163020735.4680299,
"shortTurnover": 21591029.128402635,
"percentage": 0,
"longRatio": 0,
"shortRatio": 0,
"interval": "1d"
},
"1h": {
"baseCoin": "ETH",
"totalTurnover": 556566.77763,
"longTurnover": 3984.90832,
"shortTurnover": 552581.86931,
"percentage": 0,
"longRatio": 0,
"shortRatio": 0,
"interval": "1h"
}
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liquidation/aggregated-history": {
"get": {
"summary": "币种爆仓聚合历史(套餐1)",
"deprecated": false,
"description": "币种爆仓聚合历史( <font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d ",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此毫秒时间戳之前的数据",
"required": true,
"example": 1766393872087,
"schema": {
"type": "number"
}
},
{
"name": "size",
"in": "query",
"description": "",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"all": {
"type": "object",
"properties": {
"longTurnover": {
"type": "number",
"description": "多单爆仓金额"
},
"shortTurnover": {
"type": "number",
"description": "空单爆仓金额"
}
},
"required": [
"longTurnover",
"shortTurnover"
]
},
"ts": {
"type": "integer",
"description": "时间戳 "
}
},
"required": [
"all",
"ts"
]
}
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": [
{
"all": {
"longTurnover": 559535.9023
},
"ts": 1725937200000
},
{
"all": {
"longTurnover": 1132902.81104,
"shortTurnover": 5951.8801
},
"ts": 1725940800000
},
{
"all": {
"longTurnover": 1250.3844,
"shortTurnover": 632078.01471
},
"ts": 1725944400000
},
{
"all": {
"longTurnover": 15225.1715,
"shortTurnover": 965.93218
},
"ts": 1725948000000
},
{
"all": {
"longTurnover": 26411.6859,
"shortTurnover": 941153.61241
},
"ts": 1725951600000
},
{
"all": {
"longTurnover": 225171.80167,
"shortTurnover": 931326.86245
},
"ts": 1725955200000
},
{
"all": {
"longTurnover": 230779.43228,
"shortTurnover": 91609.5535
},
"ts": 1725958800000
},
{
"all": {
"longTurnover": 125775.0486,
"shortTurnover": 91581.66299
},
"ts": 1725962400000
},
{
"all": {
"longTurnover": 6997.0023,
"shortTurnover": 111343.65616
},
"ts": 1725966000000
},
{
"all": {
"longTurnover": 86970.9802,
"shortTurnover": 567218.36067
},
"ts": 1725969600000
}
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liquidation/history": {
"get": {
"summary": "交易对爆仓统计历史(套餐1)",
"deprecated": false,
"description": "返回交易对爆仓统计历史 <font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance,OKX,Bybit,Gate,Huobi,Bitfinex,Kraken,Deribit,Bitmex",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": 1725972522356,
"schema": {
"type": "number"
}
},
{
"name": "size",
"in": "query",
"description": "",
"required": true,
"example": 10,
"schema": {
"type": "integer"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "交易对"
},
"exchangeName": {
"type": "string",
"description": "交易所"
},
"ts": {
"type": "integer",
"description": "时间戳"
},
"longTurnover": {
"type": "number",
"description": "多单金额"
},
"shortTurnover": {
"type": "integer",
"description": "空单金额"
}
},
"required": [
"symbol",
"exchangeName",
"ts",
"longTurnover",
"shortTurnover"
]
}
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": [
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725937200000,
"longTurnover": 123431.9085,
"shortTurnover": 0
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725940800000,
"longTurnover": 310609.81415,
"shortTurnover": 5497.6822
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725944400000,
"longTurnover": 1250.3844,
"shortTurnover": 287941.44256
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725948000000,
"longTurnover": 0,
"shortTurnover": 965.93218
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725951600000,
"longTurnover": 3406.65,
"shortTurnover": 272832.81416
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725955200000,
"longTurnover": 79017.4438,
"shortTurnover": 17593.1393
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725958800000,
"longTurnover": 89422.9012,
"shortTurnover": 34312.2797
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725962400000,
"longTurnover": 50963.8532,
"shortTurnover": 50844.8098
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725966000000,
"longTurnover": 969.8266,
"shortTurnover": 85064.11506
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"ts": 1725969600000,
"longTurnover": 67206.8307,
"shortTurnover": 234223.3304
}
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liquidation/orders": {
"get": {
"summary": "爆仓订单(套餐3)",
"deprecated": false,
"description": "Query historical liquidation orders based on the conditions you set <font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "币种",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "交易所",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "side",
"in": "query",
"description": "方向 long 多 short 空",
"required": true,
"example": "long",
"schema": {
"type": "string"
}
},
{
"name": "amount",
"in": "query",
"description": "金额",
"required": true,
"example": "100",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的订单",
"required": true,
"example": 1772037506763,
"schema": {
"type": "number"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"exchangeName": {
"type": "string",
"description": "exchange"
},
"baseCoin": {
"type": "string",
"description": "coin"
},
"contractCode": {
"type": "string",
"description": "symbol"
},
"posSide": {
"type": "string",
"description": "方向 long 多 short 空"
},
"amount": {
"type": "number",
"description": "币的数量"
},
"price": {
"type": "number"
},
"avgPrice": {
"type": "integer",
"description": "liquidation price"
},
"tradeTurnover": {
"type": "number",
"description": "爆仓金额"
},
"ts": {
"type": "integer",
"description": "时间戳"
}
},
"required": [
"exchangeName",
"baseCoin",
"contractCode",
"posSide",
"amount",
"price",
"avgPrice",
"tradeTurnover",
"ts"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liqMap/getLiqMap": {
"get": {
"summary": "清算地图 (套餐4)",
"deprecated": false,
"description": "根据实时市价订单计算的不同杠杆的清算强度 <font color = 'red'> # Required API Level: VIP4 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "Binance Okex Bybit Aster Hyperliquid",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1d or 1w",
"required": true,
"example": "1d",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liqMap/getAggLiqMap": {
"get": {
"summary": "聚合清算地图 (套餐4)",
"deprecated": false,
"description": "按币种聚合的清算地图 <font color = 'red'> # Required API Level: VIP4 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1d or 1w",
"required": true,
"example": "1d",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liqMap/getLiqHeatMap": {
"get": {
"summary": "清算热力图 (套餐4)",
"deprecated": false,
"description": "根据实时市价订单和交易所提供的参数计算的强酸热力图 <font color = 'red'> # Required API Level: VIP4 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "12h 1d, 3d 1w 2w 1M 3M 6M 1Y",
"required": true,
"example": "1d",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"tickSize": {
"type": "integer"
},
"chartInterval": {
"type": "string"
},
"start": {
"type": "integer"
},
"liqHeatMap": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"chartTimeArray": {
"type": "array",
"items": {
"type": "integer"
}
},
"priceArray": {
"type": "array",
"items": {
"type": "integer"
}
},
"maxLiqValue": {
"type": "integer"
}
},
"required": [
"data",
"chartTimeArray",
"priceArray",
"maxLiqValue"
]
},
"end": {
"type": "integer"
}
},
"required": [
"tickSize",
"chartInterval",
"start",
"liqHeatMap",
"end"
]
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": {
"tickSize": 25,
"chartInterval": "5m",
"start": 1762677300000,
"liqHeatMap": {
"data": [
[
"0",
"0",
"0"
],
[
"0",
"1",
"0"
],
[
"0",
"2",
"0"
]
],
"chartTimeArray": [
1762677300000,
1762677600000,
1762677900000
],
"priceArray": [
97750,
97800,
97850
],
"maxLiqValue": 102860717
},
"end": 1762763700000
}
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/liqMap/getLiqHeatMapSymbol": {
"get": {
"summary": "清算热图支持的交易对 (套餐1)",
"deprecated": false,
"description": "Trading pairs that support liquidation heatmaps <font color = 'red'> # Required API Level: VIP1 and Above</font>",
"tags": [
"爆仓数据"
],
"parameters": [
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
},
"example": {
"success": true,
"code": "1",
"data": [
"BTCUSDT",
"ETHUSDT",
"XRPUSDT",
"BNBUSDT",
"SOLUSDT",
"DOGEUSDT",
"LTCUSDT",
"BCHUSDT",
"DOTUSDT",
"LINKUSDT",
"ARBUSDT",
"WLDUSDT",
"MATICUSDT",
"ADAUSDT",
"OPUSDT",
"UNFIUSDT",
"MKRUSDT",
"PERPUSDT",
"APTUSDT",
"EOSUSDT",
"SUIUSDT",
"FILUSDT",
"ETCUSDT",
"AVAXUSDT",
"CYBERUSDT",
"ATOMUSDT",
"APEUSDT",
"DYDXUSDT",
"TRBUSDT",
"RUNEUSDT",
"AGLDUSDT",
"SUSHIUSDT",
"GRTUSDT",
"ANTUSDT",
"1INCHUSDT",
"JOEUSDT",
"LINAUSDT",
"GTCUSDT",
"XTZUSDT",
"NEOUSDT",
"BELUSDT",
"MAGICUSDT",
"EGLDUSDT",
"GMXUSDT",
"IDUSDT",
"THETAUSDT",
"VETAUSDT",
"KNCUSDT",
"STORGUSDT",
"AGIXUSDT",
"OCEANUSDT",
"STGUSDT",
"C98USDT",
"ZILUSDT",
"FLOWUSIDT",
"MDTUSDT",
"KLAYUSDT",
"MINAUSDT",
"HIGHUSDT",
"STMXUSDT"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/订单本.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "订单本"
}
],
"paths": {
"/api/orderBook/v2/bySymbol": {
"get": {
"summary": "交易对差值列表 (套餐3)",
"deprecated": false,
"description": "返回订单簿上距离价格固定范围的买单卖单的差值.</br>\n支持的范围: 0.0025 0.005 0.0075 0.01 0.03 0.05 0.1</br>\nproductType:SWAP SPOT</br>\next为当前时刻的实时数据</br>\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"订单本"
],
"parameters": [
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "exchange",
"in": "query",
"description": "合约:Binance,Bybit,Okex,Huobi,Bitfinex \n现货:Binance,Bybit,Okex,,Bitfinex,Kraken,Coinbase ",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "rate",
"in": "query",
"description": " 0.0025 0.005 0.0075 0.01 0.03 0.05 0.1",
"required": true,
"example": "0.01",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP or SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回比时间戳之前的数据",
"required": true,
"example": "1725980145357",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大 500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer",
"description": "time"
},
{
"type": "number",
"description": "挂单买 金额"
},
{
"type": "string",
"description": "挂单买 币数量"
},
{
"type": "string",
"description": "挂单卖 金额"
},
{
"type": "string",
"description": "挂单卖 币数量"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/orderBook/v2/byExchange": {
"get": {
"summary": "交易所聚合差值列表 (套餐3)",
"deprecated": false,
"description": "返回按交易所聚合的订单簿买单卖单差值</br>\ntype: 0.0025 0.005 0.0075 0.01 0.03 0.05 0.1</br>\nproductType:SWAP SPOT</br>\next为当前时刻的实时数据</br>",
"tags": [
"订单本"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "币种",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP or SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回比时间戳之前的数据",
"required": true,
"example": "1725980145357",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "Max 500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "exchanges",
"in": "query",
"description": "SWAP :Binance,Bybit,OKX,Huobi,Bitfinex \nSPOT:Binance,Bybit,OKX,,Bitfinex,Kraken,Coinbase Use commas to connect multiple exchanges",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"description": "0.0025 0.005 0.0075 0.01 0.03 0.05 0.1",
"required": true,
"example": "0.01",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number",
"description": "time"
},
{
"type": "number",
"description": "挂单买 金额"
},
{
"type": "string",
"description": "挂单买币数量"
},
{
"type": "number",
"description": "挂单卖 金额"
},
{
"type": "string",
"description": "挂单卖 币数量"
}
]
}
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/orderBook/getHeatMap": {
"get": {
"summary": "挂单流动性热力图 (套餐4)",
"deprecated": false,
"description": "根据时间定时取快照而算出的流动性热图 \n</br><font color = 'red'> # Required API Level: VIP4 and Above</font>",
"tags": [
"订单本"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m,3m,5m",
"required": true,
"example": "1m",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回此时间戳之前的数据",
"required": true,
"example": "1725980875358",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ts": {
"type": "integer",
"description": "时间列表"
},
"bids": {
"type": "object",
"properties": {
"counts": {
"type": "array",
"items": {
"type": "number"
}
},
"prices": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"counts",
"prices"
],
"description": "买单币数量"
},
"asks": {
"type": "object",
"properties": {
"counts": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
}
},
"prices": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"counts",
"prices"
],
"description": "卖单币数量"
}
},
"required": [
"ts",
"bids",
"asks"
]
}
},
"ext": {
"type": "integer",
"description": "step"
}
},
"required": [
"success",
"code",
"data",
"ext"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/订单流.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "订单流"
}
],
"paths": {
"/api/orderFlow/lists": {
"get": {
"summary": "订单流列表 (套餐3)",
"deprecated": false,
"description": "返回时间周期内的订单流列表\n</br><font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"订单流"
],
"parameters": [
{
"name": "exchange",
"in": "query",
"description": "Binance OKX Bybit Bitget",
"required": true,
"example": "Binance",
"schema": {
"type": "string"
}
},
{
"name": "symbol",
"in": "query",
"description": "交易对",
"required": true,
"example": "BTCUSDT",
"schema": {
"type": "string"
}
},
{
"name": "interval",
"in": "query",
"description": "1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d",
"required": true,
"example": "1h",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "返回比时间戳之前的数据",
"required": true,
"example": "1725981025363",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "最大500",
"required": true,
"example": "10",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "SWAP or SPOT",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "tickCount",
"in": "query",
"description": "默认为1 1~50 步长的倍数",
"required": true,
"example": "2",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "symbol"
},
"exchangeName": {
"type": "string",
"description": "exchangeName"
},
"step": {
"type": "integer",
"description": "step"
},
"prices": {
"type": "array",
"items": {
"type": "integer"
},
"description": "price array"
},
"asks": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"description": "volume of the sell trade"
},
"bids": {
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "integer"
}
]
},
"description": "volume of the buytrade"
},
"ts": {
"type": "integer"
}
},
"required": [
"symbol",
"exchangeName",
"step",
"prices",
"asks",
"bids",
"ts"
]
}
}
},
"required": [
"success",
"code",
"data"
]
},
"example": {
"success": true,
"code": "1",
"data": [
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
56910,
56905,
56900,
56895,
56890,
56885,
56880,
56875,
56870,
56865,
56860,
56855,
56850,
56845,
56840,
56835,
56830,
56825,
56820,
56815,
56810,
56805,
56800,
56795,
56790,
56785,
56780,
56775,
56770,
56765,
56760,
56755,
56750,
56745,
56740,
56735
],
"asks": [
0.4,
2.1,
10.9,
2.8,
3.2,
4,
6.1,
9.3,
16.1,
34.3,
73.4,
68.1,
117.6,
53.9,
20.3,
13.9,
68.4,
78.4,
81.2,
61.8,
48.4,
98.5,
85.9,
90,
54,
48.7,
73.3,
122.6,
104.1,
28.6,
19.3,
71.6,
65.6,
45.1,
36.1,
16.7
],
"bids": [
0.1,
0,
0.2,
0.1,
0.3,
0,
2.2,
14.2,
6,
23,
24,
81.2,
96.5,
19.2,
28.2,
25,
38.9,
90.3,
130.2,
65.7,
64.2,
101,
47.9,
88.9,
71.4,
59.4,
64.4,
67,
51.9,
39.1,
24.1,
51.2,
37.7,
23.8,
7.3,
27.2
],
"ts": 1725948000000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57265,
57260,
57255,
57250,
57245,
57240,
57235,
57230,
57225,
57220,
57215,
57210,
57205,
57200,
57195,
57190,
57185,
57180,
57175,
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960,
56955,
56950,
56945,
56940,
56935,
56930,
56925,
56920,
56915,
56910,
56905,
56900,
56895,
56890,
56885,
56880,
56875,
56870,
56865,
56860,
56855,
56850,
56845,
56840,
56835,
56830,
56825,
56820,
56815,
56810,
56805,
56800,
56795,
56790,
56785,
56780,
56775,
56770,
56765,
56760,
56755,
56750,
56745,
56740
],
"asks": [
12.3,
92.4,
60.8,
158,
110.1,
18.8,
46.3,
12.7,
30.4,
25,
13.3,
24.1,
32.8,
34.3,
82.8,
88.8,
161.6,
113.6,
111.5,
83.7,
83.4,
131.6,
127.9,
207.9,
397.1,
110.8,
117.5,
87.1,
143.5,
78.2,
43.4,
70.2,
74.5,
72.2,
200.3,
63.2,
64.2,
58.2,
152,
34.8,
57.8,
28.2,
51.5,
59.9,
191.9,
3.6,
54.6,
44.8,
36.5,
30.9,
18.9,
38.2,
14.7,
1.7,
0.6,
0,
7.1,
14.8,
13.4,
5.2,
15.1,
27.4,
24,
18.8,
45.8,
46.6,
31.5,
37.9,
22.3,
2.5,
1.7,
2.6,
8,
1.3,
0.3,
24.9,
4.5,
2.1,
2.7,
12.1,
16,
12.8,
12.1,
18.2,
19,
23.2,
20.3,
22.3,
8.8,
16,
12,
29.8,
9,
17.8,
7.6,
3.9,
18,
22.2,
21,
2.8,
12.6,
50.9,
44.9,
18.7,
31.5,
12.3
],
"bids": [
5.5,
29.5,
95.2,
172.1,
83.8,
53.1,
46.3,
59.6,
68.7,
52.1,
35.9,
58.6,
48.3,
34.5,
122.4,
77.1,
155.2,
130.8,
69.2,
103.8,
120.4,
123.3,
108,
179.7,
227.6,
144.1,
135.5,
100.4,
181.4,
102.5,
71.5,
90.7,
63.9,
158.5,
113.1,
51.9,
38.7,
55.6,
123.6,
72,
61.4,
45.4,
73.7,
50.5,
68.1,
28.5,
93.9,
61.2,
65,
37.8,
78.6,
54,
24,
7.8,
142.1,
20.2,
47.3,
48.7,
42.6,
17,
45.9,
41.1,
40.8,
55.8,
59.7,
67.8,
28,
49.3,
17.4,
8.5,
4.4,
7.6,
18.6,
1.2,
9.9,
30.8,
17.4,
5.3,
6.4,
13.7,
34.7,
22,
13.5,
33,
38.8,
25.1,
22.7,
39,
25.9,
26,
16.9,
57,
15.3,
23.8,
20.6,
5.9,
23.4,
12.9,
19.8,
3.5,
31.1,
59.5,
13.1,
3.4,
29.9,
0
],
"ts": 1725951600000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57365,
57360,
57355,
57350,
57345,
57340,
57335,
57330,
57325,
57320,
57315,
57310,
57305,
57300,
57295,
57290,
57285,
57280,
57275,
57270,
57265,
57260,
57255,
57250,
57245,
57240,
57235,
57230,
57225,
57220,
57215,
57210,
57205,
57200,
57195,
57190,
57185,
57180,
57175,
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960
],
"asks": [
0,
0,
0,
0,
1.2,
6.7,
82.7,
56.5,
83.9,
39.6,
60.6,
105.4,
84,
114.3,
120.3,
50.9,
43.7,
62.4,
70.5,
45.8,
73.7,
65.2,
116.1,
69,
113.9,
88.2,
103.9,
113.9,
108.4,
37.5,
54,
67.5,
56.9,
14.5,
73.6,
35.6,
62.6,
38.4,
87.7,
74,
41.6,
35.4,
40.8,
57.5,
51.5,
140.1,
84.4,
92,
55.4,
16,
57.4,
83.9,
57.8,
27.3,
87.5,
27.3,
58.8,
65.8,
72.3,
63.8,
117.2,
48,
55.1,
16.9,
37.7,
76.8,
70.2,
107.3,
82.4,
17.6,
27.8,
19.9,
66.9,
42.7,
115.7,
36.5,
45.9,
36.9,
8.5,
16.8,
2.2,
2.9
],
"bids": [
3.2,
7.6,
14.9,
10,
21.7,
8.9,
48.8,
50,
82.4,
40.7,
41,
106.8,
69,
42.9,
131.4,
29.5,
57.6,
59.1,
96.3,
105.9,
111,
92.3,
89.5,
54.9,
87.6,
62.1,
90.6,
119.3,
85.1,
43.9,
42.6,
28.5,
43,
19.5,
163.6,
30.1,
35.3,
28,
60.4,
35.4,
21.3,
19,
49.2,
27.2,
47.1,
104.5,
106.5,
93.6,
46.4,
14.2,
40,
107.3,
70,
14.8,
23.6,
43,
22.4,
41,
51.9,
25.2,
49.8,
21.9,
9.6,
6.3,
25.2,
68.8,
66.6,
81.1,
20.9,
20.2,
10.1,
6.1,
18.7,
21.2,
57.1,
55,
26.8,
21.5,
8.1,
4.4,
5.7,
15.1
],
"ts": 1725955200000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57245,
57240,
57235,
57230,
57225,
57220,
57215,
57210,
57205,
57200,
57195,
57190,
57185,
57180,
57175,
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960,
56955,
56950,
56945,
56940,
56935,
56930,
56925,
56920,
56915,
56910,
56905,
56900,
56895,
56890,
56885,
56880,
56875,
56870,
56865,
56860,
56855,
56850
],
"asks": [
5.4,
10.4,
56.5,
20.2,
45.2,
27,
60.1,
72.3,
42.8,
31.9,
65.3,
90.2,
42,
27.1,
12.5,
34.7,
21.9,
58.5,
50.7,
92.5,
66.7,
25.3,
77.4,
66.6,
55,
51.5,
44.3,
47.1,
43.4,
56.1,
28.8,
2.8,
10.9,
13.5,
20,
12.7,
5.8,
11.2,
36.6,
18.1,
22.8,
28,
38.6,
45.7,
65.1,
76.5,
38.2,
30.5,
82.1,
101.2,
186.7,
94.5,
126.6,
78.3,
68.3,
117.7,
81,
45.9,
85.8,
77.4,
58.8,
53.5,
76.3,
29.7,
59.1,
44.7,
35.1,
24.8,
18.6,
19.8,
45.3,
37.3,
19.8,
14.6,
45.7,
7.7,
5.8,
12.6,
14.9,
9.5
],
"bids": [
6.2,
15,
28.9,
36.4,
39.3,
38.7,
83.4,
63.9,
41.4,
42.9,
98,
58.5,
30.8,
15.3,
20.1,
32.2,
44.4,
44.8,
50.6,
43.9,
67.5,
19.9,
114.6,
126.2,
88.9,
45.7,
77.8,
70.8,
47.7,
42,
12.6,
1.3,
19,
8.4,
24.1,
2.1,
17.5,
16.7,
54.1,
75.4,
37.7,
52.4,
109.7,
105,
79.1,
148.1,
38.3,
68.5,
113.1,
131.3,
157.5,
87.1,
82.2,
103.4,
54.3,
66.7,
98.1,
31.9,
93.3,
61.8,
66.3,
57.6,
74,
79.8,
87.6,
49.1,
57.3,
30.3,
13.4,
20.6,
35.7,
60.2,
9.8,
24.2,
30,
5.1,
3.3,
11.8,
4.2,
0
],
"ts": 1725958800000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960,
56955,
56950,
56945,
56940,
56935,
56930,
56925,
56920,
56915
],
"asks": [
2.4,
1.5,
2.7,
1.8,
19.7,
55.9,
66.1,
126.1,
44.8,
33.3,
73.9,
103.2,
101.7,
104.5,
93.1,
106.4,
95.9,
381.5,
85.1,
33.5,
28.9,
28.5,
56.3,
18.3,
19.3,
23.1,
55.2,
58.5,
57.6,
73.9,
65.9,
12.7,
26.7,
40,
30.1,
33.7,
35.5,
38.8,
42.3,
42.5,
20.7,
31.2,
58.2,
54.1,
42.8,
21.9,
17.6,
24.4,
12.6,
4.8
],
"bids": [
29.8,
8.4,
6.5,
31.4,
50.2,
47.1,
106.1,
116.3,
54.3,
64.3,
43.4,
88.3,
108.6,
147.6,
112.5,
73.4,
143.5,
141,
68,
27.2,
44.7,
47.1,
29.9,
33.2,
35.5,
63.4,
34.1,
40.1,
9.4,
25.3,
46.4,
5.8,
10.4,
116.4,
40.3,
25.5,
47.5,
28,
32.1,
15.6,
11,
27.4,
73.6,
30.3,
24.6,
7,
28.3,
35.1,
19.9,
1.8
],
"ts": 1725962400000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57230,
57225,
57220,
57215,
57210,
57205,
57200,
57195,
57190,
57185,
57180,
57175,
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975
],
"asks": [
24.4,
75.9,
31,
62.5,
73.4,
76,
124.5,
73,
63.5,
63.2,
48.1,
62.3,
106.4,
29.6,
36.8,
63.2,
46.3,
73.1,
25.8,
22.7,
20,
59.8,
53.3,
75.1,
79.4,
94.6,
84.3,
55.5,
78.7,
34.2,
71.8,
2.9,
42.2,
37.1,
42.7,
23.5,
33.2,
32.8,
30.9,
48.7,
32.2,
13.7,
6.1,
18.6,
32,
47,
34.4,
63,
58.5,
58.8,
9.6,
2.7
],
"bids": [
0.8,
76,
40.7,
47.6,
28,
49.7,
35.9,
90.8,
83.7,
132.5,
61.8,
54.4,
86.6,
50.9,
57.7,
56.5,
124.6,
58.2,
23.2,
33.1,
22.2,
36.7,
34.9,
49.9,
70.9,
48.8,
46.3,
42.9,
27.5,
23.4,
15.3,
8.2,
31.5,
16.9,
32.4,
13.6,
37.7,
70,
33.6,
23.5,
31.5,
18.6,
2.9,
9.6,
16,
32.9,
32.9,
29,
15.3,
26,
2.8,
0
],
"ts": 1725966000000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57435,
57430,
57425,
57420,
57415,
57410,
57405,
57400,
57395,
57390,
57385,
57380,
57375,
57370,
57365,
57360,
57355,
57350,
57345,
57340,
57335,
57330,
57325,
57320,
57315,
57310,
57305,
57300,
57295,
57290,
57285,
57280,
57275,
57270,
57265,
57260,
57255,
57250,
57245,
57240,
57235,
57230,
57225,
57220,
57215,
57210,
57205,
57200,
57195,
57190,
57185,
57180,
57175,
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120
],
"asks": [
0,
0.3,
4.3,
4.6,
11.9,
14.5,
25.8,
19.3,
9.9,
3.2,
9.6,
2,
3.7,
22,
29.8,
41.5,
24.3,
49.4,
48.6,
64,
59.4,
114.5,
66.5,
67.4,
105.6,
110,
68.9,
86,
132.5,
152.6,
115.5,
111.2,
152.8,
132.6,
166.2,
138.8,
158.9,
126.4,
106.6,
102.6,
168,
111.3,
98.9,
75.8,
129.9,
75.7,
59.7,
45.4,
91.9,
68.7,
91.7,
38.5,
75.7,
131.2,
90.8,
80.2,
49.4,
43.4,
58.7,
48.5,
39.9,
35.8,
23.8,
0.7
],
"bids": [
18.6,
25,
34,
20.5,
26.1,
20.1,
37.6,
36,
98.8,
12,
30.9,
26.6,
49.2,
60.5,
57.2,
98.5,
73.8,
108.3,
146.6,
82.4,
80.7,
143.8,
122.5,
89.5,
123.1,
113.2,
141.9,
104.8,
194.3,
120.3,
172.1,
139.6,
138.1,
73.4,
114.9,
95.6,
65.3,
85.3,
73.7,
54.3,
83.7,
75.7,
107.7,
102.9,
82.9,
34.5,
86.3,
23.4,
68.1,
52.6,
27.9,
27.3,
26.5,
48.9,
49.4,
65.6,
24.6,
23.5,
9.9,
11.5,
19.5,
19.3,
5,
0
],
"ts": 1725969600000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57170,
57165,
57160,
57155,
57150,
57145,
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960,
56955,
56950,
56945,
56940,
56935,
56930,
56925,
56920,
56915,
56910,
56905,
56900,
56895,
56890,
56885,
56880,
56875,
56870,
56865,
56860,
56855,
56850,
56845,
56840,
56835,
56830,
56825,
56820,
56815,
56810,
56805,
56800,
56795,
56790,
56785,
56780,
56775,
56770,
56765,
56760,
56755,
56750,
56745,
56740,
56735,
56730,
56725,
56720,
56715,
56710,
56705,
56700,
56695,
56690,
56685,
56680,
56675,
56670,
56665,
56660,
56655,
56650,
56645,
56640,
56635,
56630,
56625,
56620,
56615,
56610,
56605,
56600,
56595
],
"asks": [
5.1,
4.3,
2.5,
2.7,
0.3,
10.7,
17.3,
19.5,
11.2,
10.9,
41.2,
38.5,
43.9,
23.8,
14.7,
41,
32.2,
51,
48.4,
84.8,
89.5,
93.5,
76.4,
71.2,
15.7,
17.7,
18.3,
10.7,
46.6,
29.1,
15.4,
34.8,
29.9,
5.1,
38.3,
73.5,
81.9,
31.1,
79.1,
57.7,
129.9,
161,
77.2,
95.7,
145.6,
141.3,
121.5,
142.5,
149,
170.9,
254,
208.8,
197.2,
174.3,
187.6,
326,
244,
161.6,
214.9,
202.4,
172.6,
122.5,
172.2,
148.5,
159,
156.8,
140.7,
174.5,
229.6,
167.6,
179,
167.7,
148.8,
157.1,
210.2,
159.9,
162.8,
99.5,
105.9,
95.2,
112.2,
66,
105.2,
103.5,
138.4,
158.4,
130.4,
101,
105.8,
116.8,
100.6,
102.4,
172.5,
70.9,
105.9,
208.2,
138,
242.8,
222.3,
182.3,
245.7,
297.8,
138.7,
165.2,
137.5,
98.2,
73.4,
75,
62.6,
67.1,
66.1,
79.4,
48.5,
77,
60.5,
26.2
],
"bids": [
3.3,
3.2,
3.9,
0,
0,
6.9,
4.1,
4.3,
9.2,
9.5,
18.4,
8.7,
34.1,
0,
2.5,
7.9,
96.5,
32.2,
48.6,
54.5,
50.1,
79.7,
89.5,
28,
4.6,
5.6,
10.2,
16.1,
15.9,
37.3,
34.4,
43.7,
25.9,
0.5,
0.7,
11.5,
40.9,
13.2,
69.7,
52.1,
134.1,
162.8,
128.8,
85.4,
171.3,
175,
156.9,
181.6,
213.2,
259.1,
260.6,
130.8,
210.2,
147.2,
153.9,
307.3,
170.7,
187.4,
208.8,
227.3,
220.8,
130.7,
141.3,
162,
132.4,
192.7,
142,
192.4,
271,
190.3,
123.1,
131,
93.8,
152.6,
121.4,
214.2,
179.6,
118.9,
108.8,
51.1,
80.7,
93.8,
62.9,
110.9,
114.3,
98.5,
90.7,
64.4,
102.2,
106.1,
127.1,
109.6,
117.4,
107.5,
93.9,
130,
185,
207.6,
177.6,
163.9,
151.2,
185.8,
79.5,
93.3,
100,
56.8,
23.5,
22.7,
32.6,
38.6,
34.4,
13.6,
9.5,
10.8,
0.3,
18.6
],
"ts": 1725973200000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"step": 5,
"prices": [
57140,
57135,
57130,
57125,
57120,
57115,
57110,
57105,
57100,
57095,
57090,
57085,
57080,
57075,
57070,
57065,
57060,
57055,
57050,
57045,
57040,
57035,
57030,
57025,
57020,
57015,
57010,
57005,
57000,
56995,
56990,
56985,
56980,
56975,
56970,
56965,
56960,
56955,
56950,
56945,
56940,
56935,
56930,
56925,
56920,
56915,
56910,
56905,
56900,
56895,
56890,
56885,
56880,
56875,
56870,
56865,
56860,
56855,
56850,
56845,
56840,
56835,
56830,
56825,
56820,
56815,
56810,
56805,
56800,
56795,
56790,
56785,
56780,
56775,
56770,
56765,
56760,
56755,
56750,
56745,
56740,
56735,
56730,
56725,
56720,
56715,
56710,
56705,
56700,
56695,
56690,
56685,
56680,
56675,
56670,
56665,
56660,
56655,
56650,
56645,
56640,
56635,
56630,
56625,
56620,
56615,
56610,
56605,
56600,
56595,
56590,
56585,
56580,
56575,
56570,
56565,
56560,
56555,
56550,
56545,
56540,
56535,
56530,
56525,
56520,
56515,
56510,
56505,
56500,
56495,
56490,
56485,
56480
],
"asks": [
0,
15.6,
23.6,
19.8,
24.6,
34.8,
20.5,
36.1,
46.1,
82.8,
35,
36.4,
18.4,
43.3,
18.9,
20.6,
15.8,
6.7,
5.5,
15.9,
13.5,
29.1,
28,
51.6,
14.4,
5.2,
23.2,
2.8,
1.1,
29.4,
72.8,
44.1,
48.6,
94.4,
159,
139.4,
135.4,
97.4,
135.4,
154.8,
146.7,
145.9,
99.7,
138.3,
117.8,
122.1,
123.5,
141.4,
151.3,
244.6,
173.2,
143.9,
135.8,
156.9,
177,
111.1,
95.8,
97,
98.7,
161.1,
77.3,
88.8,
71.6,
96.9,
82,
71.3,
83.9,
72.2,
50.6,
127,
77.4,
114.7,
70.2,
63.7,
56.8,
48.7,
34.7,
29.5,
52.7,
47.4,
51.9,
36.7,
29.5,
23.9,
22.5,
49.4,
72.2,
57,
69.7,
58.9,
83.3,
69.1,
87.3,
88.9,
125.6,
117.4,
89.2,
101.6,
124.4,
80.7,
105.7,
110.3,
96,
89,
120,
123.8,
113.1,
93.1,
84,
181.9,
88.7,
98.5,
61.7,
100,
98.7,
151.7,
63.9,
86.3,
88.1,
98.8,
86.8,
87.1,
79.9,
105.2,
82.4,
67.9,
27.2,
45.1,
34,
173.3,
18.9,
32.8,
3.1
],
"bids": [
9.8,
14.3,
30.3,
15.8,
22,
25,
38.3,
33.5,
58.8,
86.1,
27.4,
35.6,
25.1,
44.8,
27.2,
9.3,
15.6,
45.1,
21,
41,
22.5,
26,
23.4,
37.9,
25.9,
30.5,
8.1,
9.8,
5.8,
104.4,
64.6,
104.3,
125.2,
133.9,
153.4,
201.3,
144.4,
102.3,
120.6,
184.5,
179.1,
166.8,
113.2,
147.7,
117.8,
89.7,
122.2,
86.9,
115.2,
140.6,
201.3,
198.6,
121.8,
111.3,
157,
78.5,
78.4,
95.5,
92,
85.8,
95.9,
72.6,
103.4,
95,
75.7,
57,
85.8,
83.6,
53.2,
107.6,
90,
87.6,
56.7,
84.1,
75.8,
86.9,
120.4,
57.8,
49,
120.5,
92.8,
87.7,
70.9,
75.2,
80.7,
83.9,
68.5,
91,
51.2,
87.8,
68.7,
57.3,
89.9,
93.6,
123,
124.6,
136.4,
80.6,
82.7,
109.2,
83.9,
122.8,
116.7,
86.9,
140,
125.7,
71.5,
98.7,
100.1,
83.8,
67.1,
71.5,
65.2,
75.2,
67.7,
87.1,
88.2,
90.7,
105.3,
92.3,
91.8,
77.8,
73.4,
51,
62.9,
51.3,
20.6,
30.9,
27.2,
12.4,
7.6,
1.5,
0
],
"ts": 1725976800000
},
{
"symbol": "BTCUSDT",
"exchangeName": "Binance",
"prices": [],
"asks": [],
"bids": [],
"ts": 1725980400000
}
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```
### references/资金流.openapi.json
```json
{
"openapi": "3.0.1",
"info": {
"title": "默认模块",
"description": "",
"version": "1.0.0"
},
"tags": [
{
"name": "资金流"
}
],
"paths": {
"/api/fund/fundReal": {
"get": {
"summary": "实时资金流入流出(套餐3)",
"deprecated": false,
"description": "返回币种实时资金流入流出\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"资金流"
],
"parameters": [
{
"name": "productType",
"in": "query",
"description": "SWAP 合约 SPOT现货",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "page",
"in": "query",
"description": "当前页",
"required": true,
"example": 1,
"schema": {
"type": "integer"
}
},
{
"name": "size",
"in": "query",
"description": "每页大小",
"required": true,
"example": 50,
"schema": {
"type": "integer"
}
},
{
"name": "sortBy",
"in": "query",
"description": "排序字段",
"required": true,
"example": "h1net",
"schema": {
"type": "string"
}
},
{
"name": "sortType",
"in": "query",
"description": "desc 降序 asc 升序",
"required": true,
"example": "desc",
"schema": {
"type": "string"
}
},
{
"name": "baseCoin",
"in": "query",
"description": "只查某一个币",
"required": true,
"example": "BTC",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"baseCoin": {
"type": "string"
},
"m5net": {
"type": "number",
"description": "最近5分钟内净流入"
},
"m15net": {
"type": "number"
},
"m30net": {
"type": "number"
},
"h1net": {
"type": "number"
},
"h2net": {
"type": "number"
},
"h4net": {
"type": "number"
},
"h6net": {
"type": "number"
},
"h8net": {
"type": "number"
},
"h12net": {
"type": "number"
},
"d1net": {
"type": "number"
},
"d3net": {
"type": "number"
},
"d2net": {
"type": "number"
},
"d5net": {
"type": "number"
},
"d7net": {
"type": "number"
},
"d30net": {
"type": "number"
}
},
"required": [
"baseCoin",
"m5net",
"m15net",
"m30net",
"h1net",
"h2net",
"h4net",
"h6net",
"h8net",
"h12net",
"d1net",
"d3net",
"d2net",
"d5net",
"d7net",
"d30net"
]
}
},
"pagination": {
"type": "object",
"properties": {
"current": {
"type": "integer"
},
"total": {
"type": "integer"
},
"pageSize": {
"type": "integer"
}
},
"required": [
"current",
"total",
"pageSize"
]
}
},
"required": [
"list",
"pagination"
]
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
},
"/api/fund/getFundHisList": {
"get": {
"summary": "历史资金流入流出 (套餐3)",
"deprecated": false,
"description": "返回币种历史资金流入流出\n<font color = 'red'> # Required API Level: VIP3 and Above</font>",
"tags": [
"资金流"
],
"parameters": [
{
"name": "baseCoin",
"in": "query",
"description": "",
"required": true,
"example": "GOAT",
"schema": {
"type": "string"
}
},
{
"name": "endTime",
"in": "query",
"description": "毫秒时间戳",
"required": true,
"example": "1729775700000",
"schema": {
"type": "string"
}
},
{
"name": "productType",
"in": "query",
"description": "",
"required": true,
"example": "SWAP",
"schema": {
"type": "string"
}
},
{
"name": "size",
"in": "query",
"description": "",
"required": true,
"example": 500,
"schema": {
"type": "integer"
}
},
{
"name": "interval",
"in": "query",
"description": "",
"required": true,
"example": "5m",
"schema": {
"type": "string"
}
},
{
"name": "apikey",
"in": "header",
"description": "Register and activate to obtain apikey",
"required": true,
"example": "{{apikey}}",
"schema": {
"type": "string",
"default": "{{apikey}}"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"code": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"baseCoin": {
"type": "string",
"description": "coin"
},
"m5net": {
"type": "number",
"description": "Net FundFlow value in 5 minte"
},
"m15net": {
"type": "number"
},
"m30net": {
"type": "number"
},
"h1net": {
"type": "number"
},
"h2net": {
"type": "number"
},
"h4net": {
"type": "number"
},
"h6net": {
"type": "number"
},
"h8net": {
"type": "number"
},
"h12net": {
"type": "number"
},
"d1net": {
"type": "number"
},
"d3net": {
"type": "number"
},
"d7net": {
"type": "number"
},
"d15net": {
"type": "number"
},
"d30net": {
"type": "number"
},
"ts": {
"type": "integer",
"description": "time"
}
},
"required": [
"baseCoin",
"m5net",
"m15net",
"m30net",
"h1net",
"h2net",
"h4net",
"h6net",
"h8net",
"h12net",
"d1net",
"d3net",
"d7net",
"d15net",
"d30net",
"ts"
]
}
}
},
"required": [
"success",
"code",
"data"
]
}
}
},
"headers": {}
}
},
"security": []
}
}
},
"components": {
"schemas": {},
"responses": {},
"securitySchemes": {}
},
"servers": [
{
"url": "https://open-api.coinank.com",
"description": "Prod Env"
}
],
"security": []
}
```