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

# Get Account

`GET /v1/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/accounts/{account_id}`
- Auth: none declared

Return the full state for one paper account: headline, deployments, and
open/closed position tables + the equity breakdown.

Auth: the X-Vega-Key header must resolve to THIS account_id (a key for a
different paper account gets 403 — you can only read your own book).

## Path parameters

- `account_id` integer, required

## Headers

- `x-vega-key` string, 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)
