aicoin-market

This skill should be used when the user asks about crypto prices, market data, K-line charts, funding rates, open interest, long/short ratios, whale orders, liquidation data, crypto news, newsflash, Twitter crypto tweets, trending coins, airdrops, drop radar, airdrop research, project analysis, exchange listings, stock quotes, treasury holdings, or any crypto market query. Also use when user asks about configuring or checking AiCoin API key. Use when user says: 'BTC price', 'check price', 'show K-line', 'funding rate', 'open interest', 'whale orders', 'long/short ratio', 'crypto news', 'newsflash', 'ETF', '监管', '政策', 'trending coins', 'airdrop', 'drop radar', '查行情', '看价格', '大饼多少钱', 'K线', '资金费率', '多空比', '鲸鱼单', '新闻', '快讯', '新闻快讯', '热门币', '空投', '空投项目', '空投机会', '空投研报', '项目分析', '项目详情', '上了哪些交易所', '推特', 'Twitter', 'liquidation map', '配置AiCoin key', 'AiCoin API key', 'AiCoin key安全吗'. Covers 200+ exchanges with real-time data. MUST run node scripts to fetch real data. NEVER generate fake prices or hallucinate market data. NEVER use web_search/web_fetch for airdrop, project, news, or Twitter data — always use airdrop.mjs, drop_radar.mjs, news.mjs, newsflash.mjs, or twitter.mjs scripts. IMPORTANT — AiCoin API Key: When user asks about AiCoin API key (配置/检查/安全/能不能交易), run `node scripts/coin.mjs api_key_info` FIRST, show the security_notice to user. For exchange trading (buy/sell/balance), use aicoin-trading instead. For Freqtrade strategies/backtest, use aicoin-freqtrade. For Hyperliquid whale analytics, use aicoin-hyperliquid.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "aicoin-market" with this command: npx skills add aicoincom/coinos-skills/aicoincom-coinos-skills-aicoin-market

⚠️ 运行脚本: 必须先 cd 到本 SKILL.md 所在目录再执行。示例: cd ~/.openclaw/workspace/skills/aicoin-market && node scripts/market.mjs ...

AiCoin Market

Crypto market data toolkit powered by AiCoin Open API. Prices, K-lines, news, signals, whale orders, and more from 200+ exchanges.

Version: 1.0.0

Critical Rules

  1. NEVER fabricate data. Always run scripts. If data is empty or errors occur, say so directly — do NOT invent explanations.
  2. NEVER use curl, web_fetch, web_search, or browser for crypto/airdrop/project data. Always use these scripts.
  3. NEVER run env or printenv — leaks API secrets into logs.
  4. Scripts auto-load .env — never pass credentials inline.
  5. Reply in the user's language. Chinese input = all-Chinese response (titles, headings, analysis).
  6. On 304/403 error — STOP, do NOT retry. This is a paid feature. Follow the Paid Feature Guide to help the user upgrade.
  7. 更换 API Key 只能用 update_key 命令。 禁止直接编辑 .env、禁止用 gateway/edit 工具改 key。update_key 会先验证 key 有效才写入。

Quick Reference

TaskCommandMin Tier
Search coin dbKeynode scripts/coin.mjs search '{"search":"BTC"}'不确定 symbol 时先用这个查 dbKey免费版
空投查询node scripts/airdrop.mjs all查空投必用此命令,自动合并交易所空投+链上早期项目基础版
项目深度分析node scripts/drop_radar.mjs detail '{"airdrop_id":"xxx"}'自动包含团队+X关注,不要用 web_search基础版
查币上了哪些交易所node scripts/coin.mjs search '{"search":"OPN"}' — 返回全部交易所交易对免费版
API Key Infonode scripts/coin.mjs api_key_infoWhen user asks about AiCoin API key (配置/安全/能不能下单), ALWAYS run this first.免费版
Update API Keynode scripts/coin.mjs update_key '{"key_id":"xxx","secret":"xxx"}'更换 key 必须用此命令(自动验证+写入),禁止直接编辑 .env免费版
BTC pricenode scripts/coin.mjs coin_ticker '{"coin_list":"bitcoin"}'免费版
K-linenode scripts/market.mjs kline '{"symbol":"btcusdt:okex","period":"3600","size":"100"}'免费版
Funding ratenode scripts/coin.mjs funding_rate '{"symbol":"BTC"}'基础版
Long/short rationode scripts/features.mjs ls_ratio基础版
Whale ordersnode scripts/features.mjs big_orders '{"symbol":"btcswapusdt:binance"}'标准版
News flashnode scripts/news.mjs flash_list '{"language":"cn"}'基础版
Trending coinsnode scripts/market.mjs hot_coins '{"key":"defi"}'免费版
Open interestnode scripts/coin.mjs open_interest '{"symbol":"BTC","interval":"15m"}'专业版
Liquidation mapnode scripts/coin.mjs liquidation_map '{"dbkey":"btcswapusdt:binance","cycle":"24h"}'高级版

