返回 Skill 列表
extension
分类: 数据与分析无需 API Key

CoinGecko

通过CoinGecko免费API获取数千种加密货币的实时价格、市值、24小时涨跌、热门币种及代币详情。

person作者: olisim02hubclawhub

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.