Your MT5 account, as an API.
Termless logs in to your broker from a small Linux server and hands every bot live prices, candles and orders over HTTP.
Ask for anything MT5 knows.
Prices, candles on 21 timeframes, the account's money, a check before an order goes out. One request each.
GET /quotes?symbols=XAUUSD
[
{
"symbol": "XAUUSD",
"bid": 4052.92,
"ask": 4053.03,
"last": 0,
"time": 1793985763,
"time_msc": 1793985763422,
"tradeable": true
}
]GET /candles?symbol=XAUUSD&timeframe=M5&count=1
{
"symbol": "XAUUSD",
"timeframe": "M5",
"candles": [
{"time": 1793985600, "open": 4051.66,
"high": 4053.53, "low": 4050.73,
"close": 4052.77, "tick_volume": 1642,
"complete": false}
]
}GET /summary
{
"login": 12345678,
"server": "Pepperstone-Demo",
"currency": "USD",
"leverage": 200,
"balance": 10000,
"equity": 10042.18,
"margin_free": 10021.92,
"positions": 1,
and thirteen more fields
}POST /order_check
{"action": 1, "symbol": "XAUUSD", "volume": 0.01, "type": 0, "price": 4053.03}
{
"ok": true,
"retcode": 0,
"comment": "Done",
"request_margin": 20.26,
"margin_free": 10001.66,
"balance": 10000,
"equity": 10042.18
}Retry an order without placing it twice.
Give an order a key of its own. Send it again and Termless answers from its own record.
POST /orders Idempotency-Key: gold-1042
Filled at 4053.03, ticket 51830031sent to the broker
POST /orders Idempotency-Key: gold-1042
Filled at 4053.03, ticket 51830031Idempotent-Replayed: true
Two requests. One order.
Find your broker.
Termless connects through your broker's MT5 web terminal. If your broker has one, it can be added, and over 50 servers are built in already.
- ICMarketsSC-DemoRaw Trading Ltd
- Pepperstone-DemoPepperstone Group Limited
- FTMO-ServerFTMO Global Markets Ltd, prop firm
- OANDA-Live-1OANDA Corporation
- FivePercentOnline-RealFive Percent Online Ltd, prop firm
- Exness-MT5Real8Exness Technologies Ltd
- AdmiralsGroup-DemoAdmirals Group AS
- AdmiralsGroup-LiveAdmirals Group AS
- AquaFunded-ServerAquaFunded Ltd., prop firm
- AudaCityGlobal-LiveAudaCity Global Limited, prop firm
- Axi-US51-LiveAxiCorp Financial Services Pty Ltd
- BlackBullMarkets-DemoBlack Bull Group Limited
- BlackBullMarkets-LiveBlack Bull Group Limited
- BrightFunded-ServerBrightFunded Ltd., prop firm
- DerivSVG-ServerDeriv (SVG) LLC
- E8Markets-ServerE8 Markets Ltd., prop firm
- ErranteSC-DemoErrante Securities (Seychelles) Limited
- ErranteSC-LiveErrante Securities (Seychelles) Limited
- Exness-MT5Trial10Exness Technologies Ltd
- Exness-MT5Trial7Exness Technologies Ltd
- ExpertExecution-DemoExpert Execution Cy Limited
- ExpertExecution-LP_Real1Expert Execution Cy Limited
- FBSTradestone-DemoTradestone Limited
- FBSTradestone-RealTradestone Limited
- FivePercentOnline-ExperienceFive Percent Online Ltd, prop firm
- FTMO-DemoFTMO Global Markets Ltd, prop firm
- FTTrading-ServerFT Trading Ltd., prop firm
- FundedNext-Server 2FundedNext Ltd, prop firm
- FundedNext-Server 3FundedNext Ltd, prop firm
- FundedTradingPlus-LiveFunded Trading Plus Ltd., prop firm
- FundingPips-SIM1FundingPips Corp, prop firm
- FundingPips-TrialFundingPips Corp, prop firm
- FundingPips2-SIMFundingPips Corp (2), prop firm
- FusionMarkets-DemoFusion Markets Pty Ltd
- FusionMarkets-LiveFusion Markets Pty Ltd
- FXIFY-ServerPrime Intermarket Group Eurasia Ltd, prop firm
- FxviewCOM-ServerFC Global Ltd
- Headway-DemoJarocel (Pty) Ltd
- Headway-RealJarocel (Pty) Ltd
- ICMarketsSC-MT5Raw Trading Ltd
- KeyToMarkets-ServerKey to Markets International Limited
- MavenTrade-ServerMavenTrade Limited, prop firm
- OANDA_Global-Demo-1OANDA Global Markets Limited
- OANDA_Global-Live-1OANDA Global Markets Limited
- OANDA-Japan MT5 LiveOANDA Corporation
- OANDA-Prop TraderOANDA Corporation, prop firm
- OctaFX-RealOcta Markets Incorporated
- Pepperstone-MT5-Live01Pepperstone Group Limited
- PUPrime-DemoPU Prime Ltd
- PUPrime-LivePU Prime Ltd
- PUPrime-Live 4PU Prime Ltd
- PUPrime-Live 5PU Prime Ltd
- PUPrime-Live 6PU Prime Ltd
- PUPrime-Live 7PU Prime Ltd
- PUPrime-Live2PU Prime Ltd
- Taurex-LIVETaurex Global Limited
No built-in server matches that.
56 servers built in
Not on the list? Paste your broker's web terminal address and Termless checks it on the spot.
One 16 MB file.
The whole server is a single program you copy to a box and start.
- Runs on
- Linux, on x86 or ARM. No Windows, no Wine.
- Inside
- The API, the dashboard and the docs.
- Starts as
- A systemd service or a Docker container.
- Keeps
- Everything in SQLite, broker passwords sealed.
See every route in the docs.
They are open, with calls to copy in curl, Python and JavaScript.
Read the docs Sign in