This endpoint allows you to get the OHLC chart (Open, High, Low, Close) of a coin based on particular coin ID
interval = daily, interval=hourly)
coin ID
*refers to /coins/list.
"bitcoin"
target currency of price data
*refers to /simple/supported_vs_currencies.
"usd"
data up to number of days ago
1, 7, 14, 30, 90, 180, 365, max data interval, leave empty for auto granularity
daily, hourly 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 Get coin's OHLC
[
[1709395200000, 61942, 62211, 61721, 61845],
[1709409600000, 61828, 62139, 61726, 62139],
[1709424000000, 62171, 62210, 61821, 62068]
]