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, stock quotes, treasury holdings, or any crypto market query. Use when user says: 'BTC price', 'check price', 'show K-line', 'funding rate', 'open interest', 'whale orders', 'long/short ratio', 'crypto news', 'newsflash', 'trending coins', '查行情', '看价格', '大饼多少钱', 'K线', '资金费率', '多空比', '鲸鱼单', '新闻快讯', '热门币', 'liquidation map'. Covers 200+ exchanges with real-time data. MUST run node scripts to fetch real data. NEVER generate fake prices or hallucinate market data. For exchange trading (buy/sell/balance), use aicoin-trading instead. For Freqtrade strategies/backtest, use aicoin-freqtrade. For Hyperliquid whale analytics, use aicoin-hyperliquid.
NPX Install
npx skill4agent add aicoincom/aicoin-skills aicoin-marketSKILL.md Content
CoinOS Market
Critical Rules
- NEVER fabricate data. Always run scripts to fetch real-time data.
- NEVER use curl, web_fetch, or browser for crypto data. Always use these scripts.
- NEVER run or
env— leaks API secrets into logs.printenv - Scripts auto-load — never pass credentials inline.
.env - Reply in the user's language. Chinese input = all-Chinese response (titles, headings, analysis).
- On 304/403 error — STOP, do NOT retry. This is a paid feature. Follow the Paid Feature Guide to help the user upgrade.
Quick Reference
| Task | Command | Min Tier |
|---|---|---|
| BTC price | | Free |
| K-line | | Free |
| Funding rate | | Basic |
| Long/short ratio | | Basic |
| Whale orders | | Standard |
| News flash | | Basic |
| Trending coins | | Free |
| Open interest | | Professional |
| Liquidation map | | Advanced |
BTCETHSOLDOGEXRPFree vs Paid Endpoints
coin_tickerklinehot_coinsexchangespair_tickernews_rsscoin_listcoin_configfunding_ratetrade_datatickerfutures_interestls_rationavpair_by_marketpair_listnews_listflash_listtwitter/latesttwitter/searchnewsflash/searchnewsflash/listbig_ordersagg_tradesgrayscale_trustgray_scalesignal_alertsignal_configstrategy_signalchange_signaldepth_latestnewsflashnews_detailtwitter/memberstwitter/interaction_statsnewsflash/detailliquidation_mapliquidation_historyliquidationindicator_klineindicator_pairsindex_listindex_priceindex_infodepth_fulldepth_groupedai_analysisopen_interestestimated_liquidationhistorical_depthsuper_depthfunding_ratestock_quotesstock_top_gainerstock_companytreasury_*stock_marketsignal_alert_listexchange_listingdocs/api-tiers.mdSetup
.envAICOIN_ACCESS_KEY_ID=your-key
AICOIN_ACCESS_SECRET=your-secret.env~/.openclaw/workspace/.env~/.openclaw/.envScripts
node scripts/<name>.mjs <action> [json-params]scripts/coin.mjs — Coin Data
| Action | Description | Min Tier | Params |
|---|---|---|---|
| Real-time prices | Free | |
| List all coins | Basic | None |
| Coin profile | Basic | |
| Funding rate | Basic | |
| Trade data | Basic | |
| AI analysis & prediction | Pro | |
| Open interest | Pro | |
| Liquidation heatmap | Adv | |
| Liquidation history | Adv | |
| Estimated liquidation | Pro | |
| Historical depth | Pro | |
| Large order depth >$10k | Pro | |
scripts/market.mjs — Market Data
| Action | Description | Min Tier | Params |
|---|---|---|---|
| Standard K-line | Free | |
| Trending coins | Free | |
| Exchange list | Free | None |
| Exchange tickers | Basic | |
| Futures OI ranking | Basic | |
| Real-time depth | Std | |
| Indicator K-line | Adv | |
| Indicator pairs | Adv | |
| Index list | Adv | None |
| Index price | Adv | |
| Index details | Adv | |
| Full order book | Adv | |
| Grouped depth | Adv | |
| Stock quotes | Pro | |
| Top gainers | Pro | |
| Company details | Pro | |
| Holding entities | Pro | |
| Transaction history | Pro | |
| Accumulated holdings | Pro | |
| Latest entities | Pro | |
| Latest history | Pro | |
| Holdings overview | Pro | |
scripts/features.mjs — Features & Signals
| Action | Description | Min Tier | Params |
|---|---|---|---|
| Pair ticker | Free | |
| Long/short ratio | Basic | None |
| Market navigation | Basic | |
| Pairs by exchange | Basic | |
| Pair list | Basic | |
| Grayscale trust | Std | None |
| Grayscale holdings | Std | |
| Signal alerts | Std | None |
| Alert config | Std | |
| Strategy signal | Std | |
| Anomaly signal | Std | |
| Whale orders | Std | |
| Aggregated large trades | Std | |
| Liquidation data | Adv | |
| Alert list | Pro | None |
| Crypto stocks | Pro | None |
| Delete alert | Pro | |
scripts/news.mjs — News & Content
| Action | Description | Min Tier | Params |
|---|---|---|---|
| RSS news feed | Free | |
| News list | Basic | |
| Industry flash news | Basic | |
| AiCoin flash news | Std | |
| News detail | Std | |
| Exchange listing announcements | Pro | |
scripts/twitter.mjs — Twitter/X Crypto Tweets
| Action | Description | Min Tier | Params |
|---|---|---|---|
| Latest crypto tweets | Basic | |
| Search tweets | Basic | |
| Search KOL/users | Std | |
| Tweet engagement stats | Std | |
scripts/newsflash.mjs — Newsflash (OpenData)
| Action | Description | Min Tier | Params |
|---|---|---|---|
| Search newsflash | Basic | |
| Newsflash list with filters | Basic | |
| Newsflash full content | Std | |
Cross-Skill References
| Need | Use |
|---|---|
| Exchange trading (buy/sell/balance) | aicoin-trading |
| Freqtrade strategies/backtest/deploy | aicoin-freqtrade |
| Hyperliquid whale tracking | aicoin-hyperliquid |
Common Errors
- — Paid feature. Follow Paid Feature Guide below.
errorCode 304 / HTTP 403 - — Check format: AiCoin uses
Invalid symbol, notbtcusdt:okexBTC/USDT - — Wait 1-2s between requests; use batch queries
Rate limit exceeded
Paid Feature Guide
- What happened: This feature needs a paid AiCoin API subscription.
- How to get a key: Visit https://www.aicoin.com/opendata to register and create an API key.
- Tier options:
| Tier | Price | Highlights |
|---|---|---|
| Free | $0 | Prices, K-lines, trending coins (6 endpoints) |
| Basic | $29/mo | + Funding rate, L/S ratio, news, twitter (24 endpoints) |
| Standard | $79/mo | + Whale orders, signals, grayscale (38 endpoints) |
| Advanced | $299/mo | + Liquidation map, indicator K-lines, index, depth (49 endpoints) |
| Professional | $699/mo | All 63 endpoints: AI analysis, OI, stocks, treasury |
- How to configure: After getting a key, add to file:
.env
AICOIN_ACCESS_KEY_ID=your-key-id
AICOIN_ACCESS_SECRET=your-secret.env~/.openclaw/workspace/.env~/.openclaw/.env- After configuring: The same script command will work. No code changes needed.