Symbol Discovery: dbKey 格式不用猜。先用 search 查,再用返回的 dbKey 调其他接口:

node scripts/coin.mjs search '{"search":"BTC"}'          # → dbKeys: ["btcswapusdt:binance", "btcusdt:okex", ...]
node scripts/coin.mjs search '{"search":"CL"}'           # → dbKeys: ["clswapusdc:hyperliquid", ...]
node scripts/market.mjs kline '{"symbol":"从search拿到的dbKey","period":"3600"}'

常用币快捷方式: BTC, ETH, SOL, DOGE, XRP 在 coin.mjs 里自动解析,无需 search。其他币必须先 search。

中文俗称: 大饼=BTC, 姨太=ETH, 狗狗=DOGE, 瑞波=XRP, 索拉纳=SOL.

常用工作流

空投查询: 用户问空投/airdrop/优质项目 时,只需一条命令查全部数据: node scripts/airdrop.mjs all — 自动同时查交易所空投 + 链上早期项目,合并返回。

项目深度分析: 用户问某项目详情/研报时,用 drop_radar.mjs detail(自动包含团队 + X关注数据): node scripts/drop_radar.mjs detail '{"airdrop_id":"xxx"}' — 返回项目详情 + 团队 + X关注列表。 如已发代币,再用 node scripts/coin.mjs search '{"search":"代币名"}' 查价格和交易对。 不要用 web_search 替代,数据都在脚本里。

查币上了哪些交易所: node scripts/coin.mjs search '{"search":"OPN"}' — 返回全部交易所的交易对(现货+合约),不要用其他接口拼凑。

推特/Twitter 讨论: 用户问推特/Twitter热点时,用 twitter.mjs latesttwitter.mjs search,不要用 newsflash 替代。

Free vs Paid Endpoints

Free (built-in key, no config needed): coin_ticker, kline, hot_coins, exchanges, pair_ticker, news_rss — only 6 endpoints.

基础版 ($29/mo) adds: coin_list, coin_config, funding_rate, trade_data, ticker, futures_interest, ls_ratio, nav, pair_by_market, pair_list, news_list, flash_list, twitter/latest, twitter/search, newsflash/search, newsflash/list

标准版 ($79/mo) adds: big_orders, agg_trades, grayscale_trust, gray_scale, signal_alert, signal_config, strategy_signal, change_signal, depth_latest, newsflash, news_detail, twitter/members, twitter/interaction_stats, newsflash/detail

高级版 ($299/mo) adds: liquidation_map, liquidation_history, liquidation, indicator_kline, indicator_pairs, index_list, index_price, index_info, depth_full, depth_grouped

专业版 ($699/mo) adds: ai_analysis, open_interest, estimated_liquidation, historical_depth, super_depth, stock_quotes, stock_top_gainer, stock_company, treasury_*, stock_market, signal_alert_list, exchange_listing

Full tier table: docs/api-tiers.md

Setup

Scripts work out of the box with a built-in free key (6 endpoints). For more endpoints, add your API key to .env:

AICOIN_ACCESS_KEY_ID=your-key
AICOIN_ACCESS_SECRET=your-secret

安全说明: AiCoin API Key 仅用于获取市场数据(行情、K线、新闻等),无法进行任何交易操作,也无法读取你在交易所的信息。如需交易功能,需单独到交易所申请交易 API Key(见 aicoin-trading skill)。所有密钥仅保存在本地设备 .env 文件中,不会上传到任何服务器。

.env is auto-loaded from: cwd → ~/.openclaw/workspace/.env~/.openclaw/.env

Scripts

All scripts: node scripts/<name>.mjs <action> [json-params]

scripts/coin.mjs — Coin Data

