1mt5_live_012345abcdef_4f6a...
1export FIVESOCKET_KEY="mt5_live_..."
verified. A new server returns pending while one isolated discovery builder creates a replacement generation.1234curl -X POST https://api.fivesocket.com/v1/server-verifications \ -H "Authorization: Bearer $FIVESOCKET_KEY" \ -H "Content-Type: application/json" \ -d '{"server":"YourBroker-Demo"}'
verified. A not_found result is terminal for that exact name; check the spelling before retrying.123456789curl -X POST https://api.fivesocket.com/v1/accounts \ -H "Authorization: Bearer $FIVESOCKET_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: link-demo-1" \ -d '{ "login": "12345678", "password": "your-investor-password", "server": "YourBroker-Demo" }'
1234567{ "id": "acc_...", "login": "•5678", "server": "YourBroker-Demo", "status": "active", "createdAt": "2026-07-14T10:00:00.000Z" }
server must be the exact MT5 server name as your broker publishes it. A login that succeeds in your desktop terminal uses the same string.12curl https://api.fivesocket.com/v1/accounts/acc_.../balance \ -H "Authorization: Bearer $FIVESOCKET_KEY"
12345678910{ "accountId": "acc_...", "login": "•5678", "server": "YourBroker-Demo", "observedAt": "2026-07-14T10:00:05.412Z", "latencyMs": 5210, "balance": "10000.00", "equity": "10012.50", "currency": "USD" }
snapshot instead of three separate endpoints. It amortizes the login over one exclusive session.