IC
MT4 MANAGER API · HOSTED

MetaTrader 4
Manager API.
Fully hosted.

A production-grade MetaTrader 4 Manager API service for brokers, CRMs, mobile and web trading apps. Stream live pricing, open and close trades, manage accounts, balances, equity, margin and client profiles — all through a clean, well-documented API. Available with full source code or as a hosted black-box service.

+ AT A GLANCE
99.95%
HOSTED UPTIME SLA
<25ms
SERVER-SIDE LATENCY
2 MODES
HOSTED / SOURCE CODE
24/7
ENGINEERING SUPPORT
+ OVERVIEW

Built for brokers, CRMs & trading apps.

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.

+ CAPABILITIES

Every manager-level operation, exposed as a clean API.

Streaming Pricing

Real-time tick & quote streams over WebSocket for all symbols on your MT4 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 it fits.

Broker CRM integration

Sync clients, KYC and deposits between your CRM and MT4 in real time.

Web & mobile trader apps

Power your 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.

Risk & dealing desks

Monitor exposure, A/B book and force-close positions programmatically.

Custom backoffice tools

Build internal admin panels, bots and automations on a stable API surface.

+ TECHNICAL

Technical specification.

Protocols

  • REST (HTTPS / JSON)
  • WebSocket streaming
  • Bearer token + HMAC signing
  • OpenAPI 3 spec & Postman collection

Infrastructure

  • Windows manager nodes (Mgr DLL)
  • Linux REST gateway
  • Co-located near your MT4 server
  • Active-passive failover

SDKs & Languages

  • Node.js / TypeScript SDK
  • Python SDK
  • PHP & .NET examples
  • Works from any HTTP client

Performance

  • < 25 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
+ API SURFACE

A taste of the endpoints.

REST for everything transactional. WebSocket streams for live quotes, trade events and account updates. Bearer-token auth, request signing and IP whitelisting.

GET/v1/accounts/{login}Account details, balance, equity, margin
POST/v1/accountsCreate a new MT4 trading account
PATCH/v1/accounts/{login}Update profile, group, leverage, flags
POST/v1/balanceDeposit / withdraw / credit operation
POST/v1/trades/openOpen market or pending order
POST/v1/trades/closeClose, partial close or modify trade
GET/v1/trades/open?login=List open positions for account
GET/v1/historyClosed trades, deals, orders (filterable)
GET/v1/symbolsSymbol list, specs, swaps, sessions
WSS/v1/stream/quotesLive tick stream for chosen symbols
WSS/v1/stream/eventsTrade, balance & login events
+ LICENSING

Two ways to consume it.

OPTION A

Hosted API

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

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

With Full Source Code

Get the complete source code 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
+ 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 into anything.

Talk to our team about hosted access, source-code licensing, or a custom integration into your CRM, mobile app or backoffice.