ActionDescriptionMin TierParams
search搜索币种,获取 dbKey。 不确定 symbol 格式时先用这个查。免费版{"search":"BTC"} Optional: market, trade_type, page, page_size
api_key_infoAiCoin API Key status + security notice. Run when user asks about key config/safety.免费版None
update_key更换 API Key(先验证再写入 .env)。禁止直接编辑 .env 更换 key。免费版{"key_id":"xxx","secret":"xxx"}
coin_tickerReal-time prices免费版{"coin_list":"bitcoin,ethereum"}
coin_listList all coins基础版None
coin_configCoin profile基础版{"coin_list":"bitcoin"}
funding_rateFunding rate (BTC only, aggregated)基础版{"symbol":"BTC","interval":"8h"} Weighted: add "weighted":"true" (基础版). For per-exchange real-time rates, use aicoin-trading: node scripts/exchange.mjs funding_rate '{"exchange":"binance","symbol":"BTC/USDT:USDT"}'
trade_dataTrade data基础版{"symbol":"btcswapusdt:okcoinfutures"}
ai_analysisAI analysis & prediction专业版{"coin_keys":"[\"bitcoin\"]","language":"CN"}
open_interestOpen interest专业版{"symbol":"BTC","interval":"15m"} Coin-margined: add "margin_type":"coin"
liquidation_mapLiquidation heatmap高级版{"symbol":"btcswapusdt:binance","cycle":"24h"}
liquidation_historyLiquidation history高级版{"symbol":"btcswapusdt:binance","interval":"1m"}
estimated_liquidationEstimated liquidation专业版{"symbol":"btcswapusdt:binance","cycle":"24h"}
historical_depthHistorical depth专业版{"symbol":"btcswapusdt:okcoinfutures"}
super_depthLarge order depth >$10k专业版{"symbol":"btcswapusdt:okcoinfutures"}

scripts/market.mjs — Market Data

ActionDescriptionMin TierParams
klineStandard K-line免费版{"symbol":"btcusdt:okex","period":"3600","size":"100"} period: 900/3600/14400/86400
hot_coinsTrending coins免费版{"key":"defi"} key: gamefi/anonymous/market/web/newcoin/stable/defi
exchangesExchange list免费版None
tickerExchange tickers基础版{"market_list":"okex,binance"}
futures_interestFutures OI ranking基础版{"language":"cn"}
depth_latestReal-time depth标准版{"symbol":"btcswapusdt:binance"}
indicator_klineIndicator K-line高级版{"symbol":"btcswapusdt:binance","indicator_key":"fundflow","period":"3600"}
indicator_pairsIndicator pairs高级版{"indicator_key":"fundflow"}
index_listIndex list高级版None
index_priceIndex price高级版{"key":"i:diniw:ice"}
index_infoIndex details高级版{"key":"i:diniw:ice"}
depth_fullFull order book高级版{"symbol":"btcswapusdt:binance"}
depth_groupedGrouped depth高级版{"symbol":"btcswapusdt:binance","groupSize":"100"}
stock_quotesStock quotes专业版{"tickers":"i:mstr:nasdaq"}
stock_top_gainerTop gainers专业版{"us_stock":"true"}
stock_companyCompany details专业版{"symbol":"i:mstr:nasdaq"}
treasury_entitiesHolding entities专业版{"coin":"BTC"}
treasury_historyTransaction history专业版{"coin":"BTC"}
treasury_accumulatedAccumulated holdings专业版{"coin":"BTC"}
treasury_latest_entitiesLatest entities专业版{"coin":"BTC"}
treasury_latest_historyLatest history专业版{"coin":"BTC"}
treasury_summaryHoldings overview专业版{"coin":"BTC"}

scripts/features.mjs — Features & Signals

ActionDescriptionMin TierParams
pair_tickerPair ticker免费版{"key_list":"btcusdt:okex,btcusdt:huobipro"}
ls_ratioLong/short ratio基础版None
navMarket navigation基础版{"language":"cn"}
pair_by_marketPairs by exchange基础版{"market":"binance"}
pair_listPair list基础版{"market":"binance","currency":"USDT"}
grayscale_trustGrayscale trust标准版None
gray_scaleGrayscale holdings标准版{"coins":"btc,eth"}
signal_alertSignal alerts标准版None
signal_configAlert config标准版{"language":"cn"}
strategy_signalStrategy signal标准版{"signal_key":"depth_win_one"}
change_signalAnomaly signal标准版{"type":"1"}
big_ordersWhale orders标准版{"symbol":"btcswapusdt:binance"}
agg_tradesAggregated large trades标准版{"symbol":"btcswapusdt:binance"}
liquidationLiquidation data高级版{"type":"1","coinKey":"bitcoin"}
signal_alert_listAlert list专业版None
stock_marketCrypto stocks专业版None
delete_signalDelete alert专业版{"id":"xxx"}

