Broker guide · checked 29 November 2026
MT5 API for ThinkMarkets
ThinkMarkets keeps it simple: one demo server and one live server. That simplicity is also the trap, because a live login pointed at the demo server fails exactly like a wrong password.
Server names
Use the exact name MetaTrader shows. A wrong server is the most common connection failure.
| ThinkMarkets-Demo | Demo. The safest first connection. |
| ThinkMarkets-Live | Live accounts. |
Symbols and contract sizes
The same name does not always mean the same size. Check the contract before you set a lot.
| EURUSD | Standard spelling. Confirm it in Market Watch. |
| XAUUSD | Gold. Check the contract size on the account. |
| Indices and crypto | Use the account's names. |
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": "ThinkMarkets-Demo",
"name": "ThinkMarkets demo"
}'What to watch
- There is no numbered variant: the entity is baked into the account, not the server name.
- Demo and live are separate; a live account on ThinkMarkets-Demo returns an invalid-account error.
- If the server does not appear in MetaTrader, open File → Open an Account, find ThinkMarkets and add the server there.
- Check the contract size for gold before sizing; it is not the same at every broker.