aicoin-market
Originally fromaicoincom/coinos-skills
Installation
SKILL.md
AiCoin Market
Crypto market data from the AiCoin Open API v3 — prices, K-lines, derivatives, news, signals, airdrops, treasuries and more across 200+ exchanges.
从 SKILL.md 所在目录运行脚本。CoinClaw 三引擎容器(OpenClaw / Hermes / Claude Code)自动注入 skill 路径,
cd到 skill 目录即可。
怎么用
一个命令调所有接口:
node scripts/aicoin.mjs <接口> '<JSON 参数>'
<接口> 就是 /api/v3/ 后面那段路径,例如 market/ticker、coins/tickers。
- 返回统一信封
{ ok, data, error, meta }—— 先看ok。ok:false时看error.code/error.message,里面写清楚了哪里错。 - 不确定有哪些接口、参数怎么填 →
node scripts/aicoin.mjs catalog [分组]。catalog 是线上实时的接口菜单,永远准。先查它再调。 - 想知道当前 key 能用哪些接口 →
node scripts/aicoin.mjs key。