Protect your company's bottom line with our API

Reliable FX data from a trusted provider

It is easy to integrate our API into your existing platform, giving you access to over 32 years of historical data for over 38,000 forex pairs and rates from over 200 currencies, commodities and precious metals. As a market maker, we have direct access to real-time FX rates so you can be assured that the data we provide is always accurate and reliable.

FX | Exchange Rates API | Hero

Icon = Green = Folder Lock
Secure and reliable

Dedicated Internet connection, REST protocol, GET HTTP method and HTTPS security mode. We also offer UTC timestamps and fully redundant servers.

Icon = Green = API
Manage FX risk

Access one of the largest data sets of its kind, including daily average exchange rates, real-time rates, forward rates, tick-level data, and the OANDA FX order book.

Icon = Green = House Institution
Credible and accurate

Diversify your FX sources for credibility and accuracy. We offer exchange rates from 100+ central banks, so you can meet your company's financial compliance requirements.

FX | API | Feature | Meet Your Financial
Meet your financial compliance requirements easily while saving money

Auditors, accountants, hedge fund managers, treasurers, software developers and product managers use our API to track FX movements accurately and consistently. The ability to automate your exchange rate retrieval processes will put your auditors at ease and give your finance department accurate rates they can trust. The simple and flexible functionality of our API accurately tracks FX movements and eliminates manual errors. Supports JSON, XML and CSV formats.

FX | API | Feature | Range Of Exchange Rate
Range of exchange rate data sets

Average rates: Bid, ask, mid-point; daily, weekly, quarterly, annual or custom periods. Up to 96 historical fixings per day. Historical fixing data includes bid, ask, mid-point for open, close, high and low.

Real-time rates: Streaming bid, ask and mid-point rates available via REST or FIX API.

Forward rates: Get your forward exchange rate data in the same easy-to-use API as spot exchange rate data.

Icon = White = ERP Computer Dollar Chart
ERP integration

We have partnered with major ERPs to streamline the integration process and make the rates upload process seamless for you. Our partners include Oracle, Microsoft, SAP and Sage Intacct.

Icon = White = Developer Portal
Developer portal

Connect directly with OANDA through our powerful API to develop trading strategies and automate your trading experience. Take advantage of documentation, sample code and a range of search and support tools.

Icon = White = Gear Cycle Code
Sample code

Generate sample code in a range of programming languages, provide exchange rates for eCommerce companies, implement high-frequency trading algorithms, combine our chart data with the StockTwits API, and more.

7-day free API trial

Apply for an API key and instantly access unlimited quote currencies for 7 days with a free trial.

Trusted by leading global brands
Deloitte Logo
PWC Logo
Airbnb Logo
FedEx Logo
Amazon Logo
Disney Logo
Flexible API pricing plans

Our API plans start from $4,850 per year. Or choose a customized plan and get real-time rates, tick data and more.

2 ways to connect to our API

Build your own API integration or select from our pre-built integrations and connectors that can be up and running in no time.

7-day free API trial

Download our API key and see how easily you can integrate our API into your system. We offer unlimited quotes for 7 days for free.