MT5 API Explained: What the Manager API Lets Brokers Do

The MT5 API usually means the MetaTrader 5 Manager API, a server-side interface that lets authorised software manage accounts, groups and trade data on the trade server. Traders do not use it to place orders. What your broker can use depends on its licence or hosting contract and on the rights granted to each manager user.
Last updated: 7 November 2026. Reviewed by the FxTrusts editorial team.
Supplier disclosure: FxTrusts sells CRM software and hosted MT5 manager access, so this is a supplier’s guide, not an independent review. Where we state a price or scope, the source is our own pricing page. Platform facts come from the public MetaQuotes and MQL5 pages listed under Sources.
This guide explains what the Manager API is for, how it sits beside the trading terminal and the Manager Terminal, which broker workflows are commonly automated, and what to confirm before you connect a CRM, client portal or payment system. It is written for operators and founders scoping a broker or prop-firm build. It is not a developer reference.
Key takeaways
- The MT5 API for brokers is the server-side Manager API. Traders do not use it to log in and trade.
- Access depends on your licence or hosting contract. A hosted or white-label arrangement grants a scoped manager user, not unrestricted server control.
- Give each connected system its own manager user with the fewest rights it needs, and log every write.
- A wrong call can change a balance or an account setting, so test every write path on a demo environment first.
- Confirm the method list, rights and fees in writing. Public pages do not itemise every function.
MT5 API explained: what the Manager API covers
MetaTrader 5 has several access paths. The trading terminal is what a client uses to see prices, open positions and place orders. The Manager Terminal is a desktop administration tool for staff, where operators manage groups, symbols, accounts and server settings by hand. The Manager API sits beneath that layer as a programmable interface. Software connects to the server as a manager user, sends requests and receives results.
The practical effect is that a CRM, client portal or reporting tool can run administrative tasks without an operator clicking through the Manager Terminal for each one. MetaQuotes states that CRM functionality is already embedded in the MetaTrader 5 Manager Terminal, and it recommends extending that into a complete solution for working with clients and running internal operations. Its brokerage setup guide is a good starting point. That page does not name the Manager API, so the scope of each administration path is a contract question as well as a technical one.
MT5 access paths compared
Many buying errors come from mixing these paths. The table separates them by user and purpose, so your requirement brief can name the path you actually need.
| Access path | Typical user | Main purpose | What to confirm |
|---|---|---|---|
| MT5 trading terminal | Traders and clients | View prices, open and manage their own orders | Platforms offered, device support, client branding |
| MT5 Manager Terminal | Operations staff | Manual administration of accounts, groups and symbols | Staff count, named logins, rights per role |
| MT5 Manager API | Broker-side software | Automated account, group, balance and data tasks | Licence or hosting authority, method list, rights, logging |
| Client-side integrations (MQL5 and Python) | Developers building tools that run with a terminal | Scripts and programs that run alongside a client terminal | These do not replace server administration |
The MQL5 reference index describes client-side programming for MetaTrader 5, including a Python integration section, in its integration documentation. Those tools run with a terminal. They do not replace the server-side administration that the Manager API provides, so an integration brief should name the path it needs.
Capability table: what the API covers and where the limits sit
The rows below describe common broker workflows. They are not a list of confirmed API methods. The right-hand column is what to check before you build, because each workflow depends on a written scope and on the rights your manager user holds.
| Workflow | Typical use | Limit or check before build |
|---|---|---|
| Account creation | A CRM creates the MT5 login after onboarding and KYC checks, then writes the login number back to the client record. | Manager rights for account creation, and how the server handles duplicate or rejected requests. |
| Groups and symbols | A tool applies approved group settings instead of staff editing many logins by hand. | Which groups and symbols the manager role may change, plus change approval and logging. |
| Balance operations | One balance adjustment per approved deposit or withdrawal, carrying a unique reference. | How timeouts and partial failures are reported, and daily reconciliation with the payment provider. |
| Trade and account history | Statements, commission inputs and compliance extracts read from the server rather than from exported spreadsheets. | Which history fields the API returns, and whether they match the server reports. |
| Prop-firm rule actions | An evaluation engine reads equity and trades, then sets an account state according to a written rule set. | A tested rule set, a demo run and a manual override path before automation goes live. |
| Connection capacity | Concurrent connections, account counts and symbol counts set how far one integration can scale. | How each limit is measured, and what happens when it is reached. |
Automation is also a risk surface. A wrong rule runs faster than a person can catch it. Start with one workflow, prove it on demo accounts, and widen the scope only after reconciliation is clean. If you are comparing a CRM that already does this, our CRM for brokers page describes the MT5 synchronisation scope we offer, and the prop firm software page covers rule-driven accounts.
Access control and security
The API is only as safe as the permissions behind it. Apply the principle of least privilege to every system that connects. A CRM that creates accounts does not need the right to change server-wide settings. A reporting tool that reads history does not need write rights at all.
Use these controls before go-live:
- One manager user per connected system, with a documented list of rights and an owner who approves changes.
- Credentials kept in a secrets manager, rotated on a schedule and removed when a system is retired.
- Network restrictions where your host supports them, so the API is reachable only from approved addresses.
- An audit trail in your own systems that records the request, the user who triggered it, the server result and the time.
- Staff review of any manual override, and a separate approval for bulk changes.
FxTrusts describes its hosted MT5 access offer as role-scoped Manager and API access to a contracted host environment. That wording matters. Scope is set by contract and by the host, so ask for the rights matrix in writing rather than assuming full administration.
How broker requests reach the server
Broker systems send administrative requests through the Manager API to the trade server. Traders use their own terminal on a separate path. The diagram shows that split, and it shows why the two paths should never share a login.
Worked example: one deposit, one credit
Duplicate notifications are one of the most common causes of double credits. Suppose a payment provider sends a “payment approved” webhook twice because the first response timed out. A safe design works like this:
- The payment system records the transaction with a unique identifier and marks it approved once.
- The CRM checks whether that identifier already has a posted balance adjustment. If it does, the second notification is ignored and logged.
- If it does not, the CRM sends one balance request to the Manager API with the identifier as the reference.
- The server result, including success or rejection, is stored against the same identifier.
- Finance reconciles the day’s posted adjustments against the payment provider’s settlement report.
This is a design pattern, not a guarantee of how any server responds. Test timeouts, rejected requests and repeated notifications in a demo environment. Your integration team should also confirm how the API reports partial failures, because a timeout does not always mean the server did not post the change.
What to confirm before you build
A short checklist saves more time than a long feature list. Ask your provider or integration team to answer each point in writing:
- Which legal entity holds the server licence, and whether your entity can use the Manager API under that arrangement.
- The method list or capability summary for your MT5 build, and the rights each manager role receives.
- Whether the API is included in the subscription, or charged as a separate monthly fee or project work.
- How account limits, concurrent connections and symbol counts are measured, and what happens when a limit is reached.
- Logging, support hours and the process for a failed or partial write.
- Exit terms: how credentials are revoked, and how account and history data is exported if you move.
FxTrusts scopes MT5 infrastructure through the platform overview and the technical infrastructure page. For connectivity on the FIX side, see the FIX trading API page. FIX is a separate interface from the Manager API.
Evidence limits, costs and risk
We reviewed the public MetaQuotes brokerage guidance, the MetaTrader 5 user manual and the MQL5 reference on 7 November 2026. The MetaQuotes brokerage page confirms that CRM functionality is embedded in the Manager Terminal. None of the public pages we checked names the Manager API or lists its methods, and we could not locate the Manager API reference on them. Treat any method list in this article as a summary to check, not as a specification. Your developers should work from the reference your licence provides.
Costs also vary by arrangement. Our pricing page lists Hosted MT5 Manager Access at $3,500 per month, with a proposed allowance of 500 real-account slots and 10,000 demo-account slots. That subscription is separate from the CRM unless a signed bundle says otherwise, and it depends on written platform and host authorisation for your entity, territory and business model. The same figure is not a universal FxTrusts platform price. Custom integration work is quoted separately.
Nothing in this article is investment advice. Access to a trade server and its administration API can change client balances and trading conditions, so treat both as controlled financial systems. Trading carries risk of loss; see the risk disclosure.
Sources
Official and primary references reviewed on 7 November 2026. Product descriptions establish public claims only. They do not show performance, and they do not replace the contract that governs your access.
Frequently Asked Questions
Is the MT5 API the same as the Manager Terminal?
No. The Manager Terminal is a desktop tool that staff use to administer the server by hand. The Manager API lets software perform similar administrative tasks through a programmatic interface, subject to the rights granted to the manager user.
Can a trader use the MT5 API to place orders?
No. Traders place orders through the MT5 terminal or a platform app connected to the trade server. The Manager API is for broker-side administration and data, and it is not a retail trading login.
Do I need my own MetaQuotes licence to use it?
It depends on the arrangement. A party that holds its own server licence controls its own Manager API. A hosted or white-label arrangement grants access under the host’s licence, with scope set by contract. Get your position in writing before you build.
What does the MT5 API cost?
Cost depends on the subscription, the host and any custom integration work. Our published Hosted MT5 Manager Access price is $3,500 per month under the conditions stated on the pricing page. Third-party integration work is quoted separately.
Is it safe to connect a CRM to the Manager API?
It can be, when the CRM runs under its own manager user with limited rights, every write is logged, duplicate requests are blocked, and the process has been tested on demo accounts. Without those controls, one misconfigured call can change many accounts.
Does the API replace reporting from the server?
Not automatically. An API feed can supply trade and account data for reports, but finance should still reconcile it against the server and the payment provider. Check which history fields the API returns before you design statements or commission calculations around them.


