CoinGecko provides comprehensive crypto market data including spot prices, OHLC candles, market cap, trending coins, sector performance, and global stats.
When to Use CoinGecko
Use CoinGecko for:
Price queries
- Current prices, historical prices, OHLC data
Market overview
- Market cap, volume, trending coins, top gainers/losers
Be mindful of API rate limits. Use batch endpoints when querying multiple coins.
vs_currencies
Most endpoints support multiple currencies (usd, eur, btc, eth, etc.). Use
cg_vs_currencies()
to see all supported currencies.
Symbol Resolution
Common symbols are automatically resolved:
BTC → bitcoin
ETH → ethereum
SOL → solana
USDT → tether
USDC → usd-coin
BNB → binancecoin
Important:
If unsure about a coin ID, always use
cg_search(query="coin name")
first to find the exact CoinGecko ID before calling price tools.