Trading utilities for MetaTrader 5

MetaApi REST and websocket API for MT5

Request a price

Free updates are included

We Accept:

We guarantee that all our
products are 100% authentic


MetaTrader 5


What is MetaApi?

MetaApi is a powerful MetaTrader API including MetaTrader REST API and MetaTrader websocket API.

Note: Demo download will not do anything useful as the EA can not be executed in the strategy tester. Please do not blame us for this miss as this is an MQL limitation.

Note: Due to MQL marketplace restrictions we can make only self-hosted MT5 version available via marketplace. For MT4 support or cloud-based version please contact me via direct message.

MetaApi provides a comprehensive set of tools via standard-based REST and Websocket APIs for interacting with the MetaTrader platform in order to create variety of classic trading applications using virtually any programming language. Primary anticipated use cases of MetaApi are creating automated trading strategies, monitoring your trading and streaming real-time quotes from MetaTrader terminal.


Features supported:

  • read terminal state, such as account information, positions and open orders
  • read trading history (deals and history orders)
  • execute trades
  • read market data such as contract specifications and current prices

Note: one of the features we implemented in our API is ability to use MetaTrader terminal as market data server (e.g. for strategy backtesting). However MQL marketplace restrictions forced us to remove this feature from this EA. Please contact me directly if you want to use this feature.

The features described above are available for use using the RESTful API or WebSocket server. We choose protocol for our Websocket server because clients are available on most popular programming languages.

Although you can trade via REST API, the primary intended use of REST API is creating trade monitoring applications. For automatic trading we recommend using Websocket server since it provides lower latencies and real time synchronization with terminal state.

API documentation

We created detailed API docs for you, they are available here:

Client SDKs

The list of supported client SDKs is presented on the page. Feel free to contact me if you need support for other languages. Please note since the API is standard-based it should be pretty straightforward for you to implement API client in the language of your choice.

Accessing the API

In order to access API you will need to supply authorization token and MT account id. These values are both printed in the MetaTrader terminal Experts log on EA startup, so that you can copy them from there. (see attached screenshot)

REST API endpoint -

Websocket API endpoint -

EA configuration parameters

EA configuration is straightforward and parameters are explained on the EA inputs screen (see attached screenshot).

When configuring the EA you need to supply the email and password you want to use in order to access the MetaApi API. Please create a MetaApi API password different from your MT password. The password must contain uppercase, lowercase letters and digits and be at least 8 characters long. 

DST setting - defines an algorithm which will be used to detect MetaTrader time timezone. Supported values are EU (which means that your broker will switch time according to EET timezone) and NY (which means that your broker will switch time according to America/New_York timezone).

Synchronization mode - automatic or user. Select automatic if you do not need to know real-time state of your MetaTrader terminal on the client side and plan to use REST or websocket request-response API only. Select user if you need it (e.g. for coding an automated strategy). See for more information about this feature. 

Please make sure to allow WebRequests to the following URLs (see attached screenshot):

The access to the above URLs is required for providing API access and generating API access credentials correspondingly.


If for any reason you do not like the purchased program, you can request a refund within 14 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.

Simply send a request for refund or exchange with your order number by email:

Refund requests received more than 14 days after purchase will be rejected.

Email Us Now! Support is available 24/7
by Email:

Do You Need Help?
Click Here To Start Live Chat

Contact Us

Copyright © 2021 All rights reserved. Terms and conditions | Privacy policy     We speak your language EN|CN|DE|ES|RU

RISK WARNING: is a software reseller, we do not offer investment advice or execute trades. The software we provide is a tool where the settings are input by the end user to design their own trading strategy. Trading forex and CFDs carry a high degree of risk to your capital and it is possible to lose your entire deposit. Only speculate with money you can afford to lose. As with any trading, you should not engage in it unless you understand the nature of the transaction you are entering, and the true extent of your exposure to the risk of loss. These products may not be suitable for all investors, therefore if you do not fully understand the risks involved, please seek independent advice.