Get asset historical rates
Get historical rates for a specific asset.
Denomination
The to
query parameter allows you to denominate rates against another asset. If not passed, 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 contact us.
Interval
The interval
query parameter determines the overall timespan of historical data and the frequency at which data points are aggregated (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 |
---|---|---|
hour | Past hour of historical data | 1 minute |
day | Past day of historical data | 10 minutes |
week | Past week of historical data | 1 hour |
month | Past month of historical data | 6 hours |
year | Past year of historical data | 2 days |
Authorizations
OAuth 2.0 authentication.
Path Parameters
The asset code.
1
Query Parameters
Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
1
The code of the asset for which historical rates are requested.
Deprecated: Use the denomination
parameter instead.
1
The interval for the historical rates.
one-hour
, one-day
, one-week
, one-month
, one-year
Response
Historical rates retrieved.
The response is of type object
.