# Telegram Channel Scraper: Posts, Views & Media (No Login) (`kizukidata/telegram-channel-feed`) Actor

Read Telegram channel posts from public t.me channels: post text, HTML, date, views, reactions, media, and channel profile. Filter by keyword or schedule new-post monitoring. No login required; not affiliated with Telegram.

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

## Pricing

from $0.17 / 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/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

### What does Telegram Channel Scraper do?

Read Telegram channel posts from public `t.me` channels as one row per post: post text, HTML, timestamp, views, reactions, forwarded-from, media, link preview, reply target, and channel profile (title, description, subscribers, photo).

Filter by `keywords` or `since` date, and use `onlyNewItems` on a schedule for OSINT, news, or channel monitoring. Empty input (`{}`) reads the sample channel `telegram`.

### Use cases

- **A fixed watch on a channel.** Schedule a run with `onlyNewItems` and get only the posts a channel published
  since the previous run.
- **News and breaking stories.** Follow news channels and keep the text, views and reactions in one table.
- **Compare reactions.** Compare views and reaction counts across channels and posts at the same read time.
- **Keep only matching posts.** `keywords` keeps only the posts that mention a word or phrase, and only those are
  charged.
- **Material for LLMs and search.** `text` is ready for search and summarising; `textHtml` keeps the formatting the
  channel used.

### What data can you get?

| Group | Fields |
|---|---|
| Channel (repeated on every post row) | `channel`, `channelTitle`, `channelUrl`, `channelDescription`, `channelSubscribers`, `channelPhoto` |
| Post | `postId`, `url`, `publishedAt`, `text`, `textHtml` |
| Engagement (at read time) | `views`, `reactions[]` (`emoji`, `customEmojiId`, `count`, `type`), `reactionTotal` |
| Media | `media[]` (`type`, `url`, `thumbnailUrl`, `title`, `extra`, `durationSeconds`), `mediaType`, `mediaCount`, `videoDurationSeconds` |
| Context | `forwardedFrom`, `links`, `replyToUrl`, `linkPreview`, `replyCount`, `commentsUrl` |
| Status | `error` (`null` on a post row) |

### How to use Telegram Channel Scraper

1. Put the channels into **Channels** (`channels`): `durov`, `@durov` or `t.me/durov`, at least one and up to 50 per run.
2. Set **Maximum posts read per channel** (`maxPostsPerChannel`: 1–200, newest first) and, for older history, **Only posts on or after
   this date**.
3. Optionally set **Keywords in the post body** (`keywords`: up to 20) to keep only matching posts.
4. For monitoring, turn on **Only new posts** (`onlyNewItems`) and schedule the Actor.
5. Run the Actor and read the dataset, or export it to CSV, Excel or JSON.

`{}` returns the latest posts of `@telegram`.

#### Input example

```json
{
    "channels": ["durov", "@telegram", "https://t.me/telegram"],
    "maxPostsPerChannel": 20,
    "since": "2026-11-01",
    "keywords": ["release"],
    "onlyNewItems": false,
    "maxItems": 20
}
```

### Input

| Field | Default | Meaning |
|---|---|---|
| `channels` | `telegram` | 1 to 50 public channels: `durov`, `@durov` or `t.me/durov`. An empty list is refused as invalid input; invalid entries are skipped and listed in OUTPUT. |
| `maxPostsPerChannel` | 20 | Posts read per channel, newest first, 1–200. Posts a filter drops still count towards this limit. |
| `since` | empty | `YYYY-MM-DD` (UTC). Posts before it are left out and reading stops once the channel is older than the date. Empty means no cutoff. |
| `keywords` | empty | Up to 20 words or phrases; a post is kept when its text contains any of them (case-insensitive). Only matching posts are written and charged. |
| `onlyNewItems` | false | Return only posts that an earlier run of the same input did not return. The state is kept per channel, keywords and `since` for 90 days. |
| `maxItems` | 20 | Rows written per run, 1–1000, shared across channels. |

