Socketrade

MetaTrader 5 API for trading apps

Your app, every MT5 account, one socket.

Connect any MetaTrader 5 account to Socketrade through one API. Your users trade from your app while we carry the uptime, the reconnects and the broker quirks.

How it works

1

Connect the account

Send the broker login once. We take it from there and confirm the account is live before you ship.

2

Build against one API

Place and close orders, read positions and history over REST, or stream changes over a WebSocket. Any MT5 broker, demo or live.

3

Keep shipping

Uptime, reconnects and broker quirks are ours to watch. Your app talks to one stable contract and nothing else.

One call to place a trade

Every account has an id. Send it an order, close a position, or pull its open trades and history. Answers come back as JSON, and a refused order says why.

  • POST /v2/accounts
  • POST /v2/{account}/OrderSend
  • POST /v2/{account}/PositionClose
  • GET  /v2/{account}/positions
  • GET  /v2/{account}/history
  • WS   /v2/{account}/ws
curl -X POST https://api.socketrade.com/v2/{account}/OrderSend \
  -H "X-API-Key: $SOCKETRADE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"EURUSD","operation":0,"volume":0.10,"sl":0,"tp":0}'

What you get

Isolated accounts

One account cannot slow down, interrupt or log out another. Each stays independent.

REST and WebSocket

OrderSend, PositionClose, positions, history and live status, in plain JSON.

Any MT5 broker

If the broker runs MetaTrader 5, the account connects. Demo and live.

Credentials never exposed

Stored encrypted, sent once, never written to logs or returned by the API.

Self healing

A connection that drops is brought back on its own. You get the status, not the pager.

Priced by seat

One seat per account. Add or release as you grow, no platform fee.

Coming next

  • Drop in compatibility: switch from the MT5 API you use today by changing two settings.
  • Client libraries for Python and JavaScript.
  • A dashboard for your keys, accounts and usage.

Priced per connected account.

Pay for the accounts you connect each month, nothing else. Early access users lock in the launch price.

Get early access