MetaTrader®, MT4® and MT5® are trademarks of MetaQuotes Ltd. This is an independent service and not affiliated with, authorized by, or endorsed by MetaQuotes.
99.95% API Uptime — All Systems Go

The Infrastructure Layer for MT4 & MT5

Build for Algo Bots

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

TrustpilotTrustScore 4.0
REST + WebSocket No EA Required Unlimited Accounts* 47ms Execution
cURL
JavaScript
Go
Python
Java
C#
curl -X GET "https://api.api2trade.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.

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
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

WebSocket Streams

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

const ws = new WebSocket('wss://api.api2trade.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

API2Trade

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
API2Trade
  • 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)

Simple, Scalable Pricing

Flat monthly fees for MT4 & MT5 API access. Upgrade anytime.

MonthlyAnnual (Save up to 25%)

Single Account

€12 /month

Billed annually

  • 1x MT4 or MT5 API Connection
  • For individuals/startups
  • No rate limits
  • Seat-based billing
  • Connect/disconnect allowed
  • 24/7 priority support
Get Started

Full Pro (MT4+MT5)

€949 /month

Billed annually

  • MT4 and MT5 included
  • Unlimited Accounts & Requests*
  • Websocket Support
  • Best value
Get Started

Checkout via Stripe, Crypto, or Bank Transfer

Ready to build on
MetaTrader?

Frequently Asked Questions

What is a MetaTrader API?
In the context of API2Trade, 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 a running terminal and without EAs.
Is this an MT4 API or MT5 API?
Both. Plans are available for MT4 or MT5 separately, and the Both Platforms plan includes MT4 + MT5 combined.
Do you offer a MetaTrader REST API?
Yes. We expose REST endpoints for account and trading functions — account summary, balance/equity/margin, open/modify/close orders, and more.
Do you offer a MetaTrader Web API / WebSocket?
Yes. WebSocket streaming is included for live quotes, order updates, and account equity changes in real-time.
Do I need a running MetaTrader terminal or EA?
No. API2Trade specifically eliminates this requirement. All you need is an API key (Single plan) or credentials (Pro plans) — no terminal install, no EA deployment.
Is there a free MetaTrader API / free trial?
Currently we dont offer a Free Trail. For further Information Contact us via Telegram or Email
How do I get an MT4 API Key / MT5 API Key?
On the Single Account Plan, your API key is available in the dashboard under Settings. Requests are authenticated via the x-api-key header plus a per-account UUID.
Is this the official MetaTrader Manager API or Server API?
No. API2Trade is an independent service and is not affiliated with, authorized by, or endorsed by MetaQuotes. There is no Official API from Metaquotes
What payment methods do you accept?
We support Stripe (credit/debit card), Crypto, and Bank Transfer.