Socketrade

Broker guide · checked 29 November 2026

MT5 API for Razor

Razor accounts connect like any other MT5 account. The detail that catches people is the .mic suffix on the NASDAQ symbol: it is a smaller contract than the plain index, so a lot size copied from another broker can be wrong.

Server names

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

RazorMarkets-LiveLive accounts.
Demo serverUse the exact name on the demo account card; it differs from the live server.

Symbols and contract sizes

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

.USTECH.micMicro NASDAQ 100. Confirm the contract size in the account's symbol parameters before sizing a lot.
XAUUSDGold. Confirm the contract size for this account type.
Other symbolsUse the broker's own names; open the account in the dashboard to read the full symbol list.

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": "4078301",
    "accountPassword": "your-password",
    "accountServerHost": "RazorMarkets-Live",
    "name": "Razor live"
  }'

What to watch

  • The .mic suffix is not cosmetic. It marks a smaller contract, so the same lot number is a different exposure.
  • Symbol names can differ from other brokers. Read the account's symbol list rather than hard-coding a name.
  • Check the account currency before showing a total. Do not add ZAR and USD balances together.
  • A wrong server name returns an invalid-account error. Use the exact name from MetaTrader.