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.
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.
Your capital is at risk. Losses can exceed investment. Leverage trading is high risk and not for everyone.