### Output

One row per post (the default dataset):

```json
{
    "id": "durov/531",
    "source": "Telegram public channel",
    "channel": "durov",
    "channelTitle": "Pavel Durov",
    "channelUrl": "https://t.me/durov",
    "channelDescription": "Founder of Telegram.",
    "channelSubscribers": 10100000,
    "channelPhoto": "https://cdn4.telesco.pe/file/sample.jpg",
    "postId": "531",
    "url": "https://t.me/durov/531",
    "publishedAt": "2026-07-16T20:45:25.000Z",
    "text": "Telegram now has a Rich Text Editor.\n\nIt supports tables, headings...",
    "textHtml": "<b>Telegram now has a Rich Text Editor.</b><br><br>It supports tables, headings...",
    "views": 5880000,
    "reactions": [
        { "emoji": "👍", "customEmojiId": null, "count": 599, "type": "emoji" },
        { "emoji": null, "customEmojiId": "5265077361648368841", "count": 54700, "type": "custom" }
    ],
    "reactionTotal": 55299,
    "forwardedFrom": null,
    "media": [
        {
            "type": "video",
            "url": "https://cdn4.telesco.pe/file/sample.mp4",
            "thumbnailUrl": "https://cdn4.telesco.pe/file/sample.jpg",
            "title": null,
            "extra": null,
            "durationSeconds": 43
        }
    ],
    "mediaType": "video",
    "mediaCount": 1,
    "videoDurationSeconds": 43,
    "links": [],
    "replyToUrl": null,
    "linkPreview": null,
    "replyCount": null,
    "commentsUrl": null,
    "error": null
}
```

- **Post + channel in one row.** The channel fields are repeated on every post row of that channel, so the
  dataset is one table. There is no separate "channel" row type, and a channel with no posts writes no row.
- Counts are abbreviated by Telegram (`5.88M`). The row keeps the number the page shows, expanded (`5880000`),
  not an exact count.
- `media[].url` is the CDN URL the preview exposes; it is signed and can expire. A document or audio entry has
  the file name in `title` and `url: null`.
- `reactions[].emoji` is the standard emoji; a premium custom emoji has only an ID (`customEmojiId`); a paid
  reaction (Telegram Stars) has `type: "paid"`.
- `isNew` appears only with `onlyNewItems`.
- **`text` and `textHtml`** are the same body twice: plain text for searching and summarising, HTML for the
  formatting the channel used. The HTML keeps Telegram's own tags (`b`, `i`, `u`, `s`, `code`, `pre`,
  `blockquote`, `a`, `tg-emoji`, `tg-spoiler`, `br`); script, style, iframe and inline event handlers are
  removed. A custom emoji keeps its `emoji-id` and its image.
- **The body is the post's own text.** A reply shows the quoted post above its own body; that quote is not
  returned as `text`. `replyToUrl` is the post this one answers, `null` when the post answers nothing.
- **`linkPreview`** is the card Telegram renders under the post: `url`, `title`, `siteName`, `description`,
  `imageUrl`. `url` is also the last entry of `links`.
- **`mediaType`** is the kind of the first attachment and `mediaCount` the number of them, so a filter does not
  have to read `media[]`. **`videoDurationSeconds`** is the length of a video attachment.

#### Status rows

A channel with no public preview gets one row with `error.type` and a fixed message, and is not charged:

| `error.type` | Meaning |
|---|---|
| `channel-not-found` | t.me knows no channel or account with that name. |
| `no-public-preview` | The name exists but is a user account, a private channel or a restricted one; only public channels can be read. |

### How much does it cost?

Telegram Channel Scraper uses **pay-per-event** pricing: you pay only for the post rows returned, not for the time
it runs.

| Apify plan (discount tier) | Price per 1,000 posts | Price per post |
|---|---|---|
| **Free** | $0.28 | $0.00028 |
| **Starter (Bronze)** | $0.25 | $0.00025 |
| **Scale (Silver)** | $0.21 | $0.00021 |
| **Business (Gold)** | $0.17 | $0.00017 |

