# Telegram Channel Scraper: Posts, Views, Reactions | $0.16/1K (`architekture/telegram-channel-scraper`) Actor

Telegram channel scraper for public channels: post text, dates, views, reactions, forwards, replies, media URLs and links, plus channel title and subscribers. No login, no API key, no session. Only-new-posts mode for monitoring. Pay per result: $0.16 per 1,000 posts.

- **URL**: https://apify.com/architekture/telegram-channel-scraper.md
- **Developed by:** [architek.earth](https://apify.com/architekture) (community)
- **Categories:** Social media, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.16 / 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: Posts, Views, Reactions | $0.16/1K

**Recorded run: 1,000 posts from 2 public channels in 80.5 seconds** (2026-11-17, build 0.1.1, run `XW6zBGw7s5PE94mkD`, 52 pages, 0 retries, 1,000 charged). A bounded sample, not a whole-catalogue benchmark.

architek.earth: an independent data studio. Pay-per-result scrapers with recorded runs, stable schemas and free status rows, built for people and AI agents.

**What's new**

- **2026-11-17**: First release. Public Telegram channel posts by username or t.me link: text, date, views, reactions, media URLs, links, forwards and replies, with channel title and subscribers on every row. Date window, only-new-posts mode and a free 20-post preview. Launch price $0.16 per 1,000 posts until 2026-12-31.

Telegram Channel Scraper reads the public web preview Telegram publishes for every open channel (`https://t.me/s/<channel>`) and returns one row per post, newest first. No Telegram account, phone number, API key or session string is involved, so there is nothing to log in, expire or get banned.

| Source | Data | From | Standout fields |
|---|---|---|---|
| Public Telegram channels (t.me web preview) | Posts, views, reactions, media, links | $0.16 / 1,000 posts | `views`, `reactions`, `media`, `forwardedFrom`, `replyToMessageId`, `channelSubscribers` |

### ✅ Why choose this scraper

- **No login, no session to break.** Scrapers that use the Telegram client protocol need an API ID, a phone login and a session string; their public issue trackers are full of `AUTH_KEY_UNREGISTERED`, `AUTH_KEY_DUPLICATED` and flood-wait reports. This one reads the same public page anyone can open in a browser.
- **Every post carries its context.** `channelTitle`, `channelSubscribers` and `channelUrl` are on each row, so a multi-channel export needs no join.
- **Forwards and replies are explicit.** `forwardedFrom` gives the original channel name and link when Telegram shows it; `replyToUrl` and `replyToMessageId` point at the post being answered.
- **Media you can download.** Photos, videos (with thumbnail and duration), round videos, voice notes, audio and documents are listed in `media` with their public CDN URL where the preview carries one; albums keep every photo.
- **Only new posts on a schedule.** With `incrementalMode` the scraper remembers the newest post ID per channel under your `stateKey`. In recorded run `jDEL1MOfbEOF59TtY` the same two channels were checked again: 2 pages read, 0 posts delivered, $0 charged.

#### Tested head-to-head (2026-11-17)

Our numbers come from our own recorded runs only; the field numbers are public store statistics. We did not run any competing product.

| | This scraper | Field (public store data, 2026-11-17) |
|---|---|---|
| Price per 1,000 posts | $0.16, no start fee | $0.20 (lowest priced top-10 member), $0.35 + $0.01 start, $0.45 + $0.005 start; field leader $3.00 |
| Account or session needed | None | Client-protocol scrapers need an API ID and session; 7 of one member's 15 closed issues are auth or session failures |
| Recorded runs | 5 of 5 succeeded: `XW6zBGw7s5PE94mkD`, `jDEL1MOfbEOF59TtY`, `ScpOAtvEzp8LOXzPD`, `BbWwzCNg2D4XR7UW3`, `2IlcIUITf5kHjkGYu` | 30-day non-success 0.0% to 17.5% across the top 10 |
| Forward origin per post | `forwardedFrom` name and link | Asked for in an issue on a top-5 member |

Five runs are a small sample; they do not show that this scraper is more reliable than any other.

### ⚠️ Worth knowing up front

- Only **public channels** have a web preview. Private channels (invite links `t.me/+...`, `t.me/joinchat/...`, `t.me/c/...`), groups, users and bots do not, and channels whose owner turned the preview off cannot be read either. Each of these ends as a free status row (`PRIVATE_CHANNEL`, `NOT_A_CHANNEL`, `PREVIEW_DISABLED`, `NOT_FOUND`) and the other channels continue.
- `views`, reaction counts and `channelSubscribers` are **rounded the way Telegram shows them**: `4.78M` becomes 4,780,000. The raw counter is kept in `viewsText`.
- Telegram's preview does **not publish forward counts or comment counts**, so neither is returned. It also hides the content of some posts (paid media, gifts, stories): those rows have the text and counters but an empty `media` list.
- Custom (premium) emoji reactions have no character, only an ID: `emoji` is `null` and `customEmojiId` is set. Paid reactions (Telegram Stars) are flagged `paid: true` and summed in `paidReactions`, not in `reactionsTotal`.
- Media URLs point at Telegram's CDN and carry an expiring token: download the files soon after the run if you need them.
- Service messages ("channel created", "pinned a message") are skipped and never charged. The preview groups an album into one post.
- Invalid input, channels without a preview, channels with no posts (`NO_POSTS`), no post in your date window (`NO_MATCH`), nothing new since the last run (`NO_NEW_POSTS`), a refusal after retries (`BLOCKED`), and runs stopped by the time limit, your spending limit or the preview limit (`PARTIAL`, `BUDGET_LIMIT`, `PREVIEW_LIMIT`) each write a free status row (`"recordType": "status"`).

### ⚡ Try the example

The free preview returns up to 20 posts per run and never charges. It is on in the input form and off by default through the API.

Open the [input page](https://console.apify.com/actors/Ts3NoFzFgicuEzXw1/input), switch to JSON, paste this and start:

```json
{
  "channels": ["durov", "https://t.me/s/telegram"],
  "maxPostsPerChannel": 20,
  "preview": true
}
```

Recorded preview run `BbWwzCNg2D4XR7UW3`: 20 posts in 10.5 seconds, 0 charged. Set `preview` to `false` for paid collection and raise `maxPostsPerChannel` as needed.

### ⚙️ Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `channels` | array | none | Public channel usernames (`durov`, `@durov`) or links (`https://t.me/durov`, `https://t.me/s/durov`, `t.me/durov/542`). Up to 100 per run; duplicates are merged. |
| `maxPostsPerChannel` | integer | `100` | Most posts delivered and charged per channel, newest first (1 to 100,000). |
| `since` | string | none | Only posts published on or after this date (UTC), e.g. `2026-10-01`. Reading stops at the first older post. |
| `until` | string | none | Only posts published on or before this date (UTC). |
| `incrementalMode` | boolean | `false` | Deliver only posts newer than the previous run with the same `stateKey`. |
| `stateKey` | string | none | Any name for this collection. Needed for incremental mode; also lets a stopped run continue without paying twice. |
| `preview` | boolean | `false` (form: `true`) | Up to 20 posts, never charged. |
| `feedback` | string | none | Optional note for the maintainers. Logged and read by a human; never changes output. |

#### Input recipes

Public example tasks are not published yet. Each recipe below is paste-ready JSON for the [input page](https://console.apify.com/actors/Ts3NoFzFgicuEzXw1/input) (JSON tab).

- **Last 200 posts of three news channels:** `{"channels": ["bbcrussian", "tass_agency", "rian_ru"], "maxPostsPerChannel": 200}`
- **One month of a channel:** `{"channels": ["durov"], "since": "2026-10-01", "until": "2026-10-31", "maxPostsPerChannel": 5000}`
- **Daily new-post monitor:** `{"channels": ["durov", "telegram"], "incrementalMode": true, "stateKey": "daily-telegram-watch", "maxPostsPerChannel": 500}`
- **Full history of a small channel:** `{"channels": ["https://t.me/s/contest"], "maxPostsPerChannel": 100000, "stateKey": "contest-archive"}`

### 🧱 Stable fields

These top-level fields keep their name and kind of value in every release. Fields are only ever added, never renamed or removed.

| Field | Type | Meaning |
|---|---|---|
| `recordType` | string | `"post"` on data rows, `"status"` on free status rows. |
| `postId` | string | `<channel>/<messageId>`, e.g. `durov/562`; unique and stable. |
| `channel` / `messageId` / `url` | string / integer / string | Channel username, post number, `https://t.me/<channel>/<id>`. |
| `date` | string, nullable | Publication time, ISO 8601 UTC. |
| `edited` | boolean | Telegram marks the post as edited. |
| `text` / `textHtml` | string, nullable | Plain text with emoji and line breaks / the post HTML as Telegram renders it. |
| `views` / `viewsText` | integer / string, nullable | View count as shown (rounded) / the raw counter, e.g. `978K`. |
| `reactions` | array | `{emoji, customEmojiId, count, paid}` per reaction. |
| `reactionsTotal` / `paidReactions` | integer | Sum of normal reactions / sum of Telegram Stars reactions. |
| `author` | string, nullable | Post signature, when the channel signs posts. |
| `forwardedFrom` | object, nullable | `{name, url}` of the original source; `null` when not forwarded. |
| `replyToUrl` / `replyToMessageId` | string / integer, nullable | The post this one replies to. |
| `media` / `mediaTypes` | array | `{type, url, thumbnailUrl, duration, title}` per item / distinct types (`photo`, `video`, `round_video`, `voice`, `audio`, `document`, `sticker`, `poll`, `location`). |
| `links` / `hashtags` | array | Links and hashtags in the post text. |
| `linkPreview` | object, nullable | `{url, siteName, title, description, imageUrl}` of the link card. |
| `channelTitle` / `channelSubscribers` / `channelUrl` | string / integer / string | Channel name, subscriber counter as shown (rounded), channel link. |
| `scrapedAt` | string | Read time, ISO 8601 UTC. |
| `changeType` | string | `"new"` on rows from incremental mode. |

`deliveryId` is a technical delivery key, not part of the contract. To have another field pinned, say so in `feedback`.

### 📦 Output example

Abridged real row from run `ScpOAtvEzp8LOXzPD` on 2026-11-17 (text and URL shortened; values are a snapshot):

```json
{
  "recordType": "post",
  "postId": "durov/562",
  "channel": "durov",
  "messageId": 562,
  "url": "https://t.me/durov/562",
  "date": "2026-11-15T22:48:26Z",
  "edited": false,
  "text": "Noticed in the banya today: I'm getting skinnier.\n\nThis despite a strict diet of lobster linguini and crab pelmeni. 🦞 ...",
  "views": 978000,
  "viewsText": "978K",
  "reactions": [
    {"emoji": null, "customEmojiId": null, "count": 8820, "paid": true},
    {"emoji": null, "customEmojiId": "5399847211989246390", "count": 49300, "paid": false}
  ],
  "reactionsTotal": 78800,
  "paidReactions": 8820,
  "author": "Pavel Durov",
  "forwardedFrom": null,
  "replyToUrl": null,
  "replyToMessageId": null,
  "media": [{"type": "photo", "url": "https://cdn4.telesco.pe/file/JZF7bQ1c....jpg", "thumbnailUrl": null, "duration": null, "title": null}],
  "mediaTypes": ["photo"],
  "links": [],
  "hashtags": [],
  "linkPreview": null,
  "channelTitle": "Pavel Durov",
  "channelSubscribers": 9960000,
  "channelUrl": "https://t.me/durov",
  "scrapedAt": "2026-11-17T05:04:17Z"
}
```

Free status rows from run `2IlcIUITf5kHjkGYu`:

```json
{"recordType": "status", "inputRef": "botfather", "status": "NOT_A_CHANNEL", "message": "This name is a user, a bot or a group, not a public channel; only channels have a public preview"}
{"recordType": "status", "inputRef": "https://t.me/+AbCdEf123", "status": "PRIVATE_CHANNEL", "message": "Invite links and t.me/c/ links point to private channels; Telegram publishes no preview for them"}
```

### 🧠 Advanced usage

**New-post alerts.** Schedule a run with `incrementalMode: true` and one `stateKey` per watch list. The first run delivers up to `maxPostsPerChannel` recent posts per channel; each later run delivers only posts with a higher post number than the newest one already delivered, and reads one page per quiet channel.

**Completeness.** `RUN_SUMMARY` in the run's key-value store has `status` (`COMPLETE`, `PARTIAL`, `BUDGET_LIMIT`, `PREVIEW_LIMIT`), pages read, posts delivered and charged, and posts skipped by the date window or as already known. `PARTIAL` means at least one channel has a `BLOCKED` or `SOURCE_*` status row, or the run stopped at its time limit.

**Long histories.** Each page holds 20 posts, read at about 0.6 to 1.5 seconds per page. A channel with 50,000 posts needs about 2,500 pages; give the run a long timeout and a `stateKey`. If it stops, run it again with the same input and `stateKey`: it continues from the saved page, and posts already delivered are skipped and not charged again.

**Joining channels.** Every row carries `channel`, `channelTitle` and `channelSubscribers`, so one export of many channels can be pivoted directly by channel.

### 🔌 Integrations

Results land in a dataset you can export as JSON, CSV or Excel, send to Google Sheets, or pass to Make, Zapier or n8n; a webhook can fire when a run finishes, and a schedule runs it on a timetable.

#### n8n

Add an **HTTP Request** node: method `POST`, URL `https://api.apify.com/v2/acts/architekture~telegram-channel-scraper/run-sync-get-dataset-items?timeout=300&maxTotalChargeUsd=0.10`, authentication Header Auth with `Authorization: Bearer <your token>`, body JSON:

```json
{"channels": ["durov", "telegram"], "incrementalMode": true, "stateKey": "n8n-telegram-watch", "maxPostsPerChannel": 200}
```

The node returns the rows as items. Add an **IF** node on `recordType` equal to `post` to separate posts from status rows, then route posts to Slack, a sheet or a database. Put a **Schedule Trigger** in front once the first result looks right.

#### Make

Add **HTTP: Make a request**: method `POST`, the same URL, header `Authorization: Bearer <your token>`, body type raw, content type `application/json`, the same JSON body, and "Parse response" on. Follow it with an **Iterator** over the returned array and a **Filter** on `recordType = post`. Do not retry an ambiguous POST automatically; check first whether a run was created.

### 💸 Pricing

Pay per result. Platform and proxy usage are included. Status rows, channels without a preview, skipped service messages and failed requests are free.

| Event | Price | What it covers |
|---|---|---|
| Free preview | $0 | Up to 20 posts per run with `preview: true`. |
| `post` | $0.16 / 1,000 posts ($0.00016 each) | One delivered post row. |

Launch price until 2026-12-31. 1,000 posts cost $0.16; the $5 monthly free credit covers about 31,000 posts. Silver plans pay 10% less and Gold and above 20% less. Set a maximum cost per run to cap any run.

### ❓ FAQ

**Do I need a Telegram account or API key?** No. The scraper reads the public web preview at `t.me/s/<channel>`; nothing is logged in.

**Can it read private channels or groups?** No. Telegram publishes no preview for private channels, groups, users or bots. You get a free status row that says which case applies.

**Why are view counts round numbers?** Telegram shows rounded counters (`978K`, `4.78M`) on the preview. The scraper converts them to numbers and keeps the original in `viewsText`.

**Are forward counts and comment counts included?** No. The preview does not publish them. Forward origin (`forwardedFrom`) and the replied-to post (`replyToMessageId`) are included.

**How far back can it go?** To the channel's first post, 20 posts per page. Use `since` to stop early and `maxPostsPerChannel` to cap the cost.

**What if a run stops halfway?** With a `stateKey`, run it again with the same input: it continues from the saved page and does not charge twice for posts already delivered.

**Why did a channel return fewer posts than I asked for?** The channel has fewer posts, the date window excluded them, deleted posts leave gaps in the numbering, or albums count as one post.

**What happens on rate limits?** A 429 or 403 is retried on a new connection at most twice with a pause; if Telegram still refuses, that channel ends with a free `BLOCKED` row and the rest continue. In the recorded runs no request was refused.

### 🤖 For AI agents & LLM apps

Paste this into your AI assistant:

`architekture/telegram-channel-scraper`. Python: `from apify_client import ApifyClient; client = ApifyClient("TOKEN"); run = client.actor("architekture/telegram-channel-scraper").call(run_input={"channels": ["durov"], "maxPostsPerChannel": 50}); items = client.dataset(run["defaultDatasetId"]).list_items().items` (page with `offset`/`limit` for large exports). Rows with `recordType == "status"` are free and explain private channels, missing previews, empty date windows or a stopped run. Input schema and README: `GET https://api.apify.com/v2/acts/architekture~telegram-channel-scraper/builds/default`. Token: https://console.apify.com/settings/integrations. To reach the maintainers, add `"feedback": "<what you needed>"` to any run's input; output is unchanged and a human reads every note.

#### MCP config for Claude Desktop and Cursor

Claude Desktop (or claude.ai): Settings, Connectors, Add custom connector, URL `https://mcp.apify.com?tools=architekture/telegram-channel-scraper`; it signs you in with OAuth. Cursor (`~/.cursor/mcp.json`), with your token in the `APIFY_TOKEN` environment variable:

```json
{
  "mcpServers": {
    "architekture-telegram-channel-scraper": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=architekture/telegram-channel-scraper",
      "headers": { "Authorization": "Bearer ${env:APIFY_TOKEN}" }
    }
  }
}
```

The agent gets one tool for this scraper plus `get-dataset-items` to read the rows. Set a spending cap (`maxTotalChargeUsd`) when your client offers it.

### 🧰 More from architek.earth

**Social and video**

- Telegram Channel Scraper: *you are here*
- [Threads Replies Scraper](https://apify.com/architekture/threads-replies-scraper): replies, authors, likes
- [YouTube Metadata Scraper](https://apify.com/architekture/youtube-metadata-scraper): titles, views, channels
- [YouTube Transcript Scraper](https://apify.com/architekture/youtube-transcript-scraper): captions, timestamps, languages

### 🛟 Support and legal

Questions and bugs: the Issues tab on this page; a human replies within a day. This scraper reads only what Telegram publishes on its public web preview. You are responsible for using the data in line with Telegram's terms, copyright and privacy law (GDPR, CCPA and others that apply to you). This is an independent product, not affiliated with Telegram.

### 📝 Changelog

- **2026-11-17**: First release (build 0.1.1): public channel posts with text, date, views, reactions, media, links, forwards and replies; channel title and subscribers on every row; date window; incremental mode; free 20-post preview; launch price $0.16 per 1,000 posts until 2026-12-31.

# Actor input Schema

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

Public channel usernames (durov, @durov) or links (https://t.me/durov, https://t.me/s/durov). Up to 100 per run. Private invite links cannot be read and return a free status row.

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

Most posts delivered (and charged) per channel, newest first.

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

Only posts published on or after this date (UTC). Reading stops once older posts are reached.

## `until` (type: `string`):

Only posts published on or before this date (UTC).

## `preview` (type: `boolean`):

Deliver up to 20 posts per run without any charge. Switch off for paid collection.

## `incrementalMode` (type: `boolean`):

Deliver only posts newer than the previous run with the same stateKey. Ideal for scheduled monitoring.

## `stateKey` (type: `string`):

Any name for this collection (e.g. crypto-news). Needed for incremental mode; also lets a stopped run continue without paying twice.

## `feedback` (type: `string`):

Optional. Logged and read by a human; never changes the output.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 20,
  "preview": true,
  "incrementalMode": false
}
```

# Actor output Schema

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

One row per delivered post, plus free status rows.

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

RUN_SUMMARY record: status and counts.

# 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,
    "preview": true
};

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

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

```

## MCP server setup

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