API Documentation
Your MetaTrader accounts, as an API.
REST and WebSocket access to MT4 and MT5 accounts — no terminal to keep running, no VPS to babysit. Connect an account with one request and read quotes, positions and order history from your own code.
Start here
Account API
Connect, list and disconnect MetaTrader accounts with your API key. One request to get going.
Per account
Trading API
Quotes, symbols, positions, order and deal history, and placing, modifying and closing orders.
Live
WebSocket
Ticks, OHLC bars, account changes, positions and trade events over one connection.
Already using the v1 API?
It is still documented and still supported — nothing changes for accounts already running on it. New integrations should start on v2, which adds WebSocket streaming and gives each account its own endpoint.