Public
Documentation Settings

MT5 Client RESTful API tmp

You can check our MT5 RESTfull API simply in browser without any coding.
To connect to mt5 account please use 'Connect' endpoint.
It returns token that you need to use in further requests as 'id' parameter.
To connect you need user number, password, host and port. Use /Search endpoint to find IP addresses of your broker.
You can open demo account on any MT5 broker. Or use this demo account for first checks:
User: 62333850
Password: tecimil4
Host: 78.140.180.198
Port: 443

Connection

Connect and disconnect functions

GET/Connect

https://mt5.mtapi.io/Connect?user=62333850&password=tecimil4&host=78.140.180.198&port=443

Returns Token that you need to use as "id" parameter for further reqests

HEADERS
Accept

text/plain

PARAMS
user

62333850

(Required) Account number.

password

tecimil4

(Required) Password.

host

78.140.180.198

(Required) Host - ip adddress or dns name.

port

443

(Required) Port.

GET/ConnectProxy

https://mt5.mtapi.io/ConnectProxy?user=62333850&password=tecimil4&host=78.140.180.198&port=443&proxyUser=ProxyUser123&proxyPassword=qwerty123&proxyHost=65.108.126.217&proxyPort=1080&proxyType=Https

Returns Token that you need to use as "id" parameter for further reqests

HEADERS
Accept

text/plain

PARAMS
user

62333850

(Required) Account number

password

tecimil4

(Required) Password

host

78.140.180.198

(Required) Host - ip adddress or dns name

port

443

(Required) Port

proxyUser

ProxyUser123

(Required) Proxy user

proxyPassword

qwerty123

(Required) Proxy password

proxyHost

65.108.126.217

(Required) Proxy server ip adddress

proxyPort

1080

(Required) Proxy port

proxyType

Https

(Required) Proxy type. Put 'Socks5' for default parameters

Loading