/coingecko/coins/chart

POST /api/coingecko/coins/chart

Price: 1 credit

Get the historical price, market cap, and volume time series for a cryptocurrency

How to use it

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.

Parameters

Request body

Response

Errors

Response headers