• UK:+44 20 3670 9795 Live Account Demo Account
  • Menu
IB Live Demo


API system is a one stop connection of experts to select liquidity solutions. Client will have all basic functionality to trade Forex and Spot Metals. MEX Group provides Meta Bridge solutions, FIX API solutions and socket based API solutions.



  • MEX Group offers ultimate solution to Meta 4 brokers reaching reliable prices, and hedging capabilities. MEX Group MT4 Bridge ends the days where brokers relied on manual dealers for hedging their risks, or getting burned on trades from stale/ delayed quotations. Regardless of the setup, validity of the quotation is confirmed via an executable streaming price brought by major global bank providers.


  • MEX Group offers two superior solutions for direct API Trading. FIX API or Java Socket Based API solutions exceed industry standards.
  • MEX Group uses a FIX server with a custom message processor in order to distribute prices and receive FX trades as well as Spot Bullion Trades. It is a high speed system providing traders 24 hour access to streaming executable prices.
  • What is FIX? The Financial Information eXchange (FIX) Protocol is a technical specification for electronic communication of financial data that is a globally accepted standard of messaging specifications. For more information and supporting materials on the FIX protocol, please refer to the FPL website, http://www.fixprotocol.org

The main features of FIX API are:

  • receive streaming tradable quotes
  • send orders
  • get executions reports
  • cancel and replace working orders
  • request for open and closed positions
  • request for account values

Supported Order Types are:

  • Market Order: An order to buy or sell immediately at the best available price
  • Limit Order: An order to buy or sell at a specified target price or better
  • Stop Order: An order to buy or sell when the market surpasses a specified price. This order is usually used to stop losses but can also be used as an entry order
  • One Cancels the Other (OCO) Order: One limit and one stop order where

Socket Based API

The socket based API is a messaging policy system for developing server side communication applications for automatic order execution and streaming price feed. The system does not force developers to use any kind of third party dll or compiled code. Any environment that allows socket connection and send XML messages over it, is able to interact with the MEX Group servers. So the architecture is independent from the type of the operating system, networking structure, programming language that the client applications are using.

The security aspect of the socket based API is well-designed with its multiple levels :

  • 1-One Cancels the Other (OCO) Order: One limit and one stop order where the fill of one leg cancels the other leg
  • 2-Critical operations like sending or amending orders are protected with secure key exchange algorithm with client specific initial private keys
  • 3-IP and password limitations are used while communication channels are being established

In this API, for every single message sent from the client to the server, there is a two phase response structure. The client is informed initially by the reach of the message to the server immediately. The result of the operation is sent with the second response message.

How to Apply for MEX API?

  • MEX Group’s API systems are in use to connect to several liquidity providers. The tool has been designed for diverse implementation needs. Java (Socket Based) and Financial Information Exchange (FIX) based integration options are available to better interact with various systems.
  • You can apply for an MEX Group API through your broker, or we can recommend a set of brokers that offer this service. In order to apply for an API system, it is expected that the client has a basic IT know how or that the client can get the service of an integration company.
  • It is easy to apply for an MEX Group API, please fill the following enquiry form and our friendly API Specialist will get back to you within 24 hours.

