AlgoDeltaFXDocs
MetaTrader 5 · REST · JSON · JWT

MT5 API documentation

The AlgoDeltaFX MT5 API is a REST API for MetaTrader 5. Place, modify and close trades on any MT5 account, read positions and trade history, and run cross-broker copy trading across thousands of accounts, all over HTTPS. No terminal, EA or VPS required.

Protocol
HTTPS REST, JSON
Auth
JWT tokens
Platform
MetaTrader 5
Brokers
Any MT5 broker or prop firm
Hosting
Cloud, no VPS

Place an MT5 trade in one request

Copy your account token from the dashboard and send the order. type: 0 is a market Buy. See all 8 order types.

curl -X POST https://api.algodeltafx.com/api/v2/forexaccount/placeorder \
  -H "Authorization: Bearer $ACCOUNT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "symbol": "EURUSD",
  "type": 0,
  "volume": 0.5,
  "sl": 1.082,
  "tp": 1.095
}'
Response · 200
{
  "status": true,
  "msg": "Order placed",
  "data": {
    "ticket": 1093918439
  }
}

Two APIs, one platform

Guides

What is the AlgoDeltaFX MT5 API?

AlgoDeltaFX is a cloud trading automation platform for MetaTrader 5. Its API connects directly to your broker's MT5 servers, so your code can trade an MT5 account from any language, OS or cloud without running MetaTrader. The Account API handles one account: market and pending orders, SL/TP changes, partial closes, open positions, symbols, and position, deal, order and balance history. The Master API handles many accounts: connect MT5 accounts at any broker, add them to copy trading groups with multiplier, fixed-lot or balance-based sizing, pause them and pull daily profit.

Developers use it to build trading bots, signal and Telegram bots, fund and prop-firm dashboards, and complete copy trading platforms. Your funds never leave your broker: the API can trade, but it cannot withdraw.

FAQ

What is the AlgoDeltaFX MT5 API?

A REST API for MetaTrader 5. The Account API trades one MT5 account (orders, positions, symbols, history); the Master API manages many accounts, copy trading groups, lot sizing and daily profit.

Do I need a MetaTrader terminal, EA or VPS?

No. AlgoDeltaFX connects to your broker's MT5 servers from its cloud, so nothing has to run on your machine.

Which brokers work with the MT5 API?

Any broker or prop firm that offers MetaTrader 5. Accounts at different brokers can be controlled from the same API.

Which languages are supported?

Any language that can make HTTPS requests. The docs include cURL, Python, Node.js and C# examples, an OpenAPI 3.1 spec and a Postman collection.

More questions →

Last updated 2026-11-04