Coin Historical Chart Data within Time Range by ID
Changed onTo get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hrs volume based on particular coin ID
Request
- Base URLhttps://pro-api.coingecko.com/api/v3
- Auth
- API key in header x-cg-pro-api-key
- or API key in query parameter x_cg_pro_api_key
Path parameters
Coin ID. *refers to /coins/list.
Query parameters
Target currency of market data. *refers to /simple/supported_vs_currencies.
Starting date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.
Ending date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.
Data interval, leave empty for auto granularity.
Decimal place for currency price value.
Response
Coin historical chart data within time range
Changes
- info
api tag
Coinsremoved - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info
- info
for the
queryrequest parameterfrom, the type was generalized fromnumbertostring - info
for the
queryrequest parameterto, the type was generalized fromnumbertostring
- info