# Telegram Channel Scraper - Posts, Views and Subscribers (`turboextract/telegram-channel-scraper`) Actor

Posts from any public Telegram channel with text, date, views, reactions, links, hashtags and media flags, plus the channel title and subscriber count. No login, no phone number, no API keys.

- **URL**: https://apify.com/turboextract/telegram-channel-scraper.md
- **Developed by:** [Moses Ndambuki](https://apify.com/turboextract) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 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 and Subscribers

**Get posts from any public Telegram channel: text, date, views, reactions, links, hashtags and media flags, plus the channel's title and subscriber count.** No Telegram account, no phone number and no API keys. Paste channel names or t.me links and get a clean table.

In one test, the actor read 30 posts each from @durov (9.95M subscribers) and @telegram (9.1M) in a few seconds, with view counts like 895,000 on a single post.

***

### Who this is for

- **Crypto and trading researchers** tracking signal and announcement channels
- **Media monitors and journalists** following news channels in any language
- **Marketers** comparing channel growth, post views and engagement before buying ads
- **Brand and security teams** watching for mentions, leaks or scams
- **AI and data teams** building datasets from public channel posts

***

### What you get per post

```json
{
  "postId": 564,
  "url": "https://t.me/durov/564",
  "date": "2026-11-17T19:12:44.000Z",
  "text": "Telegram bots and mini apps can accept only Stars (*Grams) for digital services...",
  "views": 895000,
  "reactions": [{ "emoji": "⭐", "count": 2080000 }, { "emoji": null, "count": 28600 }],
  "reactionsTotal": 2126350,
  "links": ["https://fragment.com/stars/buy"],
  "hashtags": [],
  "hasPhoto": false,
  "hasVideo": false,
  "isForwarded": false,
  "forwardedFrom": null,
  "channel": "durov",
  "channelTitle": "Pavel Durov",
  "channelSubscribers": 9950000,
  "channelUrl": "https://t.me/durov"
}
```

***

### How it works

```mermaid
flowchart LR
    A[Channel names or t.me links] --> B[Public web preview t.me/s/channel]
    B --> C[Channel title and subscribers]
    B --> D[Posts, newest first, 20 per page]
    D --> E[Date, views and keyword filters]
    E --> F[One row per post]
```

Every public Telegram channel has a web preview at `t.me/s/<channel>`. The actor reads it page by page, newest posts first, until it reaches your limit or date window.

***

### Quick start

1. Click **Try for free**.
2. Add **Channels**, like `durov`, `@telegram` or `https://t.me/s/bbcnews`.
3. Optional: set **Max posts per channel**, **Posted within (days)** or **Text must contain**.
4. Click **Start**, then export to CSV, JSON or Google Sheets. Schedule it to collect new posts every hour.

#### API

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

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("Turboextract/telegram-channel-scraper").call(run_input={
    "channels": ["durov"],
    "postedWithinDays": 7,
    "minViews": 100000,
})
for p in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(p["date"], p["views"], p["url"])
```

***

### Input

| Field | Default | What it does |
|---|---|---|
| `channels` | – | Usernames, @handles or t.me links |
| `maxPostsPerChannel` | 50 | Newest posts first |
| `postedWithinDays` | 0 (all) | Only posts from the last N days |
| `keywords` | – | Post text must contain one of these |
| `minViews` | 0 | Skip posts with fewer views |
| `includeChannelInfo` | true | Add title, subscribers and link to each row |
| `maxResults` | 1000 | Total cap per run |

***

### Pricing

**$0.003 per post delivered.** The last 50 posts from 20 channels (1,000 posts) cost $3.

| Option | 1,000 posts |
|---|---|
| **Telegram Channel Scraper** | **$3**, no login or phone number |
| Other Telegram actors on Apify | $3 to $10, some need a session |
| Telegram analytics tools | $30 to $100+ a month |

***

### Use cases

- **Channel benchmarking**: average views per post across 50 channels in a niche
- **Crypto and news alerts**: hourly runs with keywords like a token or company name
- **Ad buying research**: views versus subscribers to spot inflated channels
- **Link harvesting**: every URL a channel shared this month
- **Datasets**: post text with dates and engagement for analysis or AI training

***

### Tips

- Use the channel username from its t.me link. Private channels, groups and bots have no public preview.
- Combine `postedWithinDays: 1` with a schedule and dedupe on `url` for a live feed.
- Custom emoji reactions show their count with `emoji: null`. Star reactions show as ⭐.

***

### Pairs well with

- [Google News Scraper](https://apify.com/Turboextract/google-news-feed): news articles by search or topic
- [Bluesky Scraper](https://apify.com/Turboextract/bluesky-posts-profiles): Bluesky posts and profiles by keyword
- [Substack Scraper](https://apify.com/Turboextract/substack-newsletter-scraper): newsletter posts with likes and comments

***

### FAQ

**Do I need a Telegram account?** No. The actor reads the same public web preview anyone can open in a browser.

**Can it read private channels or groups?** No. Only public channels with a web preview.

**How far back can it go?** As far as the channel's history goes. Set a high `maxPostsPerChannel` for the full archive.

**Does it download media?** It flags photos, videos and documents and gives the post link. It doesn't download files.

**Is it legal?** It reads posts the channel owner chose to publish publicly. Follow Telegram's terms and your local laws when you use the data.

***

### Support

- Docs and examples: https://github.com/andersonjames38phd-cpu/telegram-channel-scraper
- Community Discord: https://discord.gg/8SrXSCpvgj

Built and maintained by [Turboextract](https://apify.com/Turboextract) on the Apify platform.

# Actor input Schema

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

Public channel usernames or links, like durov, @telegram or https://t.me/durov.

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

Newest posts first. Each page holds about 20 posts.

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

Only posts from the last N days. 0 means no limit.

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

Keep only posts that mention one of these words.

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

Skip posts with fewer views.

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

Adds channel title, subscriber count and channel link to every row.

## `maxResults` (type: `integer`):

Stop after this many posts in total. You only pay for what is delivered.

## Actor input object example

```json
{
  "channels": [
    "durov"
  ],
  "maxPostsPerChannel": 50,
  "postedWithinDays": 0,
  "minViews": 0,
  "includeChannelInfo": true,
  "maxResults": 1000
}
```

# Actor output Schema

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

One row per channel post with text, date, views, reactions and links.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("turboextract/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"] }

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

```

## MCP server setup

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