As mentioned in our historical data granularity article and our API documentation, please note that the granularity returned for Public, Analyst, Lite and Pro API plans are automatically determined and CANNOT be adjusted.
You do not need to pass in any values in the interval parameter since the granularity is defaulted to be as the image attached. Here’s an example of how your request URL should look like: https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=30
In the meantime, please note that 5 minute interval data for anything more than 1 day is only exclusively available to the Enterprise plan. If you’re interested in 5-minute intervals for historical data, kindly contact us at api@coingecko.com.
Comments
0 comments
Please sign in to leave a comment.