---
title: "Get account's current details"
method: GET
path: "/trade/accounts/{accountId}/state"
tags: ["Account"]
---

# Get account's current details

`GET /trade/accounts/{accountId}/state`

Get current account state, such as balance, available funds, PnL, etc. Field names can be fetched from /config route.

## Path parameters

- `accountId` integer, required

## Headers

- `accNum` integer, required

## Response `200`

OK

- AccountStateResponse — Account state response
  - `d` AccountDetailsData, required
    - `accountDetailsData` number[]
  - `s` string, required — Status will always be `ok`.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/tradelocker/apis/trading-api.md) · [All operations](https://skmtc.net/tradelocker/apis/trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tradelocker/trading-api/revisions/5b184d9b617c/schema)
