---
title: "Get My Account"
method: GET
path: "/v1/me/accounts/{account_id}"
---

# Get My Account

`GET /v1/me/accounts/{account_id}`

## Request

- Base URL: `https://api.quantradin.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quantradin.com/v1/me/accounts/{account_id}`
- Auth: none declared

Return the full state for one paper account.

`closed_limit` / `closed_before` PAGE the closed-trade table, newest
first, cursor by position id — one desk in the 2026-09-22 survey shipped
26.4 MB of the 28.8 MB response as closed trades nobody had asked to see.
OMITTING THEM IS THE DEFAULT AND RETURNS EVERYTHING, so every existing
client is unaffected. OPEN rows are never capped (they are the live book),
`positions.closed_total` always reports the real count, and
`positions.closed_next_cursor` is the id to ask the next page with.

Auth (B10-T1): a valid vega_session cookie (own desk) OR an account key
pair (X-Vega-Account-Key-Id + X-Vega-Account-Secret) that resolves to THIS
account. 401 unauthenticated / bad key; 403 when the desk is not the
caller's (or the key belongs to a different account).

## Path parameters

- `account_id` integer, required

## Query parameters

- `closed_limit` integer, nullable
- `closed_before` integer, nullable

## Response `200`

Successful Response

- AccountState: GET /v1/accounts/{id} — the full account view for the authenticated principal: the account headline, its deployments, and open/closed position tables.
  - `account` AccountSummary, required: One row in GET /v1/accounts — a paper account's headline P&L + counts. Every figure is SIMULATED paper P&L at real quote prices (zero real money).
    - `id` integer, required
    - `name` string, nullable
    - `starting_cash` number, required
    - `equity` number, required
    - `realized` number, required
    - `unrealized` number, required
    - `n_open` integer, required
    - `n_closed` integer, required
    - `n_deployments` integer, required
    - `max_usd_per_trade` number, nullable
    - `max_open_usd` number, nullable
    - `max_sector_frac` number, nullable
    - `max_daily_loss_usd` number, nullable
    - `trading_halted` boolean
    - `trading_halt_reason` string, nullable
    - `trading_halted_by` string, nullable
    - `max_gross_exposure` number, nullable
    - `max_net_exposure` number, nullable
    - `max_positions_per_symbol` integer, nullable
    - `max_correlation` number, nullable
    - `correlation_window_sessions` integer, nullable
    - `desk_position_stop_pct` number, nullable
  - `deployments` object[], required
  - `positions` object, required
  - `equity` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/quantradin/apis/vega-api.md) · [All operations](https://skmtc.dev/quantradin/apis/vega-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quantradin/apis/vega-api/revisions/47add154ef38?raw)
