MT5 Manager API Documentation
Complete PHP SDK for MetaTrader 5 Manager API. Manage trading accounts, execute operations, and access market data programmatically.
Quick start
Get up and running with the MT5 Manager API in minutes
Initialize the Manager Connection
Connect to your MetaTrader 5 server and obtain an authentication token:
The token returned by
initGet() is required for all subsequent API calls. Store it securely and use it in your API configuration.Explore by topic
Dive deeper into specific areas of the MT5 Manager API
Account Management
Retrieve account information, balances, equity, and margin details
User Management
Create, update, and manage trading users, deposits, and withdrawals
Trading Operations
Access positions, orders, deals, and execute trading operations
Market Data
Get symbols, groups, and market information from your MT5 server
Core features
Everything you need to integrate with MetaTrader 5
Bearer Authentication
Secure token-based authentication for all API operations
Complete Type Definitions
Full model classes for all API request and response objects
PHP 7.4+ & 8.0+ Support
Modern PHP compatibility with Guzzle HTTP client
API reference
Comprehensive documentation for all API classes and models
BasicApi
Initialize connections and ping the API
AccountApi
Retrieve account information by login
UserApi
Manage users, deposits, and withdrawals
TradeApi
Access positions, orders, and deals
GroupApi
Retrieve group configurations
SymbolApi
Get market symbols and specifications
Ready to get started?
Install the SDK and start managing your MetaTrader 5 platform programmatically in minutes.
View Quickstart Guide