# Telegram Channel Scraper — Posts, Views & Media (`rp_openpro.ai/telegram-channel-scraper`) Actor

Scrape public Telegram channels without login: posts with text, date, views, reactions, photos, videos, link previews and forwards, plus channel info and subscriber counts. Filter by date, export to CSV, Excel or JSON. $1 per 1,000 posts.

- **URL**: https://apify.com/rp_openpro.ai/telegram-channel-scraper.md
- **Developed by:** [Rémi Pelloux](https://apify.com/rp_openpro.ai) (community)
- **Categories:** Social media, News, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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, Views & Media

Scrape **public Telegram channels** without a Telegram account, phone number or API key. For each channel you get its **posts**: text, date, **view count**, **reactions**, **photos**, **videos and GIFs**, **link previews**, the source of **forwarded posts**, the author signature and replies, plus one **channel row** with the title, description, **subscriber count** and verified badge.

Built for **news and media monitoring, crypto and market research, brand and competitor tracking, OSINT, and AI or data pipelines** that need what a channel publishes. Page back through a channel's history, or stop at a date.

**$1 per 1,000 posts.** Apify's free plan credit covers about 5,000 posts a month, no credit card needed.

### What you get

Post rows (`type: "post"`):

| Field | Example |
|---|---|
| `channel`, `postId`, `url` | durov · 558 · https://t.me/durov/558 |
| `date` | 2026-11-12T13:24:25.000Z |
| `text`, `textLinks` | the post text with emoji and line breaks, and the links in it |
| `views`, `viewsText` | 2,400,000 · "2.4M" |
| `reactions` | `[{ "emoji": "👍", "count": 314 }, { "emoji": "⭐", "isPaid": true, "count": 5010 }]` |
| `photos` | image URLs (every photo of an album) |
| `videos` | `[{ "url": "…mp4", "thumbnail": "…jpg", "duration": "0:24", "isGif": false }]` |
| `linkPreview` | `{ "url", "siteName", "title", "description", "image" }` or `null` |
| `isForwarded`, `forwardedFrom`, `forwardedFromUrl` | the channel or person the post was forwarded from |
| `author` | the admin signature, when the channel signs its posts |
| `replyToUrl`, `isEdited` | the post it answers, and whether it was edited |
| `documents`, `poll`, `hasMedia`, `isVoice`, `isSticker` | files, polls and other media |
| `scrapedAt` | when the row was collected |

Channel rows (`type: "channel"`, one per channel, before its posts):

| Field | Example |
|---|---|
| `title`, `username`, `url` | Pavel Durov · durov · https://t.me/durov |
| `subscribers`, `subscribersText` | 9,830,000 · "9.83M" |
| `photos`, `videos`, `files`, `links` | the channel's media counters |
| `description`, `descriptionLinks` | the channel bio and the links in it |
| `isVerified`, `isScam`, `isFake`, `avatar` | badges and profile picture |

### Quick start

1. Paste one or more **channels**: `durov`, `@telegram`, `t.me/durov` or `https://t.me/s/durov`.
2. Set **Max posts per channel** (newest first), and optionally **Posted after** to stop at a date.
3. Click **Start**, then download the posts as CSV, Excel or JSON, or read them through the API.

#### Example input

```json
{
    "channels": ["durov", "telegram", "https://t.me/s/tginfo"],
    "maxPostsPerChannel": 500,
    "postedAfter": "2026-10-01",
    "includeChannelInfo": true
}
```

### How it works

Every public channel has a web preview at `t.me/s/<channel>`, the page Telegram shows to people who do not have the app. It lists the channel's profile and its latest posts. The actor reads that page, then follows its "older posts" link page by page, newest posts first, until it has your number of posts, reaches your **Posted after** date, or the channel has no older posts. Rows are saved as they come in, so you can watch the results while the run is going.

### FAQ

**Which channels work?** Only public channels with the web preview turned on, that is channels whose `https://t.me/s/<name>` page shows posts in a browser. Private channels, invite links (`t.me/+…`), groups, bots and user accounts have no web preview; the actor logs a warning for them and goes on with the others.

**Do I need a Telegram account or API key?** No. The actor reads the same public pages anyone can open in a browser.

**How far back can it go?** As far as the channel's history goes, up to 10,000 posts per channel per run. Use **Posted after** to stop at a date.

**Are comment counts included?** No. The web preview does not show comments of the channel's discussion group.

**Do media links expire?** Photo and video links point to Telegram's CDN and can stop working after a while. Download the files you need soon after the run.

**What counts toward the price?** Every saved row: posts, and the one channel row per channel when **Include channel info** is on. Turn it off if you only want posts.

**Is it legal?** The actor collects what channels publish openly on the web. Respect Telegram's terms, copyright and the privacy rules that apply to you (for example GDPR) when you store or reuse the content, in particular names in signatures and forwards.

### Use it from the API, n8n, Make or Zapier

```bash
curl -X POST "https://api.apify.com/v2/acts/rp_openpro.ai~telegram-channel-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels": ["durov", "telegram"], "maxPostsPerChannel": 50}'
```

### Related actors

- [Reddit Scraper](https://apify.com/rp_openpro.ai/reddit-scraper): posts, comments and search for brand monitoring
- [YouTube Channel Email Finder](https://apify.com/rp_openpro.ai/youtube-channel-email-finder): creators by keyword with their public business email
- [Google News & Trends Scraper](https://apify.com/rp_openpro.ai/google-news-trends-scraper): Google News articles and Google Trends "Trending now"
- [WeChat Article Scraper](https://apify.com/rp_openpro.ai/wechat-article-scraper): WeChat official account articles, search and full text

Found a bug or need a field? Open an issue on the actor's **Issues** tab.

# Actor input Schema

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

Public channel usernames or links: durov, @durov, t.me/durov or https://t.me/s/durov. Only public channels with a web preview can be scraped (private channels, groups and invite links cannot).

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

Newest posts first. The actor pages back through the channel's history until it has this many posts, or the channel has no older posts.

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

Optional date (YYYY-MM-DD, UTC). Only posts from this day on; the actor stops paging a channel once its posts are older.

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

Add one row of type "channel" before each channel's posts: title, description, subscribers, photo/video/link counts, verified badge and avatar.

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

Apify Proxy (datacenter) by default, which works well for t.me.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 20,
  "includeChannelInfo": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `channels` (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,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rp_openpro.ai/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,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rp_openpro.ai/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,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rp_openpro.ai/telegram-channel-scraper --silent --output-dataset

```

## MCP server setup

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