Developer Portal

My AccountsGET

Returns a summary list of accounts (portfolios) owned by the authenticated profile. The summary contains balance, unrealized PnL, used margin, status and risk flags, but excludes positions and orders.

View as Markdown
GET
/profiles/me/accounts

Authorization

AuthorizationRequiredBearer <token>

JWT token obtained from the login endpoint

In: header

curl -X GET "http://localhost:8081/api/v1/profiles/me/accounts" \
  -H "Authorization: Bearer <token>"

Accounts retrieved successfully

[
  {
    "account_id": "10034",
    "currency": "EUR",
    "balance": 9900.8,
    "credit": 500,
    "unrealized_pnl": 9093.48,
    "used_margin": 1016.17,
    "in_margin_call": false,
    "in_stop_out": false,
    "status": "TRADE_STATUS_FULL",
    "is_demo": false
  }
]