Connect with APIs
Read accounts, stream prices and connect your Python, C# or Node.js application to MT4 or MT5.
How billing works
Standard terminal: $5 per 720 hours. Volume rates reach $2 after 1,500,000 combined account-hours in a calendar month. Billed hourly; lower rates apply to subsequent usage.
Creating an account is free. Running resources uses your balance; any available welcome credit is shown in your dashboard.
Try it step by step
- Open the live demo below. Guests use TRIAL; signed-in visitors use their own user key.
- Choose Python or JavaScript and run the complete example. It opens a new MetaQuotes demo account automatically.
- Check the live account summary and the confirmed Disconnect result. The code cleans up in finally.
- Download the same Python example to run locally with no packages. Set MRPC_API_KEY to use your own key or leave it unset for TRIAL.
What to check
A successful AccountSummary response from your connected MT5 demo account.
Connect Python to MT5
Run Python or JavaScript in your browser →
Download and run python mt5_demo.py. It opens a demo account, connects, reads account information, and disconnects in finally. No packages are required. Set MRPC_API_KEY to use your own key; otherwise it uses TRIAL.
Download the Python example