---
title: "Get Account Statistics"
method: GET
path: "/api/v1/account/statistics"
tags: ["Account"]
---

# Get Account Statistics

`GET /api/v1/account/statistics`

Returns historical snapshots of equity, PnL, volume, and ROI. When step is omitted, raw snapshots are returned, otherwise time bucketed by day/week/month. Optional sub_account_address: when set, the result includes only specified subaccount, otherwise all of the user's subaccounts;. Default limit 100, max 1000.

## Query parameters

- `sub_account_address` string, nullable
- `start_time` string, date-time, nullable
- `end_time` string, date-time, nullable
- `step` 'hour' | 'day' | 'week' | 'month', nullable — Temporal resolution for statistics. Single-letter shorthands are allowed(h/d/w/m).
- `limit` integer, nullable
- `sorting_order` 'asc' | 'desc', nullable — Sort direction for account statistics snapshots (older/newer first).

## Response `200`

Account statistics

- GetAccountStatisticsResponse
  - `list` AccountStatistics[], required
    - `equity` string, required
    - `realised_pnl_cum` string, required
    - `roi` string, required
    - `sub_account_address` string, required
    - `timestamp` string, date-time, required
    - `unrealised_pnl` string, required
    - `volume` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/ekidenfi/apis/ekiden-gateway.md) · [All operations](https://skmtc.net/ekidenfi/apis/ekiden-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ekidenfi/ekiden-gateway/revisions/75ffe546b73a/schema)
