---
title: "Top Plans"
method: GET
path: "/api/v1/catalog/top-plans"
tags: ["api", "api", "catalog"]
---

# Top Plans

`GET /api/v1/catalog/top-plans`

## 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/catalog/top-plans`
- Auth: HTTP bearer

## Query parameters

- `limit` integer

## Response `200`

Successful Response

- CatalogPlan[]
  - `id` string, required
  - `title` string, required
  - `description` string
  - `price` integer
  - `is_active` boolean
  - `counts` ResourceCounts
    - `exercise` integer
    - `video` integer
    - `audio` integer
    - `image` integer
  - `subscribers_count` integer
  - `my_subscription` TypeSubscriptionInfo: Bitta tur (yoki maxsus obuna) bo'yicha obuna — joriy foydalanuvchiniki yoki obunachiniki.
    - `type` string, required
    - `plan_id` string, nullable
    - `plan_title` string, nullable
    - `price` integer
    - `expires_at` string, date-time, required
    - `auto_renew` boolean, required
    - `is_active` boolean, required
  - `image` string
  - `subject_id` integer, nullable
  - `subject_name` string
  - `author_id` integer, required
  - `author_name` string
  - `created_at` string, date-time, nullable

## 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)
