Socketrade

Broker guide · checked 29 November 2026

MT5 API for Eightcap

Eightcap has a main demo and live pair, then entity-specific live servers for the EU and Global businesses. The account card decides which one; the main pair is only right for the main entity.

Server names

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

Eightcap-DemoMain demo. The safest first connection.
Eightcap-LiveMain live server.
EightcapEU-LiveEU entity, live.
EightcapGlobal-LiveGlobal entity, live.

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.
XAUUSDGold. Check the contract size on the account.
Indices and cryptoUse the account's names; 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": "Eightcap-Demo",
    "name": "Eightcap demo"
  }'

What to watch

  • Eightcap-Live, EightcapEU-Live and EightcapGlobal-Live are different servers; the entity on the account decides.
  • The demo server is shared in the directory entry, but a live account cannot log in to it.
  • Contract sizes and available symbols can differ between entities and account types.
  • Use the exact server from the welcome email; a near match returns an invalid-account error.

Sources