# Telegram Scraper: Channel Posts & Messages (No Login) (`erofabbri/telegram-channel-scraper`) Actor

Telegram channel scraper with no login or API keys: export messages from public channels with text, date, views, reactions, media, links and forwards. Search, date filters, full history and new-post monitoring. $0.50 per 1,000 posts.

- **URL**: https://apify.com/erofabbri/telegram-channel-scraper.md
- **Developed by:** [Eros Fabbri](https://apify.com/erofabbri) (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.35 / 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/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 for Channels 📣 No Login, No API Keys

**Telegram channel scraper: export messages and posts from any public Telegram channel**: text, date, views, reactions, photos and videos, links, forwards, replies and polls, plus the channel's name and subscriber count.

No Telegram account, phone number or API keys: the Actor reads the public web preview of each channel (`t.me/s/<channel>`), the same page anyone can open in a browser. Runs are fast and cheap, and there is nothing to get banned.

### Why use it?

- 📰 **News and media monitoring**: follow breaking-news channels and get new posts in Slack, email or a spreadsheet
- 💹 **Crypto and finance**: track exchange announcements, listings and signal channels as soon as they post
- 🔎 **OSINT and research**: archive channels, analyse narratives, hashtags and forwarding networks
- 📈 **Marketing and brand monitoring**: measure views and reactions, compare channels, find mentions of your brand
- 🤖 **AI and data pipelines**: clean JSON ready for LLMs, sentiment analysis and dashboards

### Features

- 📣 **Many channels per run**: usernames, `@names` or `t.me` links
- 🔍 **Search inside channels** with Telegram's own search
- 📅 **Date filter**: last N days or from a given date, or the **full channel history**
- 👁️ **Engagement**: views, every reaction with its count (emoji, custom emoji and paid Stars), and the total
- 🖼️ **Media**: photos, videos (thumbnail and duration), documents, voice messages, stickers
- 🔗 **Links, hashtags and @mentions** extracted from the text, plus link previews
- ↪️ **Forwards and replies**: who a post was forwarded from, and what it replies to
- 🔔 **Monitoring mode**: returns only posts not seen in previous runs. Schedule it every few minutes or hours

### Input examples

Latest 100 posts of two channels:

```json
{
    "channels": ["durov", "https://t.me/telegram"],
    "maxPostsPerChannel": 100
}
```

Monitor channels for new posts (schedule it, e.g. every 15 minutes):

```json
{
    "channels": ["binance_announcements", "@durov"],
    "onlyNew": true
}
```

Every post mentioning a word in the last 90 days:

```json
{
    "channels": ["durov"],
    "searchQuery": "privacy",
    "lookbackDays": 90,
    "maxPostsPerChannel": 0
}
```

### Output example

```json
{
    "id": "durov/552",
    "postNumber": 552,
    "url": "https://t.me/durov/552",
    "date": "2026-10-11T14:52:40Z",
    "isEdited": false,
    "text": "✨ Designers × AI\n\n🆕 The mockup era is over. Today’s AI tools give every designer a superpower...",
    "views": 1500000,
    "reactions": [
        { "type": "paid_stars", "emoji": "⭐", "count": 6880 },
        { "type": "custom_emoji", "emoji": null, "customEmojiId": "5936157098181135162", "count": 15200 },
        { "type": "custom_emoji", "emoji": null, "customEmojiId": "5399847211989246390", "count": 6480 }
    ],
    "totalReactions": 33610,
    "author": "Pavel Durov",
    "forwardedFrom": null,
    "replyTo": null,
    "media": [
        { "type": "video", "thumbnail": "https://cdn4.telesco.pe/file/...", "duration": "1:15", "link": "https://t.me/durov/552" }
    ],
    "linkPreview": null,
    "poll": null,
    "hashtags": [],
    "mentions": ["@designers"],
    "links": ["https://t.me/designers"],
    "channel": "durov",
    "channelTitle": "Pavel Durov",
    "channelSubscribers": 10200000,
    "scrapedAt": "2026-10-26T08:53:46Z"
}
```

### How to scrape a Telegram channel

1. Click **Try for free** and fill in the input.
2. Click **Start**: results appear in a table as the run goes.
3. Download them as **JSON, CSV or Excel**, or use them through the API.

Call it from Python with the [Apify client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("erofabbri/telegram-channel-scraper").call(run_input={
    "channels": ["durov", "telegram"],
    "maxPostsPerChannel": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["date"], item["views"], (item["text"] or "")[:80])
```

Or from JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('erofabbri/telegram-channel-scraper').call({ channels: ['durov'], onlyNew: true });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Schedule it and connect **Slack, email, Google Sheets, Make, Zapier, n8n** or a webhook through Apify integrations, or use it from AI agents through the [Apify MCP server](https://mcp.apify.com).

### Pricing

**$0.50 per 1,000 posts** ($0.0005 per post), with discounts on higher Apify plans. No extra charge per channel, per media file or per search, and proxy costs are included.

You only pay for posts saved: empty monitoring runs cost almost nothing. Set a **maximum charge per run** and the Actor stops saving once it is reached.

### Good to know

- Only **public channels** with web preview can be read. Private channels, groups and user chats need a logged-in account and are not supported.
- Views and counts are as shown by Telegram, so large numbers are rounded (e.g. `4.7M` → 4,700,000).
- Media files are returned as links and thumbnails, not downloaded.
- This Actor reads public data and is not affiliated with Telegram.

### FAQ

**Do I need a Telegram account or API keys?**
No. The Actor reads the public web preview of each channel, so there's no phone number, no API ID and no session file, and no account that can get banned.

**Can I scrape private channels or groups?**
No. Only public channels with web preview are supported. Private channels, groups and user chats require a logged-in account.

**Can I export a channel's full history?**
Yes. Set "Max posts per channel" to 0 and the Actor goes back to the channel's first post.

**Can I search messages by keyword?**
Yes. "Search in channels" uses Telegram's own channel search, so only matching posts are returned and billed.

**Can I get new posts automatically?**
Yes. Turn on "Only new since last run" and schedule the Actor (for example every 15 minutes): each run returns only posts published since the previous one.

**Does it download photos and videos?**
It returns links to photos, video thumbnails and durations, not the media files themselves.

### Feedback

Missing a field or an option? Open an issue on the Actor page: requests from users get priority, and bugs are usually fixed within 24-48 hours.

# Actor input Schema

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

Public channels: username ('durov'), '@durov', or a link ('https://t.me/durov', 'https://t.me/s/durov'). Private channels, groups and users can't be read without login.

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

Newest posts first. 0 = the whole channel history.

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

Return only posts matching this word or phrase (Telegram's own channel search).

## `lookbackDays` (type: `integer`):

Only posts from the last N days. 0 = no date limit.

## `postsFrom` (type: `string`):

Only posts on or after this date (overrides Last N days).

## `onlyNew` (type: `boolean`):

Remember posts returned by previous runs and return only new ones. Schedule it to forward new posts to Slack, email, Google Sheets or a webhook.

## `maxConcurrency` (type: `integer`):

How many channels are scraped at the same time.

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

Requests rotate to a new IP if Telegram throttles one.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 100,
  "lookbackDays": 0,
  "onlyNew": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Telegram posts found by the run, one item per post.

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

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

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

```

## MCP server setup

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