Welcome Developers!

Introducing MT4 & MT5 Manager REST API For

We're proud to announce the completion of the New Integration API. Learn more

Simple and transparent

Bring your application to life

The Manager API allows your application to access current data from your MetaTrader server. However, Manager API is using RESTful with PHP concept to develop API for web based applications. Through the API, several common operations can be performed and the result can be fetched in JSON.

Developer tools

The Manager API returns data in JSON makes itself language independent. It can be easily integrated in PHP, Python, Node JS, C# etc.

                            
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://api.broking.tools/UserTradesGet");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, "{
  \"account\": 33112,
  \"from\": 0,
  \"to\": 0
}");
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
  "API_KEY: YOUR_API_KEY",
  "MANAGER_PASSWORD: YOUR_MANAGER_PASSWORD"
));
$response = curl_exec($ch);
curl_close($ch);
var_dump($response);

            
                            
from urllib2 import Request, urlopen

values = """
  {
    "account": 33112,
    "from": 0,
    "to": 0
  }
"""

headers = {
  'API_KEY': 'YOUR_API_KEY',
  'MANAGER_PASSWORD': 'YOUR_MANAGER_PASSWORD'
}
request = Request('https://api.broking.tools/UserTradesGet', data=values, headers=headers)

response_body = urlopen(request).read()
print response_body
                            
var request = require('request');

request({
  method: 'POST',
  url: 'https://api.broking.tools/UserTradesGet',
  headers: {
    'API_KEY': 'YOUR_API_KEY',
    'MANAGER_PASSWORD': 'YOUR_MANAGER_PASSWORD'
  },
  body: "{  \"account\": 33112,  \"from\": 0,  \"to\": 0}"
}, function (error, response, body) {
  console.log('Status:', response.statusCode);
  console.log('Headers:', JSON.stringify(response.headers));
  console.log('Response:', body);
});

                            
var request = new XMLHttpRequest();

request.open('POST', 'https://api.broking.tools/UserTradesGet');

request.setRequestHeader('API_KEY', 'YOUR_API_KEY');
request.setRequestHeader('MANAGER_PASSWORD', 'YOUR_MANAGER_PASSWORD');

request.onreadystatechange = function () {
  if (this.readyState === 4) {
    console.log('Status:', this.status);
    console.log('Headers:', this.getAllResponseHeaders());
    console.log('Body:', this.responseText);
  }
};

var body = "{ \
  'account': 33112, \
  'from': 0, \
  'to': 0 \
}";

request.send(body);

Ready to get started?

Get a test API key

Contact Us