MetaTrader APIs built for algorithmic traders

Connect your strategy to MT4 and MT5 over plain HTTPS. Execute orders, read account state, and stream market data from any language — without wrestling with terminal internals.

What we provide

Pick the pieces you need. Each one is a standalone API with its own credentials.

MetaTrader 4 API

REST access to MT4 terminals: place, modify and close orders, read positions, balance and margin in real time.

  • Order execution
  • Account & position state
  • Trade history export

MetaTrader 5 API

Full MT5 coverage including netting and hedging accounts, pending orders, and multi-symbol streaming.

  • Netting & hedging
  • Pending orders
  • Multi-symbol quotes

Market Data Stream

WebSocket feed for live ticks and OHLC candles, plus on-demand historical bars for backtesting.

  • Live tick stream
  • OHLC candles
  • Historical bars

Copy Trading Bridge

Mirror trades from one master account to many followers with per-account lot sizing and risk caps.

  • Master to many
  • Lot scaling
  • Per-account risk caps

Integrate in minutes

A request is a request. If your language can speak HTTPS, you are already done.

# place a market order on MT5
import requests

r = requests.post(
    "https://api.quantbreed.com/v1/mt5/order",
    headers={"X-API-Key": API_KEY},
    json={
        "symbol": "EURUSD",
        "side":   "BUY",
        "volume": 0.10,
        "sl":     1.0820,
        "tp":     1.0960,
    },
    timeout=10,
)
print(r.json())

Why traders use us

No SDK lock-in, no black boxes.

Language agnostic

Plain HTTPS and JSON. Works from Python, Node, C#, PHP or anything that can make a request.

Built for bots

Predictable responses, explicit error codes, and rate limits documented up front.

Your keys stay yours

Credentials are scoped per integration and can be rotated or revoked at any time.

Direct support

Talk to the people who wrote the API, not a ticket queue.

Request access

Tell us which platform you trade on and what you are building, and we will set up your credentials.

hello@quantbreed.com