# Telegram Channel Scraper: Posts, Views, Reactions, Subscribers (`gouda_studios/telegram-channel-scraper`) Actor

Scrape public Telegram channels without login or API keys. Get posts with text, date, views, reactions, links, photos, videos and forwards, plus subscriber counts. Date filter, keyword search, full history paging. $0.0003 per post.

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

## Pricing

Pay per event

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

Scrape any **public Telegram channel** with no login, no phone number, no API key and no proxy. Give it channel usernames or t.me links and get clean JSON rows for every post: text, date, view count, reactions, links, hashtags, photos, videos, documents, forwards and replies. Add one channel-info row with the title, description, verified badge and subscriber count.

Built for news monitoring, crypto and market signal tracking, OSINT, competitor and brand monitoring, and AI agents that need a Telegram feed without running a Telegram client.

### What you get

- **Posts**, newest first, with full history paging (as far back as the channel's public preview goes)
- **Views** per post as integers (6.8M becomes 6800000)
- **Reactions** per emoji, paid star reactions flagged separately, and a total
- **Media**: photo URLs, video URLs, thumbnails and durations, document titles, polls
- **Links and hashtags** pulled out of each post
- **Forwarded from** and **reply to** links, plus an edited flag and signed author
- **Channel info**: title, description, verified, subscribers, photo, video, file and link counts
- **Date filter** to fetch only posts newer than a date, ideal for scheduled runs
- **Keyword search** inside a channel using Telegram's own search

### Input example

```json
{
  "channels": ["durov", "@telegram", "https://t.me/s/toncoin"],
  "maxPostsPerChannel": 100,
  "postsNewerThan": "2026-11-01",
  "includeChannelInfo": true
}
```

### Output example (post)

```json
{
  "type": "post",
  "channel": "durov",
  "postId": 555,
  "url": "https://t.me/durov/555",
  "date": "2026-11-10T20:43:28+00:00",
  "text": "Crypto's a sea of red. Only Gram is up: +7% ...",
  "views": 83300,
  "author": "Pavel Durov",
  "reactions": [{"emoji": "telegram_stars", "paid": true, "count": 10000}, {"customEmojiId": "5399847211989246390", "paid": false, "count": 85800}],
  "links": [],
  "hashtags": [],
  "photos": ["https://cdn4.telesco.pe/file/..."],
  "videos": [],
  "forwardedFrom": null
}
```

### Pricing

Pay only for what you get:

- **$0.0003 per post** (about 3x cheaper than most Telegram scrapers)
- **$0.001 per channel info row**
- **$0.00005 per run start**

Channels that are private, missing or have the public preview turned off return a free error row, so you never pay for nothing.

### Tips

- Schedule it hourly or daily with `postsNewerThan` set to the last run's date to build a cheap live feed.
- Set `maxPostsPerChannel` to 0 to collect only subscriber counts for a list of channels.
- Works with the Apify API, MCP server and integrations, so AI agents can call it as a tool.

### Limits

Only public channels with web preview (t.me/s/...) enabled. Groups, private channels and comments are not supported. Views and reactions are as shown on Telegram's public preview at scrape time.

# Actor input Schema

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

Public channel usernames, @handles or t.me links, e.g. durov, @telegram, https://t.me/s/durov

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

Newest posts first. Use 0 to fetch only channel info.

## `postsNewerThan` (type: `string`):

Optional ISO date or datetime (UTC), e.g. 2026-11-01. Stops paging when older posts are reached.

## `searchQuery` (type: `string`):

Optional. Returns only posts matching this keyword (Telegram's own in-channel search).

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

Adds one row per channel with title, description, verified flag, subscribers and media counts.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 50,
  "includeChannelInfo": true
}
```

# Actor output Schema

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

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

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

```

## MCP server setup

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