/coingecko/coins/chart
Get the historical price, market cap, and volume time series for a cryptocurrency
Price: 1 credit
💡 AI Hint: Get the historical market chart for a cryptocurrency by its CoinGecko coin id (e.g. ‘bitcoin’, not ‘btc’). Returns a time series of points, each with a unix-millisecond timestamp and the price, market cap, and trading volume at that moment, denominated in the chosen currency. The ‘days’ parameter sets how far back the series reaches (up to 365 days); shorter ranges return finer-grained points. Points are ordered oldest to newest. Use the search endpoint to resolve a ticker symbol or name to a coin id.
⚠️ Common errors: 412: Coin not found
Authorizations
API token from the dashboard
Headers
Body
Coin id (not the ticker symbol). Resolve a symbol or name to an id via the search endpoint
1"bitcoin"
"ethereum"
"solana"
Number of days of history to return, counting back from now
1 <= x <= 365Max scrapping execution timeout (in seconds)
20 <= x <= 1500Currency to denominate prices in
usd, eur, gbp, jpy, btc, eth