Back to home

MetaAPI Docs

Quick Start

The fastest path from account registration to the first successful RPC call using a per-terminal auth token.

Five-Step Path

  1. Register an account and log in to the console.
  2. Install the DLL and EA into the correct MT4 or MT5 folders.
  3. Create one auth_token for this terminal and set an expiry if needed.
  4. Attach the EA to a chart, enable DLL imports, and paste the same auth_token into the EA settings.
  5. Use the same auth_token in your external app when calling local /rpc.

Minimal Smoke Test

POST /rpc HTTP/1.1
Host: 127.0.0.1:6000
Authorization: Bearer <auth_token>
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": "account-1",
  "method": "get_account_info",
  "params": {}
}

Next Pages