Socketrade

Broker guide · checked 29 November 2026

MT5 API for FBS

FBS runs several MT5 entities, and each one has its own live and demo server. FBS-Demo and FBS-Real are the main pair; Europe, Oceania, Tradestone and TradingSeychelles accounts sit on their own servers and cannot cross over.

Server names

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

FBS-DemoThe main demo server. The safest first connection.
FBS-RealThe main live server.
FBSEurope-RealEurope entity, live only in the directory entry.
FBSOceania-Demo, FBSOceania-RealOceania entity.
FBSTradestone-Demo, FBSTradestone-RealTradestone entity.
FBSTradingSeychelles-Demo, FBSTradingSeychelles-RealSeychelles 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. Contract sizes can differ by account type; check before sizing.
Indices and cryptoUse the platform's names; they vary by entity and account.

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": "FBS-Demo",
    "name": "FBS demo"
  }'

What to watch

  • The entity decides the server. An FBS-Real login is rejected on FBSTradestone-Real even with the right password.
  • Demo and live are separate servers for every entity, so a live account pointed at FBS-Demo fails as an invalid account.
  • A second FBS account of another entity needs its own connection; one API seat covers one MT5 account.
  • Account numbers and passwords are per account, not per client area login.

Sources