GETTING SET UP
Get set up with OANDA APIs in three steps:
Open a live trading or demo account
Select your API
Request your API token
Stream real-time rates, execute trading actions such as market or limit orders, and access your OANDA account and price history.
INTEGRATE WITH EASE
Easy to use and integrate with, build customized user interfaces or develop proprietary trading models.
COMPREHENSIVE DEVELOPER RESOURCES
Our developer portal will help you get started. Extensive resources, code samples, and documentation are available at your fingertips.Go to developer portal
Open a demo account to fine tune your trade strategiesTry a demo account
Apply for a live account now and you could be trading in minutesOpen a live account
Trading involves significant risk of loss
TRADE INFORMATION EXCHANGE FIX
Financial institutions can use an encrypted Financial Information eXchange (FIX) channel to access the OANDA Trade platform. OANDA supports FIX 4.2, 4.3, and 4.4.
To get access, contact us at email@example.com
HTTP-BASED REST API
OANDA's REST APIs are language-agnostic, allowing traders to pick their preferred programming languages to integrate directly to OANDA’s legacy and v20 trading engines. These APIs are ideal for individual traders who like to automate their trading strategies.Discover the REST API
Frequently Asked Questions
The OANDA API Partner Program
Join the OANDA API Partner Program and grow your business by integrating with our award-winning forex and CFD trading platform.
This page is for general information purposes only: examples are not investment advice or an inducement to trade. Past history is not an indication of future performance.
Execution speed and numbers are based on the median round trip latency from receipt to response for all Market Order and Trade Close requests executed between January 1st and May 1st 2019 on the OANDA execution platform.
Contracts for Difference (CFDs) or Precious Metals are NOT available to residents of the United States.
The Commodity Futures Trading Commission (CFTC) limits leverage available to retail forex traders in the United States to 50:1 on major currency pairs and 20:1 for all others. OANDA Asia Pacific offers maximum leverage of 50:1 on FX products and limits to leverage offered on CFDs apply. Maximum leverage for OANDA Canada clients is determined by IIROC and is subject to change. For more information refer to our regulatory and financial compliance section.
OANDA’s APIs allow your applications to communicate directly with OANDA’s Trade servers over secure and authenticated Internet sessions with fully encrypted communication channels.
The APIs do not require the OANDA Trade user interface to be up and running, although you can use it to monitor the real-time actions taken by the APIs.