Theme switcher

Get Account

Header Parameters

Authorizationstring Required

Bearer token issued for your trading account.

Response

200
Object

OK

Response Attributes

loginstring

Login (account number) of your trading account.

emailstring

Your email address.

firstNamestring

Your first name.

lastNamestring

Your last name.

accountTypestring | null

REAL for a live account, DEMO for a demo account that trades with virtual funds.

Enum values:
REALDEMO
currencystring

ISO 4217 code of your account currency.

currencyPrecisioninteger

Number of decimal places to use when displaying monetary values in your account currency.

leverageinteger

Leverage of your trading account, given as the denominator of the ratio - 100 means 1:100.

accessRightstring

Trading permission level of your trading account, not of the token.

  • FULL - all operations allowed.
  • CLOSE_ONLY - your account is in close-only mode.
  • TRADING_DISABLED - no trading operations, read endpoints still work.
  • ACCESS_DISABLED - your account is blocked.

The values UNSPECIFIED and UNKNOWN can also appear.

Enum values:
FULLCLOSE_ONLYTRADING_DISABLEDACCESS_DISABLEDUNSPECIFIEDUNKNOWN
retailboolean

True when your account is classified as retail, false for non-retail.

createTimeinteger

Time your trading account was created.

401
Object

error://trader-api/unauthorized

Response Attributes

pathstring Required

The request path with the actual identifiers filled in, without query parameters.

statusinteger Required

The HTTP status code, the same as the response status.

typestring Required

A stable identifier of the kind of error, in the form error://trader-api/{code}. Base your error handling on this field, not on title or detail.

Enum values:
error://trader-api/unauthorized
titlestring Required

A short, human-readable name of the error. Several types can share the same title.

detailstring Required

A description of this particular occurrence. The wording can change, so never parse it or base logic on it.

additionalInfoobject | null

Extra information as key-value pairs.

403
Object

error://trader-api/forbidden

Response Attributes

pathstring Required

The request path with the actual identifiers filled in, without query parameters.

statusinteger Required

The HTTP status code, the same as the response status.

typestring Required

A stable identifier of the kind of error, in the form error://trader-api/{code}. Base your error handling on this field, not on title or detail.

Enum values:
error://trader-api/forbidden
titlestring Required

A short, human-readable name of the error. Several types can share the same title.

detailstring Required

A description of this particular occurrence. The wording can change, so never parse it or base logic on it.

additionalInfoobject | null

Extra information as key-value pairs.

Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?