Skip to main content
GET
Get a trading account

What this operation does

The API checks access to the login and queries MT5 data. A valid token is not enough if the binding is expired or revoked.

Response fields

A successful response contains only retcode and answer. Within answer, only Login, Registration, LastAccess, Name, FirstName, Balance, and Credit are exposed. Fields missing from MT5 are omitted.

Complete workflow

See the step-by-step guide and errors and their handling. Playground values are examples. Replace the account, symbol, volume, and price with valid data for your integration.

Authorizations

Authorization
string
header
required

Send the provider-issued token in the Authorization header using Bearer authentication.

Path Parameters

login
integer
required

Response

Successful Response

retcode
string
required
answer
AccountData · object
required