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 support team to connect our REST API

Apply

to open an account with our quick and easy process

Fund

easily and securely via debit/credit card or wire transfer

Trade

all of our markets via API

Trading API Features and Capabilities

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?

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

Know the acronym

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

Visit the Trading Academy for curated courses designed to get you started on the markets.

It's your world. Trade it.