The OANDA Exchange Rates API (hereafter, the API) is a RESTful API, which provides access to OANDA’s daily exchange rate data. The API is accessed via HTTP, the protocol used by web browsers (and not FTP, which is used to provide access to files). Using the API, you may programatically request rates, which are delivered to you via HTTP, which you may process and save in a format that works for your organization. For example, you can insert the rates into your own database/caching system or into files, such as a Comma Separated Value file (CSV).
This data is available in three serialization formats: JSON, XML and CSV.
The API’s base URL is:
Unless your client is unable to consume the API via SSL, we recommend that you use a secure connection.