Get historical rates for a specific asset.
denomination query parameter allows you to denominate rates against another asset. If no value is set for this parameter, it defaults to USD.
There is a specific set of assets allowed, including but not limited to: USD, EUR, GBP, AUD, CAD, NZD, MXN, and BTC. If you need a particular asset added to this list, please reach out to your Account Manager.
For a more detailed explanation of the denomination concept, check the Core Concepts page.
interval query parameter determines the overall timespan of historical data and the frequency at which data points are added (rolled up).
Each interval value defines how far back in time the data spans, and how granular each returned data point is within that range:
| Interval | Description | Rollup Frequency |
|---|---|---|
one-hour | Past hour of historical data | 30 seconds |
one-day | Past day of historical data | 10 minutes |
one-week | Past week of historical data | 1 hour |
one-month | Past month of historical data | 6 hours |
one-year | Past year of historical data | 2 days |
five-years | Past five years of historical data | 1 week |
OAuth 2.0 authentication.
The asset code.
1Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
1The interval for the historical rates.
one-hour, one-day, one-week, one-month, one-year, five-years Historical rates retrieved.