# Telegram Channel Scraper - Posts, Search & AI Digest (`helenisapi/telegram-channel-scraper`) Actor

Scrape public Telegram channels without login: posts with text, views, reactions, media and links, exact subscriber counts, keyword search and an AI digest per channel. 📣

- **URL**: https://apify.com/helenisapi/telegram-channel-scraper.md
- **Developed by:** [Helenis API](https://apify.com/helenisapi) (community)
- **Categories:** Social media, AI, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.80 / 1,000 channel info

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/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 - Posts, Search & AI Digest

**Export the posts of any public Telegram channel to a clean table, without a Telegram account.** Paste channel names and get every post with its **text**, **date**, **views**, **reactions**, **photos and videos**, **links**, **hashtags** and **forwards**, plus each channel's **exact subscriber count**. Search inside channels by keyword, stop at a date, and add an **AI digest** that summarises what each channel said, in your language.

No login, no phone number, no API key: paste channels and hit **Run**.

***

### ⚡ Why this actor?

- 🔓 **No account, no ban:** it reads the public preview Telegram publishes for every public channel (t.me/s/), so there is no session to lose.
- 📰 **Complete posts:** text with line breaks, views, every reaction with its count, photos, videos, documents, polls, link previews, replies and forwards.
- 👥 **Real audience numbers:** the exact subscriber count (9,879,809, not "9.88M"), verified badge, media counters and latest post date.
- 🔎 **Search:** only the posts that mention your keyword or #hashtag, in any language.
- 📅 **Time windows:** stop at a date to get "everything since Monday".
- 🧠 **AI digest:** summary, main topics, key facts, sentiment score and important links of each channel, written in English, French, Spanish... whatever the channel's language. Every fact points to a real post.
- 💸 **Cheap:** pay per post, per profile and per digest; channels that cannot be read are free.

***

### 📊 What data do you get?

Rows of three types, with a ready-made view for each.

**Posts** (`type: "post"`):

| Field | Description | Example |
|---|---|---|
| `channel` / `postId` / `url` | Post | `durov` / `570` / `https://t.me/durov/570` |
| `date` | Publication date (UTC) | `2026-11-23T21:00:12+00:00` |
| `text` | Text, line breaks kept | `🎉 Jensen's back.` |
| `views` | Views | `780000` |
| `reactionsTotal` / `reactions` | Reactions, total and by emoji | `64350` |
| `mediaTypes` / `media` / `image` | Photos, videos, documents... and their links | `["video"]` |
| `links` / `hashtags` | Web links and hashtags of the post | `["https://t.me/pride"]` |
| `linkPreviewUrl` / `linkPreviewTitle` | Link preview card | |
| `poll` | Question, options and percentages | |
| `forwardedFrom` / `replyTo` / `edited` | Forward source, answered post, edited flag | |

**Channels** (`type: "channel"`): `title`, `description`, `subscribers` (exact), `verified`, `photo`, `counters` (photos, videos, files, links), `lastPostId`, `lastPostDate`, `previewAvailable`.

**AI digests** (`type: "digest"`): `summary`, `topics` (with their post ids), `keyFacts` (with their source post), `sentiment` and `sentimentScore` (-1 to 1), `importantLinks`, `stats` (posts per day, average views, top posts).

***

### 🚀 How to use it

1. Paste **channels**: `durov`, `@telegram`, or `https://t.me/s/bbcrussian`, one per line.
2. Set **Max posts per channel** (0 for profiles only).
3. Optionally add a **search keyword** or a **since** date.
4. Turn on **AI digest** and pick its language for a briefing of each channel.
5. Click **Run**, then export the table.

#### Input example

```json
{
  "channels": ["durov", "bbcrussian"],
  "maxPostsPerChannel": 50,
  "since": "2026-11-01",
  "aiDigest": true,
  "digestLanguage": "English"
}
```

#### Output example

```json
{
  "type": "post",
  "channel": "durov",
  "channelTitle": "Pavel Durov",
  "postId": 567,
  "url": "https://t.me/durov/567",
  "date": "2026-11-20T20:47:30+00:00",
  "text": "I was offered $256,000 for the @pride username on Telegram.\n\nI don’t need the username.\n\nBut if I sell, does that mean I sold my pride? 🤔",
  "views": 1550000,
  "reactionsTotal": 90500,
  "mediaTypes": [],
  "links": ["https://t.me/pride"],
  "hashtags": [],
  "edited": true
}
```

```json
{
  "type": "digest",
  "channel": "bbcrussian",
  "language": "English",
  "summary": "The channel covers ongoing military developments in the Russia-Ukraine war, including attacks on infrastructure and diplomatic efforts for peace...",
  "topics": [{ "name": "Russia-Ukraine War", "summary": "...", "post_ids": [101774, 101776] }],
  "keyFacts": [{ "fact": "Alexander Sokurov was excluded from the Russian Presidential Council for Human Rights.", "post_id": 101779 }],
  "sentiment": "negative",
  "sentimentScore": -0.8
}
```

Available as **JSON**, **CSV**, **Excel**, or via the **Apify API** and **dataset exports**.

***

### 💰 Pricing

| Event | When |
|---|---|
| 👥 Channel info | Each channel profile |
| 📰 Post | Each post scraped |
| 🧠 AI digest | Each AI digest of a channel |

> 🆓 On the Apify **free plan**, each run returns the first 100 posts and 1 AI digest.

Channels that cannot be read (unknown, private, groups, bots) are not charged. The run stops cleanly when your spending limit is reached.

***

### 💡 Use cases

- 🌍 **News and OSINT:** follow Russian, Ukrainian, Iranian or Arabic channels and read the digest in English.
- 📈 **Crypto and trading:** watch announcement channels and whale alerts, search for a ticker.
- 🏷️ **Brand monitoring:** find every post that mentions your brand or product.
- 📢 **Ad buying and influencer research:** compare channels by exact subscribers, views and activity.
- 🧪 **Research:** export a channel's history with its engagement for analysis.

***

### ❓ FAQ

**Do I need a Telegram account?**
No. The actor reads the public web preview Telegram publishes for public channels.

**Which channels work?**
Public channels with a username whose web preview is on, which is most of them. Private channels, invite links, groups, bots and people cannot be read: they get an error row and are not charged. A channel with its preview turned off still gets its profile row.

**Are media links permanent?**
No, they are Telegram CDN links valid for hours to days: download what you want to keep.

**Can the AI digest make things up?**
It is told to use only the posts, and every topic, fact and link is checked against them: unknown post ids and links that are not in a post are removed. It never writes contact details.

***

### 🤖 Use it from an AI agent

Add this actor to **Claude, ChatGPT, Cursor, VS Code** or any MCP client with one URL (sign in with your Apify account):

```
https://mcp.apify.com?tools=helenisapi/telegram-channel-scraper
```

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: `ApifyActorsTool("helenisapi/telegram-channel-scraper")` in LangChain or CrewAI; in **n8n**, **Make** or **Zapier**, use the Apify app and pick this actor.

***

### 🌐 Also available as an API

The same engine is sold as a REST API on RapidAPI as **Telegram Channel Scraper - Posts & AI Digest** by **Helenis API**, with single posts, polling for new posts and bulk channel profiles.

***

### 🔒 Privacy

The actor reads public channels only and returns what their owners published. It extracts no e-mail or phone fields and no author signatures. Posts sent to the AI digest are processed by our AI provider and not stored by Helenis.

# Actor input Schema

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

Public Telegram channels to scrape, one per item: username, @handle or t.me link, e.g. \["durov", "@telegram", "https://t.me/durov"]. Required. Up to 500 channels, duplicates removed. Private channels, groups and bots cannot be read: they get an error row and are not charged.

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

Newest posts to scrape from each channel, 0-10,000. Default 20. 0 returns the channel profile only. With `since`, a channel stops earlier at that date. Apify free plan: 100 posts per run.

## `searchQuery` (type: `string`):

Only return posts matching these words or this #hashtag (Telegram's own search inside each channel), e.g. "bitcoin" or "#update". Leave empty for every post. When set, `since` is ignored and the keyword is also passed to the AI digest.

## `since` (type: `string`):

Oldest post date to keep, as YYYY-MM-DD, e.g. "2026-11-01": each channel stops at its first older post. Leave empty to stop only at `maxPostsPerChannel`. Ignored when `searchQuery` is set.

## `includeChannelInfo` (type: `boolean`):

When true (default), adds one row per channel (type "channel") with its title, description, exact subscriber count, verified badge, media counters and latest post; one channel-info event each. When false, only posts (and digests) are returned.

## `aiDigest` (type: `boolean`):

When true, adds one AI digest row per channel (type "digest"): summary, main topics, key facts, sentiment score (-1 to 1) and important links of its latest posts, written in `digestLanguage`; one ai-digest event each (Apify free plan: 1 per run). Default false.

## `digestLanguage` (type: `string`):

Language the AI digest is written in, whatever the channel's language, e.g. "English", "French" or "Spanish". Default "English". Used only when `aiDigest` is true.

## `digestPosts` (type: `integer`):

How many of each channel's latest posts the AI digest reads, 5-100. Default 30. Used only when `aiDigest` is true.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 20,
  "includeChannelInfo": true,
  "aiDigest": false,
  "digestLanguage": "English",
  "digestPosts": 30
}
```

# Actor output Schema

## `posts` (type: `string`):

No description

## `channels` (type: `string`):

No description

## `digests` (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("helenisapi/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("helenisapi/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 helenisapi/telegram-channel-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,helenisapi/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/nOfoudPmgpTXgwncB/builds/mdqY9LhieWt9NIKP1/openapi.json
