News8 min readViews: 119

API.MAX for developers and documentation docs.datool.ru

On datool.ru the API works.MAX: MAX channels, statistics by day, and posts in JSON by key. Free Test tariff, webhooks about new posts and documentation docs.datool.ru in Russian and English with examples.

Illustration: Code window with curly brackets { } — API symbol.MAX, through which developers receive MAX channel data with datool.ru

Y datool.ru there is an API.MAX — program access to the same data about MAX channels that the subscriber sees on the site: catalog and channel cards, daily statistics and posts. Requests are set to https://api.datool.ru/v1/, responses are sent in JSON, and login is done using a key from the cabinet. You can try it for free: tariff "API.MAX Test" does not require a subscription.

Documentation started working with the API docs.datool.ru — in Russian and English. It contains a quick start, a directory of all methods with parameters, response fields and code examples, as well as detailed articles about the work of the site itself with screenshots. The API is needed for those who build their service, reports, bot or internal analytics on MAX data and do not want to transfer the numbers manually.

What the API can do.MAX

API methods repeat what the site shows to the subscriber — and nothing more than that:

  • Catalog of channels. Filters by category, territory, number of subscribers, A+ tag and confirmed owner, search by title and name, sort by subscribers, Quality index, Citation index and date of the last post. With parameter ids — up to 100 cards by numbers per request.
  • Channel card. Title, description, avatar, subscribers, categories and territory, tags, Quality index and Citation index, link to the channel page on datool.ru .
  • Channel search by link. By reference max.ru/…, @name or ID in MAX, the method returns the channel number in datool.ru — then they request statistics and posts on it.
  • Statistics by day. Subscribers, posts, views, reactions and advertising posts — up to 100 channels per request, a period of up to 366 days.
  • Posts. Channel feed with 100 pages each, new ones on top, and one post by number: text, views, reactions, ad tag, repost source, attachment previews.
  • Reference books. Categories and territories with Russian and English names are free of charge.

The dates and times in the responses are in Moscow, as on the website. Error texts and captions are in Russian, and with heading Accept-Language: en — in English.

Keys and access

The key is issued in the office datool.ru/cabinet/ , in the "API keys" section: the "Create key" button, the full key is shown once. The key starts with dtk_ and is passed in header Authorization: Bearer dtk_….

  • The key belongs to the organization. The request limit is general: it is spent by the keys of all participants. If a participant has been disconnected, their keys for this organization are revoked.
  • Key rights. By default, the key only reads data. To manage webhooks, you need a key marked "read and write" — it is set at creation.
  • Money and access are not via API. You can't top up your balance, buy a tariff, or issue a new key via the API: a stolen key shouldn't spend the organization's money.

API rates.MAX

Pricing plans are described on the API page. The limit is calculated 30 days after payment:

  • API.MAX Test — 0 ₽: 1,000 requests, 1 request per second, 1 key; channel cards and statistics for the last 30 days, without posts.
  • API.MAX Start — 2,990 rubles per month: 100,000 requests, 5 per second, 2 keys; cards, all statistics and posts.
  • API.MAX Growth — 9,990 rubles per month: 300,000 requests, 10 per second, 5 keys and notifications about new posts.
  • API.MAX Pro — 29,990 rubles per month: 1.5 million requests, 20 per second, 20 keys and the right to show data to your customers.
  • API.MAX Corporate — by agreement: from 5 million requests and database upload.

When paying for 3, 6 and 12 months — 10, 20 and 35% discount. The MAX Analytics Business subscription already includes 10,000 API requests per month with "Start" access. If the limit has expired, the API responds with code 429, and you can purchase a package of 100,000 requests for 990 rubles for 30 days.

API rates.MAX on display datool.ru : "Test", "Start", "Growth", "Pro" and "Corporate"
API rates.MAX on display datool.ru : "Test", "Start", "Growth", "Pro" and "Corporate"

Each request costs 1 unit, and a batch request for statistics on 100 channels is also 1. Reference books and the "who am I" method (/v1/me/) are free. Requests that failed due to our fault (server errors, unavailable database), do not spend the limit.

Webhooks: new posts come by themselves

From the "API.MAX Growth" does not need to poll channel feeds every few minutes. You subscribe your MAX channels to the webhook — and we ourselves send a POST request to your server about each new post, usually 1-2 minutes after you read it.

  • On the "Growth" — 1 webhook up to 500 channels, on the "Pros" — up to 5 webhooks of 5,000 channels.
  • Each delivery is signed with a secret (HMAC) so that your server can verify that the request came from datool.ru .
  • If your server is unavailable, the delivery is repeated within a day.

Details can be found in the article "Webhooks".

Documentation for docs.datool.ru

The documentation is divided into two parts: how to use the site and how to use the API. Both are in Russian and English.

  • Articles about the API. Quick start, keys and authorization, limits and expenses, pagination, filtering and sorting, data formats, errors, webhooks, MCP and the "API Changes" log.
  • Handbook of methods. Each method has an address, a price in units, what is open on the "Test", parameters, response fields with descriptions, examples of a request in Python and curl, an example response, and possible errors.
  • Site guide. Articles about each tab of the channel page, "Mine in MAX", cabinet and tariffs — with screenshots.
  • Convenience. Article search, page table of contents, "Open in Markdown" button — the entire text of the article can be given to the AI assistant.

What the API doesn't return

The API follows the same rules as the site. We don't collect personal correspondence, group chat messages, and comments, so they're not in the API either: the chat only has a card and tags. Posts of closed channels are not issued in the API — only a card. A post deleted in MAX is deleted from our database and is not returned to the API either.

How to try

  1. Log in or register at datool.ru/cabinet/ .
  2. Open "API Keys" and click "Create Key". Save the key — it is displayed once.
  3. Make a free request /v1/me/: in the response — the organization, the tariff and the rest of the requests.
  4. Find the channel you need using the link search method and request statistics by day — there are examples in Quick Start.

Frequent questions

Do I need a subscription to try the API?

No, it's not. The "API.MAX Test" is free and is issued without a subscription: 1,000 requests in 30 days, channel cards and statistics for the last 30 days. Posts and the whole story are opened with the "API.MAX Start".

Is it possible to search for posts by text through the API?

Not yet. The search for the texts of publications in the API is marked on the pricing page as "coming soon" and will cost 5 units per request.

What happens if the requests end prematurely?

The API responds with code 429 and tells you when the limit is updated. You can wait for the start of a new 30-day period or purchase a package of 100,000 requests for 990 rubles. Packages are not sold at the "Test" tariff.

Is it possible to show data datool.ru your customers?

Yes, this right is granted by the API tariff.MAX Pro" and above. At the "Start" and "Growth", the data is intended for your own services and analytics.

The result

The .MAX API opens MAX channel data for your systems, and bilingual documentation helps you get started in a few minutes. Pricing plans and conditions are available on the API page, and descriptions of all methods are available on docs.datool.ru . Read about what else the service can do in the launch news datool.ru .

You are leaving datool.ru

The link leads to an external website. datool.ru is not responsible for its content — check the address before entering passwords or payment details.

Redirecting in 10 s

Go