Skip to main content

What are the time periods I can use for Exchange Rates and OHLCV?

For Exchange Rates historical timeseries data:

Time unitPeriod identifiers
Second1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC
Minute1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN
Hour1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS
Day1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY

You can also get a full list of supported time periods available for requesting exchange rates historical timeseries data by using this request:

https://rest.coinapi.io/v1/exchangerate/history/periods

For OHLCV timeseries data:

Time unitPeriod identifiers
Second1SEC, 2SEC, 3SEC, 4SEC, 5SEC, 6SEC, 10SEC, 15SEC, 20SEC, 30SEC
Minute1MIN, 2MIN, 3MIN, 4MIN, 5MIN, 6MIN, 10MIN, 15MIN, 20MIN, 30MIN
Hour1HRS, 2HRS, 3HRS, 4HRS, 6HRS, 8HRS, 12HRS
Day1DAY, 2DAY, 3DAY, 5DAY, 7DAY, 10DAY
Month1MTH, 2MTH, 3MTH, 4MTH, 6MTH
Year1YRS, 2YRS, 3YRS, 4YRS, 5YRS

You can also get a full list of supported time periods available for requesting OHLCV timeseries data by using this request:

https://rest.coinapi.io/v1/ohlcv/periods