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

# Search Posts

`POST /web/posts/search`

## 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/search`
- Auth: none declared

Лента постов (F-8). Глубина — по тарифу: posts_days (0 = весь архив).

## Request body

- PostsBody
  - `query` PostQuery, required: Поиск по постам (F-8): текст обязателен, фильтры по свойствам канала.
    - `q` string, required
    - `days` integer
    - `channel_id` integer, nullable
    - `languages` string[]
    - `category_ids` integer[]
    - `subscribers_min` integer, nullable
    - `sort` 'date' | 'views'
  - `cursor` string, nullable

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