Apify's Free plan includes USD 5 of monthly usage, which covers about 17,857 posts at the Free tier price, run
start fees aside.

- **Run start fee**: USD 0.00005 per GB of memory per run (USD 0.00005 at this Actor's default 512 MB).
- Only successful post rows (`error: null`) are charged. Status rows, posts left out by filters, and posts
  already returned with `onlyNewItems` are **not charged**.

### Use with AI agents (MCP)

Telegram Channel Scraper works as a tool for AI agents such as Claude, Cursor and n8n agents through the Apify MCP server. Load this Actor, plus the tool that reads its input schema and pricing, with this server URL:

```text
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/telegram-channel-feed
```

- **Claude Code**: run `claude mcp add apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/telegram-channel-feed" -t http`.
- **Claude (web or desktop app)**: open **Customize → Connectors**, choose **Add custom connector**, name it `Apify` and paste the server URL above.
- **Cursor**: add the server to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):

```json
{
    "mcpServers": {
        "apify": { "url": "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/telegram-channel-feed" }
    }
}
```

- **n8n**: add the Apify node (on self-hosted n8n, install the community package `@apify/n8n-nodes-apify`) and choose **Run an Actor and get dataset**; for an n8n AI Agent, add **Apify Tool** as a tool.

The server signs you in to Apify with OAuth. A client that cannot use OAuth can send your Apify API token in an `Authorization: Bearer <APIFY_TOKEN>` header instead.

#### What to send from an agent

A monitoring call is one small input:

```json
{ "channels": ["durov"], "maxItems": 20, "onlyNewItems": true }
```

### Integrations and API

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~telegram-channel-feed/runs" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"channels":["durov"],"maxItems":20,"onlyNewItems":true}'
```

Poll `GET https://api.apify.com/v2/actor-runs/<RUN_ID>` for the status, read `defaultDatasetId`, then fetch
`GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json`.

#### n8n, Make and Zapier

Use the Apify integration, choose **Run Actor**, pass the channel list with `onlyNewItems: true`, then **Get
dataset items**. A schedule every 15 minutes with the same input returns only new posts, one row per post.

### Limitations

- **Unofficial tool, no login.** Not affiliated with, endorsed by, or sponsored by Telegram. Reads only public channel previews without a Telegram account; only returned post rows are charged.
- **Public channels only.** A user account, a private channel or a restricted one gets a `no-public-preview` row
  and no posts; such a row is free.
- **There are no comment bodies.** The public listing does not carry them. `replyCount` and `commentsUrl` are
  filled only when the listing exposes a reply link; comment text is not read.
- **Counts are approximate.** Telegram serves abbreviated figures, so `views`, `reactionTotal` and
  `channelSubscribers` are the numbers the page shows, expanded — and they are the values at read time.
- **`forwardedFrom` is often `null`**, even for a forwarded post: Telegram hides the source name on many public
  previews. The field is filled when the name is in the HTML.
- **A post without a date** keeps `publishedAt: null`. A post that no longer exists may still come back from an
  earlier page while the channel shifts.
- **`onlyNewItems` keeps one record per channel** in the named store `state-telegram-<actor id>`: the hashes of
  the posts already returned, with their ID and URL. A record is written only after the rows were written, so a
  failed run retries the posts. The record is kept for 90 days.

### FAQ

#### Does it need a Telegram account or the Telegram API?

No. It reads the public channel preview that any visitor can open in a browser, without login, cookies, an
account or a Telegram API key.

#### Why is there no comment text?

The public preview does not carry comment bodies and the Actor does not fetch external discussion threads.
`commentsUrl` is filled only when the listing exposes a link to them.

#### Why are the view counts round numbers?

