---
title: "Get unique usage statistics for user account."
method: GET
path: "/v1/account/usage"
tags: ["Account"]
---

# Get unique usage statistics for user account.

`GET /v1/account/usage`

For given account get list of usages for all sites per day.

## Query parameters

- `date_from` string — Earliest date to show results for. Format YYYY-MM-DD with optional Thh:mm:ss.mmmZ
- `date_to` string — Latest date to show results for. Format YYYY-MM-DD with optional Thh:mm:ss.mmmZ

## Response `200`

OK

- GetAccountUsageResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` object
    - `usage` object[]
      - `visitors` integer
      - `disk` integer
      - `bandwidth` integer
      - `site_id` integer
    - `totals` object
      - `visitors` integer
      - `disk` integer
      - `bandwidth` integer
    - `limits` object
      - `bandwidth` integer
      - `disk` integer
      - `visitors` integer

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `404` — Given site not found for user
- `405` — Invalid input
- `500` — Internal error

---

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