# Telegram Channel Analytics & Ad Audit (`datakit_lab/telegram-channel-analytics`) Actor

Audit any public Telegram channel before buying ads: exact subscribers, average & median views, reach %, engagement rate, posting frequency, share of ad posts, best hours and top posts. Bulk, no login, no API key.

- **URL**: https://apify.com/datakit_lab/telegram-channel-analytics.md
- **Developed by:** [DataKit Lab](https://apify.com/datakit_lab) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Telegram Channel Analytics & Ad Audit

Check any **public Telegram channel** in seconds before you buy an ad, sign an influencer or add it to a media list. One clean report per channel: **exact subscribers, average and median views, reach %, engagement rate, posting frequency, share of ad posts, best hours to post and top posts.**

Paste a list of channels — get one table you can sort and filter. **No Telegram account, phone number, bot token or API key needed.**

### Why use it?

- 💸 **Don't overpay for Telegram ads.** A channel with 500K subscribers and 8K views per post has 1.6% reach — you'll see it immediately.
- 🕵️ **Spot dead or inflated channels**: low reach %, zero reactions, long time since the last post.
- 📣 **See how much advertising a channel already runs** — share of ad posts and the latest ad post (detects the Russian legal label `Реклама` / `erid`, «Партнёрский материал», `#реклама`, `#ad`, `#sponsored`, "paid partnership" and erid tracking links).
- 🗓 **Know when to post** — the most active hours/weekdays and the hours with the highest average views (UTC).
- 📊 **Bulk competitor & influencer research** — compare dozens of channels in one table.

### What you get for each channel

| Field | Meaning |
|---|---|
| `subscribers`, `subscribersExact` | Subscriber count; `subscribersExact: false` means only the rounded value (e.g. 9.98M) was available |
| `title`, `description`, `verified`, `avatarUrl` | Channel profile |
| `photosCount`, `videosCount`, `linksCount` | Media counters from the channel page |
| `postsAnalyzed`, `periodFrom`, `periodTo` | Which posts the statistics are based on |
| `avgViews`, `medianViews`, `maxViews`, `minViews`, `viewStatsPosts` | Views per post. Posts younger than 24 h are excluded (they are still collecting views) when at least 5 older posts exist |
| `reachRatePercent` | Median views ÷ subscribers × 100 — the real audience share |
| `avgReactions`, `engagementRatePercent` | Reactions per post; reactions ÷ views × 100 |
| `postsPerDay`, `lastPostDate`, `daysSinceLastPost` | Activity (posts per day over the analysed period, at least 1 day) |
| `adPostsPercent`, `adPostsCount`, `lastAdPostUrl` | Advertising load |
| `forwardsPercent`, `mediaPostsPercent`, `externalLinkPostsPercent`, `avgTextLength` | Content mix |
| `topHashtags` | Most used hashtags |
| `mostActiveHoursUtc`, `bestHoursByViewsUtc`, `mostActiveWeekdays` | Timing |
| `topPosts` | 3 posts with the most views (URL, date, views, reactions, text preview) |

### Input example

```json
{
  "channels": ["durov", "https://t.me/telegram", "@rozetked"],
  "postsToAnalyze": 100
}
```

### Output example

Real output (run of 16 Nov 2026, channel `rozetked`, 100 posts analysed; `topPosts` shortened):

```json
{
  "channel": "rozetked",
  "url": "https://t.me/rozetked",
  "title": "Rozetked",
  "verified": true,
  "subscribers": 645100,
  "subscribersExact": true,
  "postsAnalyzed": 100,
  "viewStatsPosts": 95,
  "periodFrom": "2026-11-04T10:06:48.000Z",
  "periodTo": "2026-11-15T16:00:41.000Z",
  "daysSinceLastPost": 0.4,
  "postsPerDay": 8.8,
  "avgViews": 104318,
  "medianViews": 106000,
  "reachRatePercent": 16.43,
  "avgReactions": 1021.5,
  "engagementRatePercent": 0.979,
  "adPostsPercent": 3,
  "adPostsCount": 3,
  "lastAdPostUrl": "https://t.me/rozetked/27980",
  "forwardsPercent": 0,
  "mediaPostsPercent": 97,
  "externalLinkPostsPercent": 67,
  "mostActiveHoursUtc": [
    "16",
    "14",
    "10"
  ],
  "bestHoursByViewsUtc": [
    "04",
    "18",
    "11"
  ],
  "mostActiveWeekdays": [
    "Friday",
    "Thursday",
    "Wednesday"
  ],
  "topPosts": [
    {
      "url": "https://t.me/rozetked/27933",
      "date": "2026-11-08T18:30:58.000Z",
      "views": 120000,
      "reactions": 3116,
      "text": "Энтузиаст создал скрипт, отправляющий Сэму Альтману письмо с..."
    }
  ]
}
```

Export as **JSON, CSV, Excel, XML or HTML**, or use the Apify API, webhooks and integrations (Google Sheets, Zapier, Make, n8n…).

### Pricing

**Free during launch** — you pay only the small Apify platform usage of your runs (well under $0.001 per channel). **Pay-per-report pricing is coming soon** (planned around $0.04 per channel report, the number of analysed posts does not change it); Apify will notify users of the Actor at least 14 days before the price applies. Channels that don't exist or are private are skipped.

Need the raw posts too? Use our **Telegram Channel Posts Scraper**.

### Notes

- Views on Telegram's web preview are rounded for big numbers (`7.92M`); averages are calculated from these values.
- Hours are in **UTC**.
- Ad detection is a heuristic based on public labels and tracking links; unlabeled native ads can't be detected.
- Works with public channels that have a web preview (`t.me/s/<channel>`). Groups and private channels are skipped.
- Only public channel data is collected — no member lists, phone numbers or personal data.

### Русский

Аудит публичных Telegram-каналов перед покупкой рекламы: точное число подписчиков, средние и медианные просмотры, охват (ERR), вовлечённость, частота постов, доля рекламы (маркировка «Реклама»/erid), лучшие часы и топ-посты. Без аккаунта и телефона, на время запуска бесплатно (платите только за работу сервера Apify), позже — оплата за отчёт по каналу.

### Support

Questions or feature requests — open an issue on the **Issues** tab, we check issues twice a week.

# Actor input Schema

## `channels` (type: `array`):

Public Telegram channels to audit: usernames (durov, @durov) or links (https://t.me/durov). One report per channel.

## `postsToAnalyze` (type: `integer`):

How many of the newest posts are used for the statistics (5–500). More posts = more stable averages; the price per report is the same.

## `maxConcurrency` (type: `integer`):

How many channels to analyse at the same time (1–5).

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "postsToAnalyze": 50,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channels": [
        "durov",
        "telegram"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datakit_lab/telegram-channel-analytics").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "channels": [
        "durov",
        "telegram",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datakit_lab/telegram-channel-analytics").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channels": [
    "durov",
    "telegram"
  ]
}' |
apify call datakit_lab/telegram-channel-analytics --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datakit_lab/telegram-channel-analytics"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aseuC4du1UljzhzyQ/builds/U5xJvi7uqmSLknpxh/openapi.json
