# Telegram Channel Scraper — Posts, Views, Reactions (No Login) (`jaybird/telegram-channel-scraper`) Actor

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

## Pricing

$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 Channel Scraper — Posts, Views, Reactions (No Login)

Scrape posts from **public Telegram channels** with no phone number, no Telegram account and no API keys. Give it channel names or `t.me` links and get clean JSON for every post: text, date, views, reactions, photos, videos, files, links, hashtags, forwards and replies, plus channel subscribers.

### What you can do with it

- **Monitor news, crypto and brand channels**: collect every new post since a date.
- **Media and sentiment research**: views and reaction counts per post.
- **Lead and link discovery**: every outbound link, @mention and #hashtag, ready to filter.
- **Keyword tracking**: Telegram's own in-channel search, so you only pay for matching posts.

### Input

| Field | Description |
|---|---|
| `channels` | Usernames or links: `durov`, `@durov`, `https://t.me/durov`, `https://t.me/s/durov` |
| `maxPostsPerChannel` | Newest first. Default 100; 0 = no limit |
| `dateFrom` / `dateTo` | `2026-11-01`, an ISO timestamp, or `7 days`, `3 months` |
| `searchQuery` | Optional keyword search inside each channel |
| `skipPostsWithoutText` | Skip media-only posts (not charged) |
| `includeChannelInfo` | Attach title, description, subscribers and media counters to each post (free) |
| `maxItems` | Hard cap across all channels (default 1,000) |

```json
{ "channels": ["durov", "https://t.me/telegram"], "dateFrom": "30 days", "maxPostsPerChannel": 0 }
```

### Output (one item per post)

```json
{
  "id": 560,
  "channel": "durov",
  "url": "https://t.me/durov/560",
  "channelTitle": "Pavel Durov",
  "date": "2026-11-13T16:02:27+00:00",
  "edited": false,
  "text": "Re alleged RCE in new TG Android/Windows widgets:\n\nThe issue...",
  "views": 286000,
  "viewsText": "286K",
  "author": "Pavel Durov",
  "hashtags": [],
  "mentions": [],
  "links": [
    "https://t.me/durov/554",
    "http://t.me/monk"
  ],
  "photos": [],
  "videos": [],
  "documents": [],
  "hasAudio": false,
  "poll": null,
  "linkPreview": null,
  "forwardedFrom": null,
  "replyTo": null,
  "reactions": [
    {
      "emoji": null,
      "customEmojiId": "5399847211989246390",
      "count": 7180
    },
    {
      "emoji": null,
      "customEmojiId": "5373223594484587136",
      "count": 2740
    },
    {
      "emoji": null,
      "customEmojiId": "5936157098181135162",
      "count": 2330
    }
  ],
  "reactionsTotal": 12250,
  "paidStarReactions": 3290,
  "channelInfo": {
    "title": "Pavel Durov",
    "username": "durov",
    "description": "Founder of Telegram.",
    "subscribers": 10000000,
    "photos": 106,
    "videos": 47,
    "links": 205
  },
  "scrapedAt": "2026-11-13T17:13:35.587Z"
}
```

Views, subscribers and reactions are the rounded numbers Telegram shows publicly (for example 286K → 286000). Custom (premium) emoji reactions are returned as `customEmojiId`.

### Pricing

Pay per result: **$0.50 per 1,000 posts** ($0.0005 per saved post). No start fee, no monthly rental. Skipped, filtered and failed items are never charged. Set a maximum cost per run in Apify run options to cap spending.

### Limits

- **Public channels only.** It reads Telegram's public web preview (`t.me/s/<channel>`). Private channels, groups, invite links, bots, personal accounts and comment threads are not available there; such inputs are skipped and listed in the run status.
- Some channels disable the web preview. Those are skipped too (not charged).
- Media URLs are Telegram CDN links that can expire; download them soon if you need the files.
- Telegram rounds public counts (views, subscribers, reactions).

### FAQ

**Do I need a Telegram account or API ID?** No.
**How far back can it go?** To the start of the channel, as long as Telegram's web preview shows the posts.
**Can I run it on a schedule?** Yes. Use an Apify schedule with `dateFrom: "1 day"` to collect each day's new posts.

Questions or a channel that doesn't work? Open an issue on the Actor's Issues tab.

# Actor input Schema

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

Public channel usernames or links, one per line: durov, @durov, https://t.me/durov or https://t.me/s/durov. Private groups, invite links and personal accounts are not supported.

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

Newest posts first. 0 = no per-channel limit (stops at the date range or the start of the channel).

## `dateFrom` (type: `string`):

Only posts on or after this date. Use 2026-11-01, an ISO timestamp, or a relative period like "7 days" or "3 months". Scraping stops once older posts are reached.

## `dateTo` (type: `string`):

Only posts on or before this date (same formats). Leave empty for up to now.

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

Optional. Uses Telegram's own in-channel search, so only matching posts are fetched and charged.

## `skipPostsWithoutText` (type: `boolean`):

Skip media-only posts (photos/videos with no caption). Skipped posts are not charged.

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

Add channel title, description, subscriber count and media counters to every post (no extra charge).

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

Hard cap across all channels. You are only charged for saved posts.

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

Not needed in most cases. Turn on if you scrape thousands of pages and see rate limits.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 100,
  "skipPostsWithoutText": false,
  "includeChannelInfo": true,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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("jaybird/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("jaybird/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 jaybird/telegram-channel-scraper --silent --output-dataset

```

## MCP server setup

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