array(9) { ["success"]=> bool(false) ["error"]=> NULL ["countries"]=> array(193) { [0]=> string(11) "Afghanistan" [1]=> string(7) "Albania" [2]=> string(7) "Algeria" [3]=> string(7) "Andorra" [4]=> string(6) "Angola" [5]=> string(19) "Antigua and Barbuda" [6]=> string(9) "Argentina" [7]=> string(7) "Armenia" [8]=> string(9) "Australia" [9]=> string(7) "Austria" [10]=> string(10) "Azerbaijan" [11]=> string(7) "Bahamas" [12]=> string(7) "Bahrain" [13]=> string(10) "Bangladesh" [14]=> string(8) "Barbados" [15]=> string(7) "Belarus" [16]=> string(7) "Belgium" [17]=> string(6) "Belize" [18]=> string(5) "Benin" [19]=> string(6) "Bhutan" [20]=> string(7) "Bolivia" [21]=> string(22) "Bosnia and Herzegovina" [22]=> string(8) "Botswana" [23]=> string(6) "Brazil" [24]=> string(6) "Brunei" [25]=> string(8) "Bulgaria" [26]=> string(12) "Burkina Faso" [27]=> string(7) "Burundi" [28]=> string(8) "Cambodia" [29]=> string(8) "Cameroon" [30]=> string(6) "Canada" [31]=> string(10) "Cape Verde" [32]=> string(24) "Central African Republic" [33]=> string(4) "Chad" [34]=> string(5) "Chile" [35]=> string(5) "China" [36]=> string(7) "Colombi" [37]=> string(7) "Comoros" [38]=> string(19) "Congo (Brazzaville)" [39]=> string(5) "Congo" [40]=> string(10) "Costa Rica" [41]=> string(13) "Cote d'Ivoire" [42]=> string(7) "Croatia" [43]=> string(4) "Cuba" [44]=> string(6) "Cyprus" [45]=> string(14) "Czech Republic" [46]=> string(7) "Denmark" [47]=> string(8) "Djibouti" [48]=> string(8) "Dominica" [49]=> string(18) "Dominican Republic" [50]=> string(24) "East Timor (Timor Timur)" [51]=> string(7) "Ecuador" [52]=> string(5) "Egypt" [53]=> string(11) "El Salvador" [54]=> string(17) "Equatorial Guinea" [55]=> string(7) "Eritrea" [56]=> string(7) "Estonia" [57]=> string(8) "Ethiopia" [58]=> string(4) "Fiji" [59]=> string(7) "Finland" [60]=> string(6) "France" [61]=> string(5) "Gabon" [62]=> string(11) "Gambia, The" [63]=> string(7) "Georgia" [64]=> string(7) "Germany" [65]=> string(5) "Ghana" [66]=> string(6) "Greece" [67]=> string(7) "Grenada" [68]=> string(9) "Guatemala" [69]=> string(6) "Guinea" [70]=> string(13) "Guinea-Bissau" [71]=> string(6) "Guyana" [72]=> string(5) "Haiti" [73]=> string(8) "Honduras" [74]=> string(7) "Hungary" [75]=> string(7) "Iceland" [76]=> string(5) "India" [77]=> string(9) "Indonesia" [78]=> string(4) "Iran" [79]=> string(4) "Iraq" [80]=> string(7) "Ireland" [81]=> string(6) "Israel" [82]=> string(5) "Italy" [83]=> string(7) "Jamaica" [84]=> string(5) "Japan" [85]=> string(6) "Jordan" [86]=> string(10) "Kazakhstan" [87]=> string(5) "Kenya" [88]=> string(8) "Kiribati" [89]=> string(12) "Korea, North" [90]=> string(7) "Lebanon" [91]=> string(12) "Korea, South" [92]=> string(6) "Kuwait" [93]=> string(10) "Kyrgyzstan" [94]=> string(4) "Laos" [95]=> string(6) "Latvia" [96]=> string(7) "Lesotho" [97]=> string(7) "Liberia" [98]=> string(5) "Libya" [99]=> string(13) "Liechtenstein" [100]=> string(9) "Lithuania" [101]=> string(10) "Luxembourg" [102]=> string(9) "Macedonia" [103]=> string(10) "Madagascar" [104]=> string(6) "Malawi" [105]=> string(8) "Malaysia" [106]=> string(8) "Maldives" [107]=> string(4) "Mali" [108]=> string(5) "Malta" [109]=> string(16) "Marshall Islands" [110]=> string(10) "Mauritania" [111]=> string(9) "Mauritius" [112]=> string(6) "Mexico" [113]=> string(10) "Micronesia" [114]=> string(7) "Moldova" [115]=> string(6) "Monaco" [116]=> string(8) "Mongolia" [117]=> string(7) "Morocco" [118]=> string(10) "Mozambique" [119]=> string(7) "Myanmar" [120]=> string(7) "Namibia" [121]=> string(5) "Nauru" [122]=> string(5) "Nepal" [123]=> string(11) "Netherlands" [124]=> string(11) "New Zealand" [125]=> string(9) "Nicaragua" [126]=> string(5) "Niger" [127]=> string(7) "Nigeria" [128]=> string(6) "Norway" [129]=> string(4) "Oman" [130]=> string(8) "Pakistan" [131]=> string(5) "Palau" [132]=> string(6) "Panama" [133]=> string(16) "Papua New Guinea" [134]=> string(8) "Paraguay" [135]=> string(4) "Peru" [136]=> string(11) "Philippines" [137]=> string(6) "Poland" [138]=> string(8) "Portugal" [139]=> string(5) "Qatar" [140]=> string(7) "Romania" [141]=> string(6) "Russia" [142]=> string(6) "Rwanda" [143]=> string(21) "Saint Kitts and Nevis" [144]=> string(11) "Saint Lucia" [145]=> string(13) "Saint Vincent" [146]=> string(5) "Samoa" [147]=> string(10) "San Marino" [148]=> string(21) "Sao Tome and Principe" [149]=> string(12) "Saudi Arabia" [150]=> string(7) "Senegal" [151]=> string(21) "Serbia and Montenegro" [152]=> string(10) "Seychelles" [153]=> string(12) "Sierra Leone" [154]=> string(9) "Singapore" [155]=> string(8) "Slovakia" [156]=> string(8) "Slovenia" [157]=> string(15) "Solomon Islands" [158]=> string(7) "Somalia" [159]=> string(12) "South Africa" [160]=> string(5) "Spain" [161]=> string(9) "Sri Lanka" [162]=> string(5) "Sudan" [163]=> string(8) "Suriname" [164]=> string(9) "Swaziland" [165]=> string(6) "Sweden" [166]=> string(11) "Switzerland" [167]=> string(5) "Syria" [168]=> string(6) "Taiwan" [169]=> string(10) "Tajikistan" [170]=> string(8) "Tanzania" [171]=> string(8) "Thailand" [172]=> string(4) "Togo" [173]=> string(5) "Tonga" [174]=> string(19) "Trinidad and Tobago" [175]=> string(7) "Tunisia" [176]=> string(6) "Turkey" [177]=> string(12) "Turkmenistan" [178]=> string(6) "Tuvalu" [179]=> string(6) "Uganda" [180]=> string(7) "Ukraine" [181]=> string(20) "United Arab Emirates" [182]=> string(14) "United Kingdom" [183]=> string(13) "United States" [184]=> string(7) "Uruguay" [185]=> string(10) "Uzbekistan" [186]=> string(7) "Vanuatu" [187]=> string(12) "Vatican City" [188]=> string(9) "Venezuela" [189]=> string(7) "Vietnam" [190]=> string(5) "Yemen" [191]=> string(6) "Zambia" [192]=> string(8) "Zimbabwe" } ["language"]=> array(7) { [1]=> string(7) "English" [2]=> string(14) "Русский" [3]=> string(8) "Español" [4]=> string(14) "العربية" [5]=> string(8) "Francais" [6]=> string(9) "日本话" [7]=> string(6) "中文" } ["sendto"]=> array(2) { [1]=> string(13) "IB Department" [2]=> string(16) "Customer Service" } ["videoconference"]=> array(4) { [1]=> string(18) "Introducing Broker" [2]=> string(11) "White Label" [3]=> string(15) "Senior Partners" [4]=> string(16) "Franchise Scheme" } ["subject"]=> array(6) { [1]=> string(15) "Technical Issue" [2]=> string(14) "Platform Issue" [3]=> string(11) "Trade Issue" [4]=> string(13) "Deposit Issue" [5]=> string(14) "Withdraw Issue" [6]=> string(5) "Other" } ["data"]=> NULL ["needsmscode"]=> bool(false) }