MetaTrader Web API
A RESTful API that provides programmatic access to MetaTrader 5 trading server data and operations for custom integrations.
Definition
The MetaTrader Web API is a RESTful interface provided by MetaQuotes that allows developers and brokers to programmatically access MetaTrader 5 trading server functionality over HTTP. Through the Web API, external applications can retrieve account data, query trading history, access market quotes, manage client accounts, and execute administrative operations without connecting through the native MT5 Manager protocol.
The Web API uses standard REST conventions with JSON payloads, making it accessible to developers working in any programming language or framework. Authentication is handled through API keys and token-based authorization, ensuring secure access to sensitive trading data. The API supports both synchronous requests for data retrieval and streaming connections for real-time price feeds.
For brokerages, the Web API is the key to building custom integrations between the MT5 trading platform and external systems. CRM platforms, client portals, reporting dashboards, payment gateways, and third-party analytics tools all connect to MT5 through the Web API. Without it, brokers would be limited to the built-in functionality of the MT5 Manager interface.
- RESTful HTTP interface with JSON
- Account and trade data access
- Administrative operations
- Real-time price streaming
- Language-agnostic integration
Key Points
Integration Capabilities
The Web API enables integration with CRM systems, payment processors, client portals, reporting tools, risk management platforms, and any custom application. This flexibility allows brokers to build a technology ecosystem around their MT5 trading server.
Developer Accessibility
Unlike the native Manager API which requires C++ or .NET, the Web API uses standard REST/JSON accessible from any programming language. Python, JavaScript, PHP, Java, and other languages can all interact with MT5 through simple HTTP requests.
Security Model
Access is controlled through API keys, IP whitelisting, and permission-based authorization. Administrators can grant granular access levels, ensuring that each integration can only access the data and operations it requires.
How It Relates to FXUP
FXUP leverages the MetaTrader Web API extensively to power integrations between the MT5 white label platform and the broader technology stack. The FXUP Web API service provides brokers with pre-built API connections for CRM integration, client portal data, and custom development projects.
The branded WebTrader and mobile trading apps also communicate with MT5 through the Web API layer.
- Pre-built API integrations included
- Powers WebTrader and mobile apps
- CRM-to-MT5 data synchronization
- Custom development support
Build on the MetaTrader Web API
FXUP provides pre-built API integrations and custom development support for MT5 brokers.
Contact Us