The API Currency Service is available to clients solely to reconcile amounts paid or received by them resulting from their transactions through the Xandr Platform and may not be used by clients for any other purpose.
This is a read-only service that shows you the list of currencies that you can set a line-item or insertion-order to use.
View all available currencies:
View a specific currency:
View a currency's exchange rate for today:
View a currency's exchange rate for a day in the past:
We don't get updated exchange rates every day (e.g. not on weekends). If you ask for a rate on a specific day and
rate_per_usd is null, you should use the next oldest exchange rate for your calculations. For example, 2012-03-03 and 2012-03-04 are weekend days so we do not have exchange rates for those days. If you make a call asking for the exchange rate on 2012-03-04, we will return null. Instead, you should use the rate from 2012-03-02 for calculations on 2012-03-03 and 2012-03-04.
The code for the currency.
The symbol for the currency, e.g. "$" for USD
The full name of the currency.
A description of the currency.
Whether the currency symbol appears before or after the amount. Possible values: "before" or "after".
The date and time when the currency was last modified. (See Note *)
The exchange rate. This is returned only when you pass
The date and time that Oanda last updated the exchange rate in UTC. We pull the rates from Oanda every day at 3:00 a.m. UTC. This is returned only when you pass
If true, the currency is exposed.
Note: To show conversion rates, pass show_rate=true in the URL. You can also retrieve a past day's rate by passing in ymd=YYYYMMDD via the URL.
* When querying the currency API (eg:
rate_per_usd), the service is currently returning all the correct values, with the exception for
last_modified. The actual rates are accurate, and the API is returning updated exchange rates.
Currently, use the
as_of column instead of
last_modified to know the version of the exchange rate being returned.