v1
latestOpenAPI 3.0.02026-07-228772344.5 KBCoin Historical Chart Data within Time Range by ID
To 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
get/coins/{id}/market_chart/range
Path parameters
idstring required
Coin ID. *refers to /coins/list.
Query parameters
vs_currencystring required
Target currency of market data. *refers to /simple/supported_vs_currencies.
fromstring required
Starting date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.
tostring required
Ending date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.
interval'5m' | 'hourly' | 'daily'
Data interval, leave empty for auto granularity.
precision'full' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18'
Decimal place for currency price value.
Response
Coin historical chart data within time range