# Telegram Channel Scraper with Audience Analytics (`anatolia-data/telegram-channel-scraper`) Actor

Scrape posts from any public Telegram channel — text, views, reactions, media, links, forwards — plus a channel report with view rate (ERR), engagement, posting frequency and sponsored-post share. No login, no API key.

- **URL**: https://apify.com/anatolia-data/telegram-channel-scraper.md
- **Developed by:** [Oğulcan Katmer](https://apify.com/anatolia-data) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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 Scraper with Audience Analytics

Export posts from any public Telegram channel — and get the audience numbers ad buyers check before they pay.

Most Telegram scrapers hand you a list of messages. This one also tells you what the channel is *worth*: how many subscribers actually see a post, how much they react, how often the channel posts and how much of its feed is already paid placements.

No login, no API key, no phone number, no bot token. It reads the public web preview Telegram publishes for every public channel at `t.me/s/<channel>`.

### What you get

#### Per post

| Field | Description |
|---|---|
| `text` | Full post text with line breaks kept |
| `date`, `url`, `postId` | When it was posted and a direct link |
| `views` | View count as Telegram shows it |
| `reactions`, `reactionsTotal` | Every reaction with its count — including paid ⭐ Star reactions and custom emoji |
| `mediaType`, `mediaCount`, `photoUrls`, `videoUrls` | Photo, video, album, document, poll, voice, sticker… |
| `linkPreview`, `links`, `linkDomains` | Links in the post and the site they point to |
| `hashtags`, `mentionedChannels` | #tags and the @channels the post promotes |
| `isForwarded`, `forwardedFrom` | Where a forwarded post came from |
| `isSponsored` | The post is marked as a paid placement (#ad, sponsored, #реклама, erid, #reklam…) |
| `poll`, `document` | Poll question and results; file name and size |
| `author`, `isEdited`, `replyToPostId` | Signature, edit flag and the post it replies to |

#### Per channel — one report record

- **Exact subscriber count** — read from the channel page, not the rounded "10.6M" shown in the preview
- **View rate (ERR)** — average views as a share of subscribers. Posts younger than 48 hours are left out, because they are still collecting views
- **Engagement rate** — reactions per view
- **Posting frequency** — posts per day and per week, date of the last post, active or dormant
- **Sponsored-post share** — how much of the feed is paid placements
- **Busiest posting hours and weekdays** (UTC)
- **Media mix** — text vs photo vs video vs album
- **Top linked websites, top hashtags and top 5 posts**
- **Related channels** — the channels this one mentions and forwards from most. Run them next to map a whole niche
- Title, description, verified / scam / fake labels, total photos, videos, files and links

### Input

```json
{
  "channels": ["durov", "https://t.me/telegram"],
  "maxPostsPerChannel": 100,
  "sinceDate": "30 days",
  "includeChannelReport": true
}
```

Any form of channel reference works: `durov`, `@durov`, `t.me/durov`, `https://t.me/s/durov` or a link to one of its posts.

#### Filters

- `sinceDate` / `untilDate` — a date (`2026-01-31`) or a period (`7 days`, `2 weeks`, `3 months`)
- `keywords` — only return posts containing any of these words
- `sponsoredOnly` — only paid placements: the quickest way to see who advertises in a niche and where
- `maxPostsPerChannel: 0` — channel reports only, for vetting a long list of channels quickly

### Common uses

- **Buying Telegram ads** — compare view rate, engagement and ad load across candidate channels before you pay
- **Competitor and brand monitoring** — schedule a daily run with `sinceDate: "1 day"` and a keyword list
- **Finding advertisers** — `sponsoredOnly` across a niche's channels shows who is spending
- **Niche mapping** — follow `relatedChannels` to discover the channels around a topic
- **Research and AI datasets** — clean post text with dates, engagement and links

### Two things this scraper is honest about

**Counts are as precise as Telegram shows them.** The preview page rounds views and reactions ("18.9M", "7.84K"). Those are converted to numbers, never padded with false precision. Subscriber counts are exact.

**Unreadable channels say why.** Groups, bots, personal accounts, channels that turned the web preview off and names that do not exist each come back as a `status` record explaining the reason, instead of an empty result.

### Notes and limits

- Public channels only. Groups, private channels and invite-only links have no public web preview.
- Comments are not included — Telegram does not publish them in the preview.
- Telegram's own sponsored messages are not in the preview; `isSponsored` covers ads the channel itself posts.
- Only public data is collected. No member lists, no phone numbers, no private messages.
- Independent tool. Not affiliated with, endorsed by, or connected to Telegram.

### Pricing

Pay per post returned, plus a small fee per channel report. Status records for unreadable channels are free. You can cap spend per run with **Max cost per run** in the Apify Console — the scraper stops cleanly when it reaches your limit.

### Support

Something missing or wrong? Open an issue on the **Issues** tab with the input you used and the run ID.

# Actor input Schema

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

One channel per line. Any form works: durov, @durov, t.me/durov, https://t.me/s/durov or a link to one of its posts. Public channels only — private invite links (t.me/+…) have no public preview.

## `startUrls` (type: `array`):

Same as above, for long lists loaded from a file or another Actor.

## `maxPostsPerChannel` (type: `integer`):

How far back to read, newest first. Telegram serves 20 posts per page. Set 0 to get only the channel report.

## `sinceDate` (type: `string`):

Stop at posts older than this. A date (2026-01-31) or a relative period: 7 days, 2 weeks, 3 months, 1 year.

## `untilDate` (type: `string`):

Skip posts newer than this. Same formats as above.

## `keywords` (type: `array`):

Only return posts containing at least one of these words (case-insensitive). The channel report still covers every post scanned.

## `sponsoredOnly` (type: `boolean`):

Only return posts the channel marked as paid placements (#ad, sponsored, #реклама, erid and similar). Useful for finding who advertises where.

## `includeChannelReport` (type: `boolean`):

One record per channel: exact subscriber count, view rate (ERR), engagement rate, posts per day, sponsored-post share, busiest hours, top links, related channels and top posts.

## `proxyConfiguration` (type: `object`):

Apify Proxy is recommended when scraping many channels at once.

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

How many channels are read at once.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "startUrls": [],
  "maxPostsPerChannel": 100,
  "sponsoredOnly": false,
  "includeChannelReport": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 5
}
```

# Actor output Schema

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

Every scraped post, followed by the channel report and any status records.

## `overview` (type: `string`):

Open the dataset in a table view.

# 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("anatolia-data/telegram-channel-scraper").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("anatolia-data/telegram-channel-scraper").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 anatolia-data/telegram-channel-scraper --silent --output-dataset

```

## MCP server setup

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

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/004r0jdkAswInYGhw/builds/p54BLn6c7kSLISHrI/openapi.json
