MetaTrader®, MT4® and MT5® are trademarks of MetaQuotes Ltd. This is an independent service and is not affiliated with, authorized by, or endorsed by MetaQuotes.
Measured trading uptime

The MetaTrader API for MT4 & MT5

Built for Algo Bots

Connect up to 50 trading accounts (more on request) through a single REST & WebSocket API. Nothing to install. Built to scale.

100+ API Endpoints 8,000+ Broker Servers Pay Per Seat Engineered in Germany
curl -X GET "https://api.api2trade.com/CheckConnect?id={{accountId}}" \
  -H "x-api-key: YOUR_API_KEY"
# Response
true
One API for MT4 & MT5: 100+ endpoints
8,000+ broker servers recognized
Uptime measured live on our public status page
Every account isolated, own resources
Broker passwords AES-256-GCM encrypted
Engineered in Germany 🇩🇪
EU-hosted, GDPR DPA included
Create seats from your own code
One API for MT4 & MT5: 100+ endpoints
8,000+ broker servers recognized
Uptime measured live on our public status page
Every account isolated, own resources
Broker passwords AES-256-GCM encrypted
Engineered in Germany 🇩🇪
EU-hosted, GDPR DPA included
Create seats from your own code

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 the full trading history via REST.

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

Trade Execution

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

EURUSD 1.08451
GBPUSD 1.25304
XAUUSD 2034.50
GET /OrderSend?id={{accountId}}
x-api-key: YOUR_API_KEY

 
  &symbol=EURUSD
  &operation=Buy
  &volume=0.1
  &stoploss=1.0800
  &takeprofit=1.1000
 
EURUSD • M1 Live
Awaiting Order... Executed
TP 1.1000
BUY 0.1
SL 1.0800

WebSocket Streams

Subscribe to live quotes, positions with live profit, orders and executed trades in real time.

const ws = new WebSocket('wss://api.api2trade.com/v1/stream?id={{accountId}}&apiKey=YOUR_API_KEY');
ws.onopen = () => ws.send('{"action":"subscribe","symbol":"EURUSD"}');
ws.onmessage = (event) => {
  const msg = JSON.parse(event.data);
  if (msg.type === 'QUOTE') {
    console.log(`Live bid: ${msg.data.bid}`);
  }
};
Live Quotes Stream
EURUSD
1.084511.08455
GBPUSD
1.253021.25308
Open Positions · Live Profit
+$145.20
Order Updates
TRADE #5921 BUY 0.1
ORDERS #5922 BUY LIMIT

How it works

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

Your Application

CRM, Bot, or Web Platform

API2Trade

Processing & Execution Engine

MT4 / MT5 Broker

Live Trading Environment

The Old Way
  • Requires running the MetaTrader desktop app
  • Requires writing and installing complex Expert Advisors (MQL)
  • A VPS and a MetaTrader installation for every account
  • High operational server costs & maintenance
API2Trade
  • Pure REST & WebSocket architecture
  • Standard JSON requests over HTTPS — no EAs needed
  • Pay per seat, cheaper as you grow
  • We run the infrastructure in the EU, monitored around the clock

Simple, Scalable Pricing

One per-seat plan: each seat connects one MT4 or MT5 account, billed monthly. Add or release seats anytime.

Per-seat plan

€12 /seat/month
  • 1 MT4 or MT5 account per seat
  • 20 requests/second per API key
  • Seat-based billing
  • Connect/disconnect allowed
  • WebSocket support
  • Custom EA upload & auto-attach
  • Cheaper per seat as you grow: €11.50 for seats 6–45, €8 for seats 46–250, €7 from the 251st seat
Create account
SeatsPer seat / month
1–5€12
6–45€11.50
46–250€8
251+€7
Private hosting (dedicated IP), flat€16

Graduated: each seat is charged at the price of the band it falls in. Per billing month, excl. VAT.

What your seats cost
€117.50

10 seats · €117.50/month · €11.75 per seat on average

Buy now

Card payment via Stripe, as a subscription

Ready to build on
MetaTrader?

Frequently Asked Questions

It's an API layer that makes MT4 and MT5 trading accounts accessible via REST and WebSocket — so your apps can retrieve account data and control trades/orders without running MetaTrader yourself and without EAs.
Both. Each seat connects one MT4 or one MT5 account, and you can mix MT4 and MT5 seats on the same subscription.
Yes. We expose REST endpoints for account and trading functions — account summary, balance/equity/margin, open/modify/close orders, and more.
Yes. WebSocket streaming is included for live quotes, positions with live profit, orders and executed trades in real time.
No. API2Trade specifically eliminates this requirement. All you need is an API key and your trading account login — no MetaTrader install, no EA deployment.
No. You can start with a single seat for €12 and add more once your integration works. For questions, contact us via Telegram or email.
Connect the account in the dashboard, then click Generate key on its card; the key is shown only once. /ConnectEx and POST /v1/seats also return a key for the account they connect. Settings holds the management key, which is for provisioning, not for trading calls. Requests are authenticated via the x-api-key header plus a per-account UUID.
No. API2Trade is an independent service and is not affiliated with, authorized by, or endorsed by MetaQuotes. MetaQuotes offers no official public API for retail trading accounts; its Manager and Server APIs are licensed to brokers only.
Credit or debit card through Stripe, as a monthly subscription. We do not accept crypto or bank transfer.