scripts/news.mjs — News & Content

ActionDescriptionMin TierParams
news_rssRSS news feed免费版{"page":"1"}
news_listNews list基础版{"page":"1","page_size":"20"}
flash_listIndustry flash news基础版{"language":"cn"}
newsflashAiCoin flash news标准版{"language":"cn"}
news_detailNews detail标准版{"id":"xxx"}
exchange_listingExchange listing announcements专业版{"memberIds":"477,1509"}

scripts/twitter.mjs — Twitter/X Crypto Tweets

ActionDescriptionMin TierParams
latestLatest crypto tweets基础版{"language":"cn","page_size":"20"}
searchSearch tweets基础版{"keyword":"bitcoin","language":"cn","page_size":"20"}
membersSearch KOL/users标准版{"keyword":"elon","page":"1","page_size":"20"}
interaction_statsTweet engagement stats标准版{"flash_ids":"123,456,789"}

scripts/newsflash.mjs — Newsflash (OpenData)

ActionDescriptionMin TierParams
searchSearch newsflash基础版{"keyword":"bitcoin","page":"1","page_size":"20"}
listNewsflash list with filters基础版{"page_size":"20","language":"cn"}
detailNewsflash full content标准版{"flash_id":"123456"}

scripts/airdrop.mjs — Airdrop (OpenData)

ActionDescriptionMin TierParams
all综合查询(推荐) — 同时查交易所空投+链上早期项目,合并返回基础版{"page_size":"20"} Optional: status, keyword, lan
listAirdrop projects list (multi-source)基础版{"source":"all","status":"ongoing","page":"1","page_size":"20","exchange":"binance"}
detailAirdrop detail (hodler/xlaunch)标准版{"type":"hodler","token":"SIGN"}
bannerHot airdrop banners基础版{"limit":"5"}
exchangesAvailable exchanges and activity types基础版{"lan":"cn"}
calendarAirdrop calendar (year+month required)标准版{"year":"2026","month":"3"}

Source options for list: all(default), hodler, xlaunch, earncoin, alpha, bitget_launchpool, bitget_poolx

scripts/drop_radar.mjs — Drop Radar (OpenData)

ActionDescriptionMin TierParams
listProject list with filters基础版{"page":"1","page_size":"20","status":"CONFIRMED","keyword":"airdrop"}
detailProject detail(自动包含团队+X关注)基础版{"airdrop_id":"xxx"}
widgetsStatistics overview基础版{"lan":"cn"}
filtersAvailable filter options基础版{"lan":"cn"}
eventsProject event calendar标准版{"airdrop_id":"xxx"}
teamProject team members标准版{"airdrop_id":"xxx"}
x_followingProject X following list标准版{"airdrop_id":"xxx"}
status_changesRecent status changes标准版{"days":"7","page":"1","page_size":"20"}
tweetsSearch project tweets标准版{"keywords":"bitcoin,airdrop","page_size":"20"}

Cross-Skill References

NeedUse
Exchange trading (buy/sell/balance)aicoin-trading
Freqtrade strategies/backtest/deployaicoin-freqtrade
Hyperliquid whale trackingaicoin-hyperliquid

Common Errors

  • errorCode 304 / HTTP 403 — Paid feature. Script output includes upgrade link and instructions. Show them to user. Do NOT retry.
  • Invalid symbol — Check format: AiCoin uses btcusdt:okex, not BTC/USDT
  • Rate limit exceeded — Wait 1-2s between requests; use batch queries

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

aicoin-freqtrade

No summary provided by upstream source.

Repository SourceNeeds Review
General

aicoin-trading

No summary provided by upstream source.

Repository SourceNeeds Review
General

aicoin-hyperliquid

No summary provided by upstream source.

Repository SourceNeeds Review
General

aicoin-account

No summary provided by upstream source.

Repository SourceNeeds Review
aicoin-market | V50.AI