# Telegram Channel Scraper: Posts, Views & Reactions (`adhistory/telegram-channel-posts-scraper`) Actor

Telegram channel scraper for public channels at $0.35 per 1,000 posts, no login or API key. Text, date, views, reactions, links, hashtags, media type and subscriber count, plus how each post did against the channel median. Filter by keyword, date and minimum views, or get only new posts each day.

- **URL**: https://apify.com/adhistory/telegram-channel-posts-scraper.md
- **Developed by:** [Brandon Ob](https://apify.com/adhistory) (community)
- **Categories:** Social media, News
- **Features:** Limited permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 telegram post delivereds

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: Posts, Views & Reactions

This Telegram channel scraper exports the **public posts of any Telegram channel** to JSON, CSV or Excel at **$0.35 per 1,000 posts**, with no login, phone number or API key. Every post comes with its text, date, views, reactions, links, hashtags and media type, and with **analysis other scrapers leave to you**: how the post did against that channel's median post, its view rate against the subscriber count, and the weekday and hour it went out.

### What does Telegram Channel Scraper do?

- Reads the public web preview of a channel (`t.me/s/<channel>`), the page anyone can open in a browser without an account.
- Walks back through the channel, newest post first, up to the number of posts or days you ask for.
- Returns one row per post: `text`, `date`, `views`, `reactions` (and `reactionsTotal`), `links`, `hashtags`, `mentions`, `emails`, `forwardedFrom`, `replyToPostId`, link-preview title, photo/video/document/poll flags and `edited`.
- Adds the channel's `channelSubscribers`, title and verified flag to every row.
- **Analysis included at no extra charge:** `viewsVsMedian` (1.5 = 50% above the channel's typical post), `viewsRank`, `viewRatePercent` (views / subscribers), `reactionRatePercent`, `weekday`, `hourUtc`, `ageDays`.
- Filters by keyword, date and minimum views, and has an **only new posts** mode for daily schedules.

### Export Telegram channel posts with views

Give it a channel name and it returns the channel's posts as rows: one row per post, newest first, with the **Telegram views** count of each post, its reactions and the date. Download them as CSV or Excel, or send them to Google Sheets. Use `minViews` to keep only posts above a views threshold, or sort by `viewsVsMedian` to find the posts that beat the channel's usual reach.

### Track Telegram post views over time

Views on a Telegram post keep growing for days after it goes out. Schedule the same input daily (with `postedWithinDays: 7`) and each run records the current views of every recent post, so you can chart how fast a channel's posts gain views and compare channels.

### Use cases

- **Competitor and market monitoring:** follow what the channels in your niche post, and which of their posts got far above their normal views.
- **Crypto, news and deal research:** find every post that mentions a token, product or brand (`searchText`) across a list of channels.
- **Content planning:** see which weekday, hour and format gets the most views in a channel.
- **Lead and partnership research:** pull the `mentions`, `links` and `emails` that channels publish in their posts.
- **Datasets and alerts:** archive channels to a spreadsheet, or run daily with "only new posts" and forward the new rows to Slack or email.

### How to use it

1. Add one or more channels: `durov`, `@telegram` or `https://t.me/telegram`.
2. Optional: set how many posts per channel, "posted within N days", search text or a minimum number of views.
3. Click **Start**. Open the **Posts** view, or download JSON, CSV or Excel.
4. For a daily feed, save the input as a task, tick **Only posts not seen in an earlier run** and add a schedule.

### Input

| Field | What it does |
|---|---|
| `channels` | Public channels: username, @username or t.me link. Type `sample` to try a bundled example page. |
| `maxPostsPerChannel` | Newest posts first (default 100). About 20 posts per page load. |
| `postedWithinDays` | Stop at posts older than this. |
| `searchText` | Keep posts containing all these words (case-insensitive). |
| `minViews` | Keep only posts with at least this many views. |
| `onlyNewSinceLastRun` | Skip posts returned in earlier runs of your account. |
| `includeHtml` | Add the formatted HTML of the post text. |
| `maxItems` | Hard stop across all channels. You pay per post delivered. |

### Output example

| channel | postId | date | views | viewsVsMedian | reactionsTotal | hashtags | channelSubscribers |
|---|---|---|---|---|---|---|---|
| durov | 551 | 2026-10-10 | 2,180,000 | 0.5 | 122,600 | | 10,100,000 |
| durov | 548 | 2026-09-11 | 4,160,000 | 0.95 | 79,900 | | 10,100,000 |
| telegram | 460 | 2026-08-26 | 2,390,000 | 1.34 | | | 9,160,000 |

```json
{
  "channel": "durov", "postId": 552, "url": "https://t.me/durov/552", "date": "2026-10-11T14:52:40+00:00",
  "text": "Designers x AI ...", "views": 2130000,
  "reactions": {"stars": 10600, "custom:5936157098181135162": 19300}, "reactionsTotal": 44590,
  "links": ["https://t.me/designers"], "hashtags": [], "mentions": ["designers"], "hasVideo": true,
  "channelSubscribers": 10100000, "channelMedianViews": 4370000, "viewsVsMedian": 0.49,
  "viewRatePercent": 21.09, "reactionRatePercent": 2.093, "weekday": "Sunday", "hourUtc": 14
}
```

### Pricing

**$0.35 per 1,000 posts** (one result = one post), nothing for starting a run, and nothing for the channel details or analysis fields. Failed or empty channels are not charged.

### Limits (honest)

- Public channels only. Private channels, invite links (`t.me/+...`), groups, users and bots cannot be read; they are reported in the run status.
- Telegram's preview does not show forward counts, comments or the full list of subscribers, so those are not in the data.
- Custom emoji reactions appear as `custom:<id>` and paid reactions as `stars`.
- Channels that switched off the web preview return nothing.
- Analysis fields compare posts **within the posts fetched in this run**, so fetch at least 20 posts per channel for a meaningful median.

### FAQ

**Do I need a Telegram account or API key?** No. The Actor reads the same public page a browser sees.

**Is it legal to scrape Telegram channels?** It reads only public content that the channel owner chose to publish openly. You are responsible for how you use the data, including privacy laws if posts contain personal data.

**How do I see the views of Telegram channel posts?** Add the channel and click **Start**. Every row has `views`, plus `viewRatePercent` (views / subscribers) and `viewsVsMedian`, so you can compare posts without a Telegram account.

**Can I scrape several Telegram channels at once?** Yes. Put one channel per line; each post row carries its channel name and subscriber count.

**How do I get only new posts every day?** Tick `onlyNewSinceLastRun` and schedule the task.

**Can I search across all Telegram channels?** No, you give the channels. To find channels, search Telegram or a directory first, then paste the usernames here.

### Related tools

Other Actors by this developer: Remote Jobs Scraper (6 boards in one feed), ATS Jobs Export (Greenhouse, Lever, Ashby), Website Screenshot API and Google Ads Transparency Center Scraper.

# Actor input Schema

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

Public Telegram channels to scrape: a username (durov), @username or a link (https://t.me/telegram). Private channels and invite links cannot be read. Type the word sample to try the Actor on a bundled example page.

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

Newest posts first. Each page of the channel holds about 20 posts, so 100 posts takes about 5 page loads.

## `postedWithinDays` (type: `integer`):

Optional. Stop at posts older than this many days, for example 30.

## `searchText` (type: `string`):

Optional. Keep only posts whose text contains all of these words, for example: giveaway bitcoin. Case does not matter.

## `minViews` (type: `integer`):

Optional. Keep only posts with at least this many views, to find a channel's best performing posts.

## `onlyNewSinceLastRun` (type: `boolean`):

Remembers every post it returned (in a storage of your account) and skips them next time. Use it on a daily schedule to get only new posts.

## `includeHtml` (type: `boolean`):

Add the post's formatted HTML (bold, links) next to the plain text. Same price either way.

## `maxItems` (type: `integer`):

Stop after this many posts across all channels. You are charged per post delivered.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 20,
  "onlyNewSinceLastRun": false,
  "includeHtml": false,
  "maxItems": 50
}
```

# Actor output Schema

## `posts` (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"
    ],
    "maxPostsPerChannel": 20,
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("adhistory/telegram-channel-posts-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",
    ],
    "maxPostsPerChannel": 20,
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("adhistory/telegram-channel-posts-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"
  ],
  "maxPostsPerChannel": 20,
  "maxItems": 50
}' |
apify call adhistory/telegram-channel-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adhistory/telegram-channel-posts-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/mlbQgHo2uJHufYa3b/builds/ORH0v99fFHAbbsiQW/openapi.json
