Skip to content

MT5 Broker API Commands

Complete set of commands to manage your MT5 brokerage operations

GroupRequest

Retrieve detailed group information and configuration.

"method": "GroupRequest"

UserRequest

Get comprehensive login and trader information.

"method": "UserRequest"

UserAdd

Add a new trader account to the system.

"method": "UserAdd"

UserUpdate

Edit and update trader account information.

"method": "UserUpdate"

UserGroup

Display the trader's group and account information.

"method": "UserGroup"

UserPasswordChange

Change trader password (master or investor password).

"method": "UserPasswordChange"

UserPasswordCheck

Verify trader password against MT5 database.

"method": "UserPasswordCheck"

PositionRequest

Get information about trader's open positions.

"method": "PositionRequest"

OrderRequestHistory

Retrieve historical information about closed positions.

"method": "OrderRequestHistory"

UserLogins

List all traders belonging to a specific group/account.

"method": "UserLogins"

DealerBalance

Handle balance operations - deposits and withdrawals.

"method": "DealerBalance"

API Structure Example

$json = array(
  "server_name" => "testfx",
  "server_type" => "demo",
  "method" => "UserRequest",
  "payload" => array()
);

For example, replace "UserRequest" with any command above. All methods follow this consistent structure.

Get the complete C++ source code

One-time purchase for $300, including the Windows executable, documentation and Trader Room HTML mockups.

Buy source code for $300