Filters are passed as query string parameters. Several filters at once are combined (AND).
Channel catalog — GET /v1/max/channels/
Parameter
What it does
q
Search: a substring of the title or handle (from 3 characters), a max.ru/… link or a @handle — exact match
category
Comma-separated category codes from the directory, up to 10: a channel whose primary or additional categories include at least one of them (news,sport)
territory
Territory code from the directory — including child nodes (Moscow is found by the Central Federal District code too)
kind
channel — channels (default), chat — group chats
subscribers_min, subscribers_max
At least / at most this many subscribers
a_plus
true — only with the A+ mark, false — without it
verified
true — only owner-verified, false — unverified
gov
true — only government channels (a handle like id<TIN>_gos), false — none of them
posted_within_days
The last post is no older than this many days: 1–3650 (7 — posted within a week)
quality_min
Quality index at least: 0–100; channels without a calculated index are left out
ids
Up to 100 comma-separated numbers — cards in request order; other filters and pagination don’t apply then
Catalog sorting — ordering
Always descending:
Value
Order
-subscribers
More subscribers first (default)
-quality
Higher quality index
-citation
Higher citation index
-last_post_at
More recent last post
Channels without a value (for example, without a quality index) come last.
The -quality and -citation orderings are available on API.Max plans from “Start” and with a “Premium” or “Business” subscription. The free “Test” plan gets 403 tariff_required: ordering by an index is a rating, and full ratings require a subscription. The indexes in the channel card and the quality_min filter are open to everyone.
Channel posts — GET /v1/max/channels/{channel}/posts/
Parameter
What it does
from, to
Publication period: days as YYYY-MM-DD in Moscow time, both inclusive
is_ad
true — advertising posts only, false — without advertising
Daily statistics — GET /v1/max/stats/daily/
Parameter
What it does
channels
Required: up to 100 comma-separated channel numbers
from, to
Inclusive period, the last 30 days by default; no longer than 366 days, channels × days — no more than 10,000; numbers that don't exist or are closed are listed in the not_found field, the rest are returned
Territory directory — GET /v1/max/territories/
Parameter
What it does
parent
A node code — only its direct children
kind
Only nodes of a level: country, district, region, world (“Worldwide”)
Parameter values
Yes / no: true or false (also 1 / 0, yes / no).
An invalid value or an unknown category or territory code — response 400 with the error under the parameter name.
We use cookies
Necessary cookies keep the site working and secure: sign-in, form protection, language, theme and others. Yandex Metrica analytics cookies and Yandex Advertising Network ad cookies are enabled only with your consent. By clicking “Accept all” you give consent to processing of cookie data; see the Personal Data Processing Policy for details.