REST and WebSocket APIs live today. 56 endpoints, 18 typed event variants, one unified surface across every perpetual and forex pair. FIX 4.4 gateway lands at the LD4 bare-metal cutover.
All public routes are no-auth and CORS-enabled. Order submission and account routes are HMAC-signed via your per-account API key. Full route table in the contract spec.
# Submit a limit buy order
curl -X POST https://api.lmexmarkets.com/v1/orders \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_KEY' \
-d '{
"client_id": "your-uuid",
"symbol": "BTC-PERP",
"side": "buy",
"order_type": "limit",
"price": "69500.00",
"quantity": "0.5",
"tif": "gtc",
"margin_mode": "cross",
"leverage": 10
}'One connection, multi-channel subscribe. Public channels are no-auth; private.{client_id} requires your API key on the upgrade request.
// Subscribe to BTC-PERP order book + your private channel
const ws = new WebSocket('wss://api.lmexmarkets.com/ws')
ws.onopen = () => {
ws.send(JSON.stringify({ action: 'subscribe', channel: 'orderbook.BTC-PERP' }))
ws.send(JSON.stringify({ action: 'subscribe', channel: 'private.' + clientId }))
}
ws.onmessage = (ev) => {
const e = JSON.parse(ev.data)
switch (e.type) {
case 'orderbook': /* { symbol, bids, asks, seq } */ break
case 'fill': /* { order_id, price, quantity, fee } */ break
case 'account_update': /* { balance, available, equity, ... } */ break
case 'liquidated': /* { symbol, size, pnl, ... } */ break
}
}FIX 4.4 acceptor over TCP for buy-side, prop firms and brokers. Translates to the same binary submit / cancel path as the REST and WS surfaces, with full session-level reliability (heartbeats, sequence recovery, resend).
Goes live with the LD4 bare-metal cutover (Q3 2026). If you're evaluating LMEX Markets for institutional flow, talk to us — we can preview the message set and onboarding checklist now.
Per-account API key + HMAC-SHA384 signing on order and account routes. Public market data is unsigned. Detailed signing spec in the contract document.
100 req/s per client on order submission; 1000 req/s global on market data; 10 WS connections per IP. Adjustments available for VIP 3+ and institutional accounts.
Every error returns { "error": "human readable" } with appropriate HTTP status (400 validation, 401/403 auth, 422 semantic, 503 unavailable).
API keys are provisioned per-account from your trader dashboard.