Skip to content
Back to skills

Coinank Openapi

ASecurity

call coinank openapi to get data

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
documentationapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill coinank-openapi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coinank Openapi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Coinank Openapi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-coinank-openapi/badge)](https://www.skillsdirectory.com/skills/modbender-coinank-openapi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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}/README.md, {baseDir}/references/*.json
# - Allowed to make network requests to: https://open-api.coinank.com


## 工作流 (按需加载模式)

当用户提出请求时,请严格执行以下步骤:

1. **检查API密钥**:首先检查环境变量 `COINANK_API_KEY` 是否存在。如果不存在,提示用户设置API密钥。
2. **阅读README**:仔细阅读README.md
3. **目录索引**:扫描 `{baseDir}/references/` 目录下的所有文件名,确定哪些 OpenAPI 定义文件与用户需求相关。
4. **精准读取**:仅读取选定的 `.json` 文件,分析其 `paths`、`parameters` 和 `requestBody`。其中paths内是一个对象,对象的key就是path
5. **构造请求**:使用 curl 执行请求。
   - **Base URL**: 统一使用 `https://open-api.coinank.com`(或从 JSON 的 `servers` 字段提取)。
   - **Auth**: 从环境变量 `COINANK_API_KEY` 中获取 apikey 注入 Header。
   - 如果参数有endTime,尽量传入最新的毫秒级时间戳
   - OpenAPI文档内的时间戳都是示例.如果用户没有指定时间,请使用最新的时间和毫秒级时间戳


## 注意事项
- **禁止全量加载**:除非用户请求涉及多个领域,否则禁止同时读取多个 JSON 文件。
- **参数校验**:在发起请求前,必须根据 OpenAPI 定义验证必填参数是否齐全。
- **错误处理**:当请求失败时,向用户显示友好的提示信息,并记录详细的错误日志。
- **API密钥配置**:用户需要自行设置环境变量 `COINANK_API_KEY`,例如:`export COINANK_API_KEY="your_api_key"`

Files in this skill

  • README.md35.7 KB
  • SKILL.md1.9 KB
  • references/ETF.openapi.json25.3 KB
  • references/K线.openapi.json5.7 KB
  • references/RSI选币器.openapi.json5.1 KB
  • references/hyperLiquid鲸鱼.openapi.json10 KB
  • references/净多头和净空头.openapi.json5.1 KB
  • references/多空比.openapi.json86.7 KB
  • references/大额订单.openapi.json17.9 KB
  • references/币种和交易对.openapi.json19 KB
  • references/市价单统计指标.openapi.json53.4 KB
  • references/指标数据.openapi.json38.8 KB
  • references/新闻快讯.openapi.json9.7 KB
  • references/爆仓数据.openapi.json39.9 KB
  • references/订单本.openapi.json15.5 KB
  • references/订单流.openapi.json76.1 KB
  • references/资金流.openapi.json13 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.