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
interval parameter:
interval=daily: daily historical data.interval=hourly: hourly historical data, up to any 100 days date range per request.interval=5m: 5-minutely historical data, up to any 10 days date range per request. interval=5m is exclusive for Enterprise subscribers only.coin ID
*refers to /coins/list.
"bitcoin"
target currency of market data
*refers to /simple/supported_vs_currencies.
"usd"
starting date in UNIX timestamp
"1711929600"
ending date in UNIX timestamp
"1712275200"
decimal place for currency price value
full, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18