Connect with APIs
Read accounts, stream prices and connect your Python, C# or Node.js application to MT4, MT5, cTrader or TradeLocker.
How billing works
Standard terminal: $4 per 720 hours; cTrader and TradeLocker cost half of that. Volume rates reach $1.50 after 1,080,000 combined account-hours in a calendar month. Charged per minute; lower rates apply to subsequent usage. (A cTrader or TradeLocker hour counts as half an hour towards the tiers.)
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 run it free; signed-in visitors use their own API 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.
- Sign up and download the same Python example to run locally with no packages. It carries your API key; MRPC_API_KEY overrides it.
What to check
A successful AccountSummary response from your connected MT5 demo account.
Estimate terminal and copier costs →
Compare local Python and a hosted API →
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. The download carries your API key; MRPC_API_KEY overrides it.
Download the Python example