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

Scrape posts from any public Telegram channel: text, views, reactions, photos, videos, links and dates, plus a free channel summary with exact subscribers and engagement. Date range and keyword filters. No account or API key needed.

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

## Pricing

from $0.40 / 1,000 post saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & Stats

Scrape posts from any public Telegram channel, with views, reactions, media, links and dates, plus a free summary of each channel. No Telegram account, phone number or API key needed.

### What does Telegram Channel Scraper do?

Paste a list of public channels (`@durov`, `durov`, `https://t.me/durov` or a post link) and get **one row per post**: the full text with emoji, publish date, view count, every reaction with its count, photos, videos, files, polls, link previews, links, hashtags, mentions, forwards and replies.

At the end of each channel you also get a **free channel summary**: exact subscriber count, title, description, verified badge, average and median views, view rate (views as a percent of subscribers), average reactions, posts per day and the top post.

### Why use it?

- **Jump straight to any date range.** Set "Only posts before" and the scraper goes directly to that point in the channel's history instead of reading every newer post first. You only pay for the posts in your range.
- **Date filters that work.** "Only posts after" stops the moment the channel goes past your date. Use exact dates (2026-01-31) or plain words ("7 days", "24 hours", "1 month").
- **Keyword search inside channels.** Add keywords and the scraper uses Telegram's own channel search. Each post shows which keyword found it.
- **Exact subscriber counts.** Telegram's channel page rounds counts (185K). The summary row gives the exact number (185,361).
- **Clear answers for every input.** Usernames that are a person, a bot, a group, a private invite link, a channel with its web preview turned off, or nothing at all each get their own plain-language row, free.
- **Full history when you want it.** Set a high post limit to collect a channel from its newest post back to its first.
- **Fair price.** You pay per post saved. Channel summaries and status rows are free, and repeated channels in your list are read once.

### What you get for each post

| Field | Example |
|---|---|
| Channel and post | durov, 563, https://t.me/durov/563 |
| Date | 2026-11-12T10:31:07+00:00 |
| Text | Full post text with emoji and line breaks |
| Views | 4,100,000 (and "4.1M" as Telegram shows it) |
| Reactions | 👍 52,000, ❤ 31,000, star 15,900 ... and the total |
| Media | photo, video, album, file, poll, voice, sticker, with URLs |
| Link preview | URL, site name, title and description |
| Links, hashtags, mentions, emails | Pulled out of the text |
| Forwarded from, reply to, author | When the post has them |

Use the **Posts** view for posts and the **Channel summaries** view for one row per channel. Download as Excel, CSV or JSON, or connect through the API, Make, n8n or Zapier.

### How to use it

1. Paste one or more public channels, one per line.
2. Set the max posts per channel (newest first).
3. Optional: add a date range or keywords.
4. Click Start. Small runs finish in seconds.

### Pricing

Pay per post saved, with lower prices on higher Apify plans. Channel summary rows, status rows (not found, private, bot, group) and duplicates are free. Set a maximum cost per run in the run options and the scraper stops cleanly when it is reached.

### Input options

- **Telegram channels**: usernames or links, one per line.
- **Max posts per channel**: newest first, up to 100,000.
- **Only posts after / Only posts before**: dates or relative times.
- **Keywords**: optional, uses Telegram's own search in each channel.
- **Add a channel summary row**: on by default, free.

### Good to know

The scraper reads the public web preview Telegram offers for every public channel (t.me/s/name). It does not log in, join channels or read private chats or groups. Telegram shows large view counts rounded (for example 1.2K), so views are as precise as Telegram makes them. Make sure your use of the data follows the laws that apply to you.

### Use it in n8n or Make

Free ready-made workflows and step-by-step Make scenarios: [myzles.github.io/templates](https://myzles.github.io/templates/). They use the Run an Actor and Get Dataset Items steps, so they work with this tool too.

# Actor input Schema

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

Public Telegram channels to read. Paste usernames (@durov or durov) or links (https://t.me/durov, t.me/s/durov, or a post link like t.me/durov/123). One per line.

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

Newest posts first. The run stops reading a channel at this number. Use a large number (for example 100000) to collect the full history.

## `postedAfter` (type: `string`):

Keep only posts published after this date. Use a date like 2026-01-31 or a relative time like "7 days", "24 hours" or "1 month". Leave empty for no limit.

## `postedBefore` (type: `string`):

Keep only posts published before this date (same formats). The scraper jumps straight to that date, so older ranges are fast and you only pay for posts in your range.

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

Only return posts that match these words, using Telegram's own search inside each channel. Each post shows which keyword matched. Leave empty to get every post.

## `includeChannelSummary` (type: `boolean`):

Adds one free row per channel: exact subscriber count, description, verified badge, average and median views, view rate, posts per day and the top post.

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

How many channels are read in parallel. The default works well for most runs.

## Actor input object example

```json
{
  "channels": [
    "telegram",
    "durov"
  ],
  "maxPostsPerChannel": 20,
  "includeChannelSummary": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

No description

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

No description

## `postsCsv` (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": [
        "telegram",
        "durov"
    ],
    "maxPostsPerChannel": 20
};

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

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

```

## MCP server setup

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