---
title: "Posts Trend"
method: POST
path: "/web/posts/trend"
tags: ["web: каталог"]
---

# Posts Trend

`POST /web/posts/trend`

## Request

- Base URL: `https://tgmarket.io` (the document declares no server; this is the origin it was published from)
- URL: `https://tgmarket.io/web/posts/trend`
- Auth: none declared

Динамика упоминаний слова (F-3): постов, каналов и просмотров этих постов по дням.

Ряд строится из агрегата слов (mart.token_posts_daily), а не из постов: год истории — сотни строк.
Глубина — по тарифу (Limits.trend_days: гость 30 дней, Free 90, Premium год, Super всё);
гость видит округлённые числа и без фильтров.

## Request body

- TrendBody
  - `q` string, required
  - `days` integer
  - `group` 'day' | 'week'
  - `languages` string[]
  - `category_ids` integer[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tgmarket/apis/tg-market-api.md) · [All operations](https://skmtc.dev/tgmarket/apis/tg-market-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tgmarket/apis/tg-market-api/revisions/15aba68e1fef?raw)
