99.95% API Uptime — All Systems Go

The Infrastructure Layer for MT4 & MT5

Build

Manage unlimited trading accounts through a single REST & WebSocket API. No terminal required. Built to scale.

REST + WebSocket No EA Required Unlimited Accounts 47ms Execution
cURL
JavaScript
Go
Python
Java
C#
curl -X GET "https://api.api4trading.com/CheckConnect?id={{accountId}}" \
  -H "x-api-key: YOUR_API_KEY"
# Response: 47ms execution
"Connected"
47ms Average Execution
10,000+ Active Accounts
11 Global Data Centers
Clients from 196 Countries
256-Bit Bank-Grade Security
Made in Germany
Setup < 30 minutes
Private by default
47ms Average Execution
10,000+ Active Accounts
11 Global Data Centers
Clients from 196 Countries
256-Bit Bank-Grade Security
Made in Germany
Setup < 30 minutes
Private by default

Everything you need to build

We solved the MetaTrader integration problem so you don't have to. Connect, execute, and stream data effortlessly.

Account Management

Retrieve live balance, equity, margin, and retrieve full trading history instantly via REST.

Trade Execution

Open, modify, and close market or pending orders programmatically.

WebSocket Streams

Subscribe to live quotes, order updates, and account equity changes in real time.

GET /TradeStats?id={{accountId}}&from=2024-01-01
x-api-key: YOUR_API_KEY
Trading Stats Overview
Live
Open Profit
+0.00
Day Profit
+0.00
Total Profit
+0.00
0.0%
Win Rate
EURUSD
XAUUSD
EURUSD 1.08451
GBPUSD 1.25304
XAUUSD 2034.50
POST /Trade
x-api-key: YOUR_API_KEY

{
  "actionType": "ORDER_TYPE_BUY",
  "symbol": "EURUSD",
  "volume": 0.1,
  "stopLoss": 1.0800,
  "takeProfit": 1.1000
}
EURUSD • M1 Live
Awaiting Order... Executed: 47ms
TP 1.1000
BUY 0.1
SL 1.0800
const ws = new WebSocket('wss://api.api4trading.com/stream');
ws.onmessage = (event) => {
  const data = JSON.parse(event.data);
  if (data.type === 'QUOTE') {
    console.log(`Live bid: ${data.bid}`);
  }
};
Live Quotes Stream
EURUSD
1.084511.08455
GBPUSD
1.253021.25308
Account Equity
$15,245.80
Order Updates
ORDER_FILLED #5921
MATCHING #5922

How it works

You build the application. We handle the complex MetaTrader bridge layer.

Your Application

CRM, Bot, or Web Platform

API4Trading

Processing & Execution Engine

MT4 / MT5 Broker

Live Trading Environment

The Old Way
  • Requires running MetaTrader Desktop Terminal
  • Requires writing and installing complex Expert Advisors (MQL)
  • Pay per connected trading account
  • High operational server costs & maintenance
API4Trading
  • Pure REST & WebSocket architecture
  • Standard JSON requests over HTTPs — no EAs needed
  • Manage unlimited trading accounts for a flat fee
  • We host the infrastructure (99.95% SLA)
Core System Telemetry
Global Network Live
Execution Latency US-East → LDN
0 ms
Uptime SLA Trailing 90 Days
0.00 %
API Requests / Day Rolling 24H Volume
0
ISO 27001
Certified Security
GDPR
Compliant Data
Built for institutional scale and performance.

Simple, Unmetered Scale

Stop paying per account. Flat monthly pricing for unlimited accounts and API requests.

Single User

For testing and personal bots.

€10/mo
Get Started
  • 1 MT4/MT5 Connection
  • Community Support

Enterprise

Both platforms, maximum scale.

€850/mo
Get Started Now
  • Unlimited Accounts
  • MT4 AND MT5 Included
  • Custom Integrations

Annual (Save 15%)

Yearly Plan. Ideal for institutions and agencies.

€8,670/yr
Get Started Now
  • Full access to MT4 & MT5
  • Unlimited Accounts
  • Unlimited Requests
  • Websocket Support

Ready to build on
MetaTrader?

Get Started Now Read the Docs