FOREX.com by StoneX logo

API Trading

Automate your trading and connect your algo strategy with our deep liquidity through REST API.

*

*After creating a standard account, you must contact our service team to connect our REST API

Apply

for a trading account

Fund

easily and securely

Trade

our full range of markets

Range of REST API functionality

Automated trading strategies

Execute trades with a full range of orders for thousands of markets against live streaming prices using your own algorithms or trading systems

Charting and analysis

Strengthen your strategy with historical market data for deeper technical analysis

Easily compatible solution

Code against the API using any network accessible programming language from Perlscript, C++, Python, or VB.NET

Integrated account management

View your current active orders, account balance, available margin, open positions, and historical trades in real-time

Abstract blue background with interconnected currency symbols including dollar, euro, and yen. The image represents global financial networks and digital transactions.

Why use REST API?

REST API enables you to automate your trading by connecting your algo strategies with our deep liquidity.

Know the acronym

REST stands for "Representational State Transfer' and utilizes HTTP interactions to communicate between client and server in a user-friendly way.

Wide range of utility

REST API’s use of HTTP means it can work with any standard programming language to retrieve, send, update, and delete data.

Constantly learning

REST is cacheable, meaning the API can cache resources to improve future performance

Secure communication channels

REST features stateless client-server communications that ensure no information is being stored between interactions

Connect to FOREX.com's API

Close-up of hands using a digital tablet with a bright screen. The image represents modern technology and touch-based interaction.

Getting started

  1. Apply for an account
  2. Request access to the API from our customer service team
  3. Connect directly to our REST API and develop, test and automate your trading strategies
Close-up of hands typing on a laptop keyboard with a blurred screen in the background. The image represents digital work and online communication.

API support

  • Access our documentation portal for sample code, support tools, and more
  • Connect with our dedicated API support specialists to get answers to your questions, account maintenance, and other help
Blue background with faint white financial chart lines representing stock market trends

Institutional FIX API

We offer a FIX API for institutions looking to offer our markets and liquidity to their customers. Contact our Institutional Sales team to learn more.

Abstract blue background featuring embossed dollar and euro currency symbols 
It's your world. Trade it.