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

# Get Statistics

`GET /api/v1/statistics`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/statistics`
- Auth: HTTP bearer

## Query parameters

- `period` string, nullable: day|week|month|year

## Response `200`

Successful Response

- StatisticsResponse
  - `cards` KpiCard[]
    - `key` string, required
    - `title` string, required
    - `value` integer, required
    - `formatted_value` string, required
    - `percent_change` number
    - `is_positive` boolean
    - `icon` string, required
    - `accent` string, required
  - `video_views` ChartPoint[]
    - `label` string, required
    - `value` number, required
  - `user_growth` ChartPoint[]
    - `label` string, required
    - `value` number, required
  - `content_breakdown` BreakdownSlice[]
    - `name` string, required
    - `value` number, required
    - `color` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
