FXCRM
MT4 · MT5 API SUITE · HOSTED OR SOURCE CODE

MetaTrader 4 & 5 API.
Manager, Terminal & Hosting — one suite.

Production-grade REST & WebSocket APIs for MT4 and MT5 — stream prices, open and close trades, manage accounts, balances, KYC and IB flows. Pick a fully hosted service, rent the bridge, or take the full source code. Backed by 24/7 engineering and enterprise SLAs from IT Corner Ltd — the makers of FXCRM.

99.95%
Hosted uptime SLA
<20ms
Server-side latency
0
Plugins / EAs to install
24/7
Engineering support
+ MT4 MANAGER API

MetaTrader 4 Manager API. Fully hosted.

Our MT4 Manager API wraps MetaQuotes' official Manager DLL into a stable, language-agnostic REST & WebSocket layer. No more wrestling with native bindings, threading issues or Windows-only runtimes — call MT4 from any backend (Node.js, Python, PHP, .NET, Java, Go) or directly from a CRM, mobile app or web terminal. We host the manager connection on hardened servers co-located close to your MT4 broker server, expose authenticated endpoints over HTTPS & secure WebSocket, and handle reconnects, failover and rate-limiting for you.

Streaming Pricing
Real-time tick & quote streams over WebSocket for every symbol on your server.
Open / Close Trades
Market, pending, modify, partial close and bulk close — all manager-side.
Balance & Credit Ops
Deposits, withdrawals, credits, bonuses and rollbacks with full audit trail.
Account Management
Create, edit, enable / disable, change leverage, group and read-only flags.
Equity / Margin Check
Live equity, free margin, margin level and exposure per account or group.
History & Reports
Trades, deals, orders and daily reports — paginated and filterable.
Group & Symbol Config
Read group settings, symbol specs, swaps, sessions and commissions.
Server Events
Subscribe to trade, balance, login and quote events as they happen.
Profile Updates
Update names, emails, country, phone, comments and custom fields.
+ USE CASES

Where the MT4 / MT5 API fits.

Broker CRM integration
Sync clients, KYC and deposits between your CRM and MT4/MT5 in real time.
Web & mobile trader apps
Power branded trading frontends with live quotes and order routing.
PSP & wallet automation
Auto-credit deposits and process withdrawals straight from your payment stack.
IB & affiliate dashboards
Live volumes, rebates and downline reporting fed directly from MT4/MT5.
Risk & dealing desks
Monitor exposure, A/B book and force-close positions programmatically.
Copy-trading & signal engines
Fan-out master trades into thousands of follower accounts under one API.
EA orchestration
Deploy, monitor and kill-switch expert advisors across a fleet of accounts.
Custom backoffice tools
Build internal admin panels, bots and automations on a stable API surface.
+ API SURFACE

A taste of the endpoints.

REST for everything transactional. WebSocket streams for live quotes, trade events and account updates. Bearer-token auth, HMAC request signing and IP whitelisting. OpenAPI 3 spec and a Postman collection ship with every account.

REST (HTTPS / JSON)
WebSocket streaming
Bearer token + HMAC signing
OpenAPI 3 spec + Postman collection
GET/v1/accounts/{login}
POST/v1/accounts
PATCH/v1/accounts/{login}
POST/v1/balance
POST/v1/trades/open
POST/v1/trades/close
GET/v1/trades/open?login=
GET/v1/history
GET/v1/symbols
WSS/v1/stream/quotes
WSS/v1/stream/events
example.ts
// Node.js — open a market order via MT5 Manager API
import fetch from 'node-fetch';

const res = await fetch('https://api.fxcrm.io/v1/trades/open', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer sk_live_...',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    login: 5001234,
    symbol: 'EURUSD',
    type: 'buy',
    volume: 1.0,
    sl: 1.0850,
    tp: 1.0980,
    comment: 'fxcrm-bridge'
  })
});
const trade = await res.json();
console.log(trade.ticket, trade.openPrice);
+ TECHNICAL

Technical specification.

Protocols
  • REST (HTTPS / JSON)
  • WebSocket streaming
  • Bearer token + HMAC signing
  • OpenAPI 3 spec & Postman
Infrastructure
  • Windows manager nodes (Mgr DLL)
  • Linux REST gateway
  • Co-located near MT4/MT5 server
  • Active-passive failover
SDKs & Languages
  • Node.js / TypeScript SDK
  • Python SDK
  • PHP & .NET examples
  • Works from any HTTP client
Performance
  • < 20 ms server-side latency
  • 10k+ requests / min per key
  • Backpressure-safe streams
  • Rate limits per key & per IP
Security
  • TLS 1.3, HSTS
  • IP whitelisting
  • Scoped keys (read / trade / admin)
  • Full audit logging
Data Access
  • Live & historical quotes
  • Trades, deals, orders
  • Group & symbol settings
  • Daily reports & statements
+ LICENSING

Two ways to consume it.

OPTION A

Hosted API

We run the MT4/MT5 Manager & Terminal API on our infrastructure. You get keys, docs and a status dashboard. Zero servers to manage.

  • Fully managed hosting & failover
  • Auto-reconnect to MT4/MT5 server
  • Monitoring, logs & alerts
  • Pay per environment / account
OPTION B

With Full Source Code

Get the complete source of the manager bridge, REST/WebSocket gateway and admin tools. Deploy and modify it on your own servers.

  • 100% source code ownership
  • Self-host on your infrastructure
  • Customise endpoints & business logic
  • One-time license + optional support
+ PRICING

Simple, broker-friendly pricing.

Same transparent, no-nonsense pricing you get across the FXCRM suite. Every plan includes onboarding, technical documentation, Postman collection and 24/7 engineering support.

Hosted API — Single Server

One MT4 or MT5 manager connection, fully hosted on our infrastructure.

Setup
$1,500
Monthly
$500
  • 1 manager connection (MT4 or MT5)
  • REST + WebSocket endpoints
  • Unlimited API keys, IP whitelisting
  • 10,000 requests / minute per key
  • 24/7 monitoring & auto-reconnect
  • Email + WhatsApp engineering support
Talk to Sales
MOST POPULAR
Hosted API — Multi Server

Multiple broker servers, dedicated bridge nodes and premium SLA.

Setup
$3,500
Monthly
$999
  • Up to 5 manager connections
  • Dedicated bridge node + hot standby
  • 99.95% uptime SLA
  • 30,000 requests / minute per key
  • Priority ticketing + WhatsApp
  • Custom endpoints on request
Talk to Sales
Full Source Code License

Complete source of the manager bridge, REST/WS gateway and admin tools.

Setup
$14,900
Monthly
from $299
  • 100% source code ownership
  • Self-host on your infrastructure
  • Customise endpoints & business logic
  • One-time license fee
  • Optional maintenance retainer
  • 30 days handover & training
Talk to Sales
+ SECURITY

Manager-grade by default.

TLS 1.3 everywhere
All REST and WebSocket traffic encrypted end-to-end.
IP whitelisting
Lock keys to specific origins, CRMs or office IPs.
Role-based keys
Read-only, trading, and admin scopes per API key.
Full audit log
Every call is logged with payload hash & actor.

Plug MT4 & MT5 into anything.

Hosted API access, rental, source-code licensing or a custom integration into your CRM, mobile app or backoffice. Same team that ships FXCRM — enterprise SLA, zero surprises.