This endpoint allows you to get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hr volume based on particular coin ID
- Provider
- CoinGecko Pro (Crypto Data)
- Input summary
- {"name":"id","type":"string","required":true,"description":"coin ID *refers to [`/coins/list`](/reference/coins-list)."}, {"name":"vs_currency","type":"string","required":true,"description":"target currency of market data *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies)."}, {"name":"from","type":"string","required":true,"description":"starting date in ISO date string (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM`) or UNIX timestamp. **use ISO date string for best compatibility**"}, {"name":"to","type":"string","required":true,"description":"ending date in ISO date string (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM`) or UNIX timestamp. **use ISO date string for best compatibility**"}, {"name":"interval","type":"string","required":false,"description":"data interval, leave empty for auto granularity","enum":["5m","hourly","daily"]}, {"name":"precision","type":"string","required":false,"description":"decimal place for currency price value","enum":["full","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"]}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available