Socketrade

Broker guide · checked 29 November 2026

MT5 API for Admirals

Admirals names its servers by entity: AdmiralsGroup for the group entity and AdmiralsSC for the Seychelles one, each with a demo and a live server. The entity on the account decides which pair you can use.

Server names

Use the exact name MetaTrader shows. A wrong server is the most common connection failure.

AdmiralsGroup-DemoDemo, group entity. The safest first connection.
AdmiralsGroup-LiveLive, group entity.
AdmiralsSC-DemoDemo, Seychelles entity.
AdmiralsSC-LiveLive, Seychelles entity.

Symbols and contract sizes

The same name does not always mean the same size. Check the contract before you set a lot.

EURUSDStandard spelling. Confirm it in Market Watch on your account.
XAUUSDGold. Check the contract size before sizing a lot.
Indices and cryptoUse the names the account shows; they differ by entity.

Connect it

One call adds the account. Wait for ready before sending an order.

curl -X POST https://api.socketrade.com/v2/accounts \
  -H "X-API-Key: $SOCKETRADE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "12345678",
    "accountPassword": "your-demo-password",
    "accountServerHost": "AdmiralsGroup-Demo",
    "name": "Admirals demo"
  }'

What to watch

  • AdmiralsGroup and AdmiralsSC are different legal entities with separate servers. A login on one is rejected on the other.
  • Demo and live are separate servers for each entity.
  • Use the exact server on the account card; do not shorten it to Admirals.
  • One API seat covers one MT5 account, so a second Admirals account needs its own connection.

Sources