This endpoint allows you to get the historical chart data within certain time range in UNIX along with price, market cap and 24hr volume based on asset platform and particular token contract address
- Provider
- CoinGecko Pro (Crypto Data)
- Input summary
- {"name":"id","type":"string","required":true,"description":"asset platform ID *refers to [`/asset_platforms`](/reference/asset-platforms-list)"}, {"name":"contract_address","type":"string","required":true,"description":"the contract address of token"}, {"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