# Telegram Scraper – Channel Posts, Views & Keyword Search (`rowfeed/telegram-channel-scraper`) Actor

Posts from any public Telegram channel as clean rows: text, date, views, reactions, media, links and the channel's subscribers. Search inside channels by keyword, or monitor them for new posts. No login. $0.50 per 1,000 posts.

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

## Pricing

from $0.50 / 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 Scraper – Channel Posts, Views & Keyword Search

Get the posts of any public Telegram channel as clean rows: text, date, views, reactions, photos and videos, the links in the post, and the channel's name and subscriber count. Search inside channels by keyword with Telegram's own channel search, or schedule it to collect only new posts. No login, no phone number, no API key: it reads Telegram's public web preview of the channel (t.me/s/channel).

Built for news and crypto monitoring, brand and competitor tracking, OSINT and research, content curation, and AI agents that need what a channel is posting right now.

### What you get

- **Posts, newest first:** text, date, views, all reactions added up, media type (photo, video, document, poll, audio, sticker), the photo, links in the text and the link preview.
- **Channel facts on every row:** channel name, description and subscribers.
- **Keyword search inside channels:** e.g. "bitcoin" in five crypto channels.
- **Monitoring:** set "Only the last ... hours" to 24 and schedule the run daily to get only new posts.
- **Older posts:** up to 10,000 per channel, paged back 20 at a time.
- **Little personal data:** author signatures and the names of people a post was forwarded from are left out (you get `forwarded: true`), and email addresses in the text become `[email removed]`.

### Example output row

A real post (photo link shortened here):

```json
{
  "post_id": 556,
  "channel": "durov",
  "url": "https://t.me/durov/556",
  "published": "2026-11-11T12:27:06Z",
  "text": "👛 Over 1 million self-custodial Gram wallets activated on Telegram in the last 48 hours alone.\n\n🥇 Gram is today’s #1 gainer among the top 100 coins by market cap, +14% in 24 hours.",
  "views": 398000,
  "reactions": 3700,
  "media": ["photo"],
  "image": "https://cdn4.telesco.pe/file/LEnXGsQ0yf8-….jpg",
  "links": [],
  "link_preview": null,
  "forwarded": false,
  "edited": false,
  "channel_title": "Pavel Durov",
  "subscribers": 10000000,
  "channel_description": "Founder of Telegram.",
  "search": null
}
```

### How to use

1. Click **Try for free** (or **Start**) at the top of this page to open the input form.
2. Fill in **Channels**. Public channels, one per line: durov, @durov or a t.me link. The form comes with a working example, so you can also run it as it is.
3. Optional: adjust **Max posts per channel**, **Keywords (optional)**, **Only the last ... hours**. Every field has a sensible default.
4. Click **Start** and wait for the run to finish.
5. Download the results as Excel, CSV or JSON from the **Output** tab, or get them through the Apify API, a schedule or an integration (Make, Zapier, Google Sheets ...).

### Pricing

Pay per event, no subscription:

- **$0.50 per 1,000 posts** ($0.0005 per post).
- $0.002 per run start.

Examples: the pre-filled run (100 posts) costs $0.052. 10 channels × 100 posts cost $0.50. A daily monitor of 20 channels that finds 60 new posts costs $0.032 a day. Error rows and channels that cannot be read are never charged.

### Input

| Field | What it does |
|---|---|
| `channels` | `durov`, `@durov` or `https://t.me/durov`, one per line. |
| `maxPostsPerChannel` | Newest first, up to 10,000 (default 100). With keywords: per channel and keyword. |
| `searches` | Optional keywords, searched inside each channel. |
| `postedWithinHours` | Only posts from the last N hours. 0 = any time. |

### Good to know

- **Public channels only.** Private channels, groups, invite links (`t.me/+…`) and people cannot be read; they get an error row (not charged). A few channel owners turn the web preview off; those get an error row too.
- **Views and subscribers are rounded** the way Telegram shows them (`1.2M`, `167K`).
- **Telegram's channel search** matches whole words and their forms the way Telegram does; it does not search across all of Telegram.
- Comments under posts are not in the web preview, so they are not included.
- Not affiliated with Telegram.

### More tools from Rowfeed

- [Bluesky Scraper](https://apify.com/rowfeed/bluesky-scraper) – search all of Bluesky by keyword or hashtag, or get any account's posts, with likes and reposts, without author names.
- [Reddit Scraper](https://apify.com/rowfeed/reddit-scraper) – posts and newest comments of any subreddit, filtered by your keywords, without usernames.
- [Google News API](https://apify.com/rowfeed/google-news-monitor) – news for any search; monitor mode returns only articles you have not seen.
- [RSS Feed Reader](https://apify.com/rowfeed/rss-feed-reader) – any RSS or Atom feed as clean JSON rows.
- [Hacker News API](https://apify.com/rowfeed/hacker-news-api) – Hacker News stories, front page, Ask/Show HN and the monthly hiring thread as rows.
- [Google Sheets Export](https://apify.com/rowfeed/google-sheets-export) – send the results of any run to a Google Sheet.

# Actor input Schema

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

Public channels, one per line: durov, @durov or a t.me link. Empty form = the official Telegram channel as an example.

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

Newest first. With keywords: per channel and keyword.

## `searches` (type: `array`):

Search inside each channel with Telegram's own channel search. Empty = all posts.

## `postedWithinHours` (type: `integer`):

Only posts from this many hours, e.g. 24 for a daily schedule. 0 = any time.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "@nytimes",
    "https://t.me/telegram"
  ],
  "maxPostsPerChannel": 100,
  "searches": [
    "bitcoin",
    "election"
  ],
  "postedWithinHours": 0
}
```

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

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

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

```

## MCP server setup

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