# Telegram Channel Scraper – Posts, Views & Media (`anxuanng/telegram-channel-scraper`) Actor

Scrape public Telegram channels: post text, date, views, reactions, photos, videos, links, forwards and channel subscriber counts. Search inside a channel, filter by date, and monitor daily with only-new-posts mode. No login, no API key, pay per post.

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

## Pricing

$0.60 / 1,000 post scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

Scrape **public Telegram channels** without logging in and get every post as clean JSON: text, date, views, reactions, photos and videos, links, link previews, forwards, replies, and the channel's subscriber count. Search inside a channel, stop at a date, and run it on a schedule with **only-new-posts mode** so you never pay twice for the same post. No Telegram account, no API key, no phone number.

### What data does the Telegram Channel Scraper extract?

- Scrape posts from any public Telegram channel by username or t.me link
- Extract post text as plain text and HTML, publish date, edited flag and author signature
- Extract view counts as numbers ("1.41M" becomes 1,410,000)
- Extract reactions per emoji and total reactions
- Extract photos, videos with thumbnails and duration, documents, stickers and polls
- Extract every link in the post, hashtags, @mentions and the link preview card
- Extract "forwarded from" source and the post it replies to
- Extract channel title, description, avatar and subscriber, photo, video, file and link counts
- Search inside a channel with Telegram's own search
- Filter by date ("7 days", "24 hours" or an exact date)
- Monitor channels on a schedule and get only posts published since the last run

### What can you use Telegram channel data for?

- **Crypto and trading signals**: collect calls and announcements from signal and exchange channels as they are posted
- **News monitoring**: follow breaking-news and regional channels that publish on Telegram first
- **Brand and competitor tracking**: see what a company announces and how much engagement it gets
- **Market and OSINT research**: archive public channels for analysis, sentiment and trend detection
- **Influencer analytics**: views and reactions per post to compare channels before buying ads
- **AI and RAG pipelines**: feed fresh channel content into LLM summaries, alerts and search

### How do I scrape a Telegram channel?

1. Press **Try for free**.
2. Add channels as usernames (`cointelegraph`), handles (`@durov`) or links (`https://t.me/tginfo`).
3. Optionally type a **search** term, a **date limit** like `7 days`, and the **max posts per channel**.
4. Press **Start**. Posts appear newest first in the Output tab. Export JSON, CSV or Excel, or read the dataset through the API.

#### How do I monitor a Telegram channel every day?

Turn on **Only new posts since the last run** and create a schedule (for example every hour or every morning). The Actor remembers the newest post per channel between runs and returns only what is new, so each post is charged once. Connect a webhook, Slack, Google Sheets, Zapier, Make or n8n to receive the new posts automatically.

### What does the output look like?

```json
{
  "id": "cointelegraph/72034",
  "channel": "cointelegraph",
  "postId": 72034,
  "url": "https://t.me/cointelegraph/72034",
  "date": "2026-09-10T17:10:01+00:00",
  "edited": false,
  "text": "🇺🇸 INSIGHT: Peter Schiff says ...",
  "views": 653,
  "viewsText": "653",
  "reactions": [{ "emoji": "❤", "count": 8 }, { "emoji": "🔥", "count": 3 }],
  "reactionsTotal": 20,
  "links": ["https://cointelegraph.com/category/markets"],
  "hashtags": [],
  "mentions": [],
  "media": [{ "type": "photo", "url": "https://cdn4.telesco.pe/file/....jpg" }],
  "linkPreview": null,
  "forwardedFrom": null,
  "replyTo": null,
  "channelTitle": "Cointelegraph",
  "channelSubscribers": 336000
}
```

### What are the input options?

| Field | Default | What it does |
|---|---|---|
| `channels` | required | usernames, @handles or t.me links |
| `searchQuery` | none | only posts matching this text |
| `maxPostsPerChannel` | 100 | newest first, then back in history |
| `newerThan` | none | `2026-09-01`, `24 hours`, `7 days`, `2 weeks` |
| `onlyNewPosts` | off | return only posts newer than the last run |
| `maxItems` | 1000 | cap across all channels |
| `proxyConfiguration` | Apify proxy | datacenter proxy is enough |

### How much does it cost to scrape Telegram?

You pay per post, with no start fee: 1,000 posts cost about sixty cents. Posts are fetched 20 at a time over plain HTTP, so runs are fast and cheap, and only-new-posts mode keeps scheduled monitoring runs close to zero when a channel is quiet. Set a budget on the run to cap spend.

### How do I use the Telegram scraper API from code?

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("anxuanng/telegram-channel-scraper").call(run_input={
    "channels": ["cointelegraph", "binance_announcements"],
    "newerThan": "24 hours",
    "maxPostsPerChannel": 200,
})
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(post["channel"], post["date"], post["views"], (post["text"] or "")[:80])
```

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

The Actor is also an **MCP tool**, so Claude, Cursor or any AI agent can read Telegram channels directly.

### Frequently asked questions

#### Do I need a Telegram account or API key?

No. The Actor reads the public web preview that Telegram serves at t.me/s/channel. Nothing is sent from your account.

#### Why did a channel return no posts?

The channel is private, does not exist, or its owner disabled the web preview. The run log names the channel; other channels in the same run continue normally.

#### Can it scrape groups, members or private chats?

No. Only public channels with web preview are supported. Member lists and private chats need a logged-in account and are out of scope by design.

#### How far back can I go?

As far as the channel's public history goes. Pagination walks back 20 posts per request until your post limit or date limit.

#### Is it legal to scrape Telegram channels?

The Actor reads only content that the channel publishes publicly on the web. You are responsible for how you use it; respect copyright when republishing.

#### Which other scrapers do you maintain?

[Batdongsan.com.vn Property Scraper](https://apify.com/anxuanng/batdongsan-scraper), [Vietnam Jobs Scraper](https://apify.com/anxuanng/vietnam-jobs-scraper) and [GrabFood Restaurants Scraper](https://apify.com/anxuanng/grabfood-restaurants-scraper).

### Need a custom dataset or another site?

I build and maintain scrapers for Vietnamese and Southeast Asian websites (real estate, jobs, food delivery, e-commerce, Telegram). If you need a one-off dataset, a daily feed into Google Sheets or your database, or a scraper for a site that is not listed here, open an issue on this page with the site and the fields you need. You get a sample of real rows before you pay for anything.

### Support

Open an issue on this page for bugs or a field you need. Typical response within one business day (GMT+7).

# Actor input Schema

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

Public channel usernames, @handles or links, e.g. "cointelegraph", "@durov", "https://t.me/tginfo".

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

Only posts matching this text, using Telegram's own in-channel search. Leave empty for all posts.

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

Newest posts first. Pagination goes back in history until this limit or the date limit.

## `newerThan` (type: `string`):

An ISO date like 2026-09-01, or a relative period like "24 hours", "7 days", "2 weeks".

## `onlyNewPosts` (type: `boolean`):

Remembers the newest post per channel and returns only newer ones next time. Ideal for scheduled monitoring: you never pay twice for the same post.

## `maxItems` (type: `integer`):

Hard cap across all channels. Charged per post actually pushed.

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

Apify datacenter proxy is enough for most runs.

## Actor input object example

```json
{
  "channels": [
    "cointelegraph",
    "durov"
  ],
  "maxPostsPerChannel": 100,
  "onlyNewPosts": false,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped rows as JSON; append ?format=csv for CSV.

## `runSummary` (type: `string`):

Counts of pushed/skipped/failed rows and whether the budget limit was hit.

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

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

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

```

## MCP server setup

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