CoinGecko Crypto Price Skill
Fetches crypto market data from the CoinGecko free API (no key required, ~30 req/min rate limit).
Commands
Price check (one or more coins)
python3 scripts/price.py bitcoin ethereum solana
Returns: price, 24h change, market cap, volume for each coin.
Search for a coin by name/ticker
python3 scripts/search.py "pepe"
Returns: matching coin IDs, symbols, and market cap ranks.
Token lookup by contract address (Solana, Ethereum, etc.)
python3 scripts/token.py solana <contract_address>
Returns: token name, price, 24h change, market cap, liquidity info.
Trending coins
python3 scripts/trending.py
Returns: top trending coins on CoinGecko.
Coin IDs
CoinGecko uses slug IDs (e.g., bitcoin, ethereum, solana, dogecoin). Use search.py to find the correct ID if unsure.
Rate Limits
Free API: ~30 calls/min. Cache results when doing bulk lookups. Avoid calling in tight loops.