| name | crypto-tracker |
| description | Track cryptocurrency markets in real-time. 加密货币行情追踪、比特币价格、以太坊ETH、市值排行、DeFi数据、恐惧贪婪指数、趋势币种、空投信息、RSI技术分析、均线分析、金叉死叉、DeFi收益率对比、Gas费查询。Use when checking crypto prices, market sentiment, DeFi TVL, trending coins, meme coins, RSI indicators, moving averages, DeFi yield comparison, or Ethereum gas fees. Free APIs (CoinGecko, DefiLlama) — no API keys needed. 实时行情、涨跌幅、市场情绪分析、技术指标。 |
Crypto Tracker
Real-time cryptocurrency market data via free APIs. No API keys needed.
Quick Commands
Price Check
scripts/crypto.sh price bitcoin ethereum solana
Market Overview
scripts/crypto.sh market
Trending Coins
scripts/crypto.sh trending
Fear & Greed Index
scripts/crypto.sh fear
DeFi TVL Rankings
scripts/crypto.sh defi
Top Meme Coins
scripts/crypto.sh memes
Coin Details
scripts/crypto.sh info bitcoin
📈 RSI Indicator (14-day)
scripts/crypto.sh rsi bitcoin
scripts/crypto.sh rsi ethereum
Calculates 14-day RSI from CoinGecko historical prices. Shows overbought (>70) / oversold (<30) / neutral signals with trading suggestions.
📊 Moving Average Analysis
scripts/crypto.sh ma bitcoin
scripts/crypto.sh ma solana
Calculates 7/14/30-day moving averages. Detects golden cross (金叉) / death cross (死叉) patterns and overall trend direction.
🌾 DeFi Yield Comparison
scripts/crypto.sh defi-yield
Fetches top 20 high-yield DeFi pools (TVL > $1M) from DefiLlama. Shows protocol, pool, APY, TVL, and chain. Sorted by APY.
⛽ Ethereum Gas Tracker
scripts/crypto.sh gas
Shows current Ethereum gas prices (low/medium/fast) with transaction cost estimates and gas-saving tips. Falls back to reference guide if API is unavailable.
API Reference
All endpoints are free, no auth required. Rate limit: ~10-30 req/min.
CoinGecko (prices, trending, market data)
- Base:
https://api.coingecko.com/api/v3
- Price:
/simple/price?ids={ids}&vs_currencies=usd&include_24hr_change=true
- Trending:
/search/trending
- Global:
/global
- Markets:
/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=20
- Coin detail:
/coins/{id}
- Categories:
/coins/categories
- Memes:
/coins/markets?vs_currency=usd&category=meme-token&order=volume_desc&per_page=20
DefiLlama (DeFi data)
- Base:
https://api.llama.fi
- TVL:
/protocols
- Chain TVL:
/v2/chains
- Yields:
https://yields.llama.fi/pools (high-yield pool data)
Fear & Greed Index
https://api.alternative.me/fng/
Etherscan (Gas prices)
- Gas Oracle:
https://api.etherscan.io/api?module=gastracker&action=gasoracle
Output Formats
Default: human-readable table. Add --json for raw JSON output.
Notes
- CoinGecko free tier: ~30 calls/min. Add 2s delay between batch requests.
- Coin IDs use CoinGecko slugs (e.g.,
bitcoin, ethereum, solana).
- For historical data:
/coins/{id}/market_chart?vs_currency=usd&days={days}