---
title: "Get Sub User Usage"
method: GET
path: "/sub/{token}/usage"
tags: ["Subscription"]
---

# Get Sub User Usage

`GET /sub/{token}/usage`

Fetches the usage statistics for the user within a specified date range.

## Path parameters

- `token` string, required

## Query parameters

- `period` 'minute' | 'hour' | 'day' | 'month'
- `start` string, date-time, nullable
- `end` string, date-time, nullable

## Response `200`

Successful Response

- UserUsageStatsList
  - `period` 'minute' | 'hour' | 'day' | 'month'
  - `start` string, date-time, required
  - `end` string, date-time, required
  - `stats` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/socialser/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/socialser/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialser/pasarguardapi/revisions/4b082bbcb6c3/schema)