Telegram prints `5.88M` rather than an exact figure. The Actor expands that to `5880000` so the field is a
number, but it cannot recover precision the page does not show.

#### Why did a channel come back as one row with an error?

That is a status row: `channel-not-found` or `no-public-preview` (a user account or a private channel). It is
free, and the other channels in the run are unaffected.

#### Is it legal to use this data?

The Actor reads only what any visitor sees on a public channel preview, without login, and does not read comment
text or the channel's private material. Telegram's terms do not allow automated collection of data from the
service, so check those terms and the law where you operate before you use the output. Records about people may
be personal data (for example under GDPR or CCPA). This is not legal advice.

### Related Kizuki Actors

Other Actors from Kizuki that work well with this one:

- [Google News Scraper](https://apify.com/kizukidata/google-news-feed) — the same watch over the news, by keyword or topic, with the publisher URLs.
- [YouTube Channel Scraper & Monitor](https://apify.com/kizukidata/youtube-channel-monitor) — the same watch over video channels, with views and comments.
- [URL to Markdown](https://apify.com/kizukidata/url-to-markdown) — pass the pages a post links to (`links`, whose last entry is the post itself) in to get clean Markdown, where the page can be read without JavaScript.
- [WeChat Official Account Articles Scraper](https://apify.com/kizukidata/wechat-article-reader) — WeChat Official Account articles, with full text, images and the account behind each post.
- [Naver Blog Scraper & Monitor](https://apify.com/kizukidata/naver-blog-feed) — the same new-post watch over Naver Blog, with the Korean body text, images, tags and sympathy counts.
- [Threads Scraper](https://apify.com/kizukidata/threads-scraper) — public Threads posts, profiles, replies and search results by username, keyword or post URL, with `onlyNewItems` monitoring and no login.

### Your feedback

Found a field that is wrong on a post, or a channel that changed its page? Open an Issue in this Actor's Issues
tab with the run ID. If you own a channel and want it excluded, name it in an Issue and it is added to an
opt-out list.

# Actor input Schema

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

Up to 50 public Telegram channel names (durov), @names, or t.me links. Leaving empty reads sample channel telegram (returned post rows are charged; unknown/private status rows are free).

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

Newest posts to read per channel (1-200, default 20). Filtered-out posts still count toward this per-channel cap.

## `since` (type: `string`):

UTC cutoff date YYYY-MM-DD (e.g. "2026-11-01"). Stops reading when reaching older posts; empty means no date cutoff.

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

Up to 20 case-insensitive words or phrases (e.g. \["release", "launch"]). Empty returns all posts. Only matching posts are charged.

## `onlyNewItems` (type: `boolean`):

true returns only posts unseen in prior runs with the same channels/keywords/since (90-day state); false (default) returns all. Failed runs retry.

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

Max rows per run (1-1000, default 20). Free status rows share this cap. Fairly shared across channels so small caps still cover all channels.

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

Leave empty or {} for direct connection. Set {"useApifyProxy": true} for Apify datacenter proxy if rate-limited (no residential proxies).

## Actor input object example

```json
{
  "channels": [
    "telegram"
  ],
  "maxPostsPerChannel": 20,
  "since": "",
  "keywords": [],
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Post rows returned by this run, one per post (and one status row per channel with no public preview).

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

Status code, counters and skipped input entries of this run.

# 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"
    ],
    "maxPostsPerChannel": 20,
    "since": "",
    "keywords": [],
    "onlyNewItems": false,
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/telegram-channel-feed").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"],
    "maxPostsPerChannel": 20,
    "since": "",
    "keywords": [],
    "onlyNewItems": False,
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/telegram-channel-feed").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"
  ],
  "maxPostsPerChannel": 20,
  "since": "",
  "keywords": [],
  "onlyNewItems": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kizukidata/telegram-channel-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kizukidata/telegram-channel-feed"
        }
    }
}
```

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/snxdKxjzNVWPcA88F/builds/26Vg13oK1aWehVO5B/openapi.json
