This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin within a range of timestamp based on particular coin ID
interval=daily):
interval=hourly):
1518147224 epoch time).coin ID
*refers to /coins/list.
"bitcoin"
target currency of price data
*refers to /simple/supported_vs_currencies.
"usd"
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
daily, hourly Get coin's OHLC within time range
[
[1709395200000, 61942, 62211, 61721, 61845],
[1709409600000, 61828, 62139, 61726, 62139],
[1709424000000, 62171, 62210, 61821, 62068]
]