TS MT5 API
A hosted REST and WebSocket API for MetaTrader 5 accounts. Read quotes, positions and history and place orders over HTTPS - no terminal to install, no server to run. You get a base URL and an API key; that is all you need.
Read the API documentationYour access
Checking your account...
Hosted, nothing to run
We run the service. You call HTTPS endpoints from any language - Python, Node, C#, curl.
Trade and read
Quotes, bars, positions, pending orders, history, and market / limit / stop / stop-limit orders with SL and TP.
Safe by design
Idempotent order placement, a separate generous budget for closing, and a wind-down window so you can always flatten.
How it works
- Log in and start your free 7-day trial above. Your key is shown once - store it somewhere safe.
- Add your MT5 login (demo or live) with one call (
PUT /accounts/{id}). Your password is stored encrypted and is never returned. - Open a session with
POST /connectand start calling the API.
One free trial per account: 7 days and up to 300 new orders. Closing positions is never capped, and after the trial ends you still have 24 hours to close anything left open.
Before you start
- Demo and live MT5 accounts both work. On a live account you are trading real money - start with small sizes, and manage your positions before the trial ends.
- The service is provided as hosted API access. No source code, software package or container image is provided or available.
- Keep your key private. If it leaks, revoke it above and issue a new one.