logo
theme
MT5 Manager Web
FREEMIUM
By brokingtools
Updated 8 months ago
MT5 Manager Web Overview
This API allows you to integrate MT5 with your application like Traders's room or CRM. For any help contact [email protected] Download Sample PHP Code <a href="http://developer.brokingtools.com/mt5/MT5_manager_API.zip">Download Sample Code</a>
provider
rating
Followers on API
Follow this API
resourcesTerms of Service
More Details

Integration

Download Sample PHP code.
Download Sample Code

Get Access Key by passing your manager credentials.

Authentication

Set following parameters in the header for each POST.

X-RapidAPI-Host : meta-connect-mt5.p.rapidapi.com
X-RapidAPI-Key : YOUR X-RAPID API KEY

Create Access Key

Method: POST
URL: https://meta-connect-mt5.p.rapidapi.com/token/

Field Value Type
Server Server IP:Port e.g 127.0.0.1:443 String
Login Login ID e.g 1000 String
Password Manager Password String
ServerName Any name for your Access Key. e.g RealServer String
Command CreateAccessKey String

Response

Type: JSON

"{\"RealServer\":\"27642c0c2f1e97fcfa055cd8e4f19bd7\"}"

List Access Keys

Method: POST
URL: https://meta-connect-mt5.p.rapidapi.com/token/

Field Value Type
Command ListAccessKeys String

Response

Type: JSON

"{\"RealServer\":\"c96ccda829b63d5aef4d2227e94643d0\"}{\"DemoServer\":\"b38ce6dc8718f1af8cb918e4d4ccbb11\"}"

Delete Access Key

If you want to delete the access key in case your manager credentials has changed.
Method: POST
URL: https://meta-connect-mt5.p.rapidapi.com/token/

Field Value Type
Command Access Key String

Response

Type: JSON

"[\"Status => Deleted\"]"

MT5 Operations

All operations has simillar request.

Method: POST

URL: https://meta-connect-mt5.p.rapidapi.com/web-services/

Type: JSON

json_request = {"api_key" => "ACCESS KEY", "command" => "COMMANDS", "data" => "DATA"}

All Commands and Data for each operations are listed below.

Create MT5 User Account

Access Key Command Data
Your Created Access Key user_create {'name' => 'User Name', 'address' => 'address', 'country' => 'country', 'city' => 'city', 'email' => '[email protected]', 'comment' => 'comment', 'group' => 'demoforex', 'state' => 'state', 'leverage' => 50, 'zipcode' => 'zipcode', 'mqid' => 1, 'password_phone' => 'phone password', 'id_number' => 'ID', 'status' => 'RE', 'taxes' => 10.0, 'agent_account' => 1000, 'phone' => 'phone number', 'password' => 'password', 'password_investor' => 'investor password', 'enable_change_password' => false, 'enable' => true, 'send_reports' => true, 'enable_read_only' => false, }

Response

Type: JSON

"{\"status\":\"true\",\"data\":{"login" : MT5 Account Number}}

Get User Account Data

Access Key Command Data
Your Created Access Key user_data_get {"account_id": "User ID"}

Response

Type: JSON

"{\"status\":\"true\",\"data\": MT5 User Account Data}

Enable User Account

Access Key Command Data
Your Created Access Key user_enable {"account_id":"User ID"}

Response

Type: JSON

"{\"status\":\"true\"}

Disable User Account

Access Key Command Data
Your Created Access Key user_disable {"account_id":"User ID"}

Response

Type: JSON

"{\"status\":\"true\"}

Deposit Funds

Access Key Command Data
Your Created Access Key deposit_funds {'account_id': "User ID", 'amount' : 101.0, "comment": "Test Comments" }

Response

Type: JSON

"{\"status\":\"true\, \"data\": {\"order\" : Generated Order ID}}"

Withdraw Funds

Access Key Command Data
Your Created Access Key deposit_funds {'account_id': "User ID", 'amount' : -101.0, "comment": "Test Comments" }

Response

Type: JSON

"{\"status\":\"true\, \"data\": {\"order\" : Generated Order ID}}"

Credit In

Access Key Command Data
Your Created Access Key credit_funds {'account_id' => 'User ID', 'amount' => 50.0, "comment" => "Credit-In" }

Response

Type: JSON

"{\"status\":\"true\, \"data\": {\"order\" : Generated Order ID}}"

Credit Out

Access Key Command Data
Your Created Access Key credit_funds {'account_id' => 'User ID', 'amount' => -50.0, "comment" => "Credit-Out" }

Response

Type: JSON

"{\"status\":\"true\, \"data\": {\"order\" : Generated Order ID}}"

Get User Trades Data

Access Key Command Data
Your Created Access Key user_trades_get {"account_id": "User ID"}

Response

Type: JSON

"{\"status\":\"true\, \"data\": RESULT }"

Get User From Group

Access Key Command Data
Your Created Access Key users_get {"group": "demoforex"}

Response

Type: JSON

"{\"status\":\"true\, \"data\": RESULT }"

Update Leverage/Group

Access Key Command Data
Your Created Access Key user_update {"account_id": "User ID", "group" => "demoforex", '"everage" => 50}

Response

Type: JSON

"{\"status\":\"true\}"

Internal Transfer

Access Key Command Data
Your Created Access Key transfer_funds {'src_account_id' => 'Login ID', 'dst_account_id' => 'Reciever Login ID', 'amount' => 50.0, 'src_comment' => 'Withdraw 50.0 to #reciever', 'dst_comment' => 'Deposit 50.0 from #sender'}

Response

Type: JSON

"{\"status\":\"true\, \"data\": RESULT }"

Change User Password

Access Key Command Data
Your Created Access Key user_password_set {'account_id' => User Login ID, 'password' => '12qwas34', 'change_investor' => 0}

Response

Type: JSON

"{\"status\":\"true\"

Change Investor Password

Access Key Command Data
Your Created Access Key user_password_set {'account_id' => User Login ID, 'password' => '12qwas34', 'change_investor' => 1}

Response

Type: JSON

"{\"status\":\"true\"

Get List Of Groups

Access Key Command Data
Your Created Access Key groups_get {}

Response

Type: JSON

"{\"status\":\"true\, \"data\": RESULT }"

Get Data Of Group

Access Key Command Data
Your Created Access Key group_data_get {"name": "demoforex" }

Response

Type: JSON

"{\"status\":\"true\, \"data\": RESULT }"

Have a question about this API?Ask the API Provider.

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication