# Telegram Channel Scraper: Posts, Views & Links (`transparent_meteorite/telegram-channel-scraper`) Actor

Scrape public Telegram channel posts: text, date, views, links, hashtags, media, forwards, subscribers. Search a channel or go back to a date. No login, no API key.

- **URL**: https://apify.com/transparent_meteorite/telegram-channel-scraper.md
- **Developed by:** [Detroit Web Agent - Open Data](https://apify.com/transparent_meteorite) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.17 / 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.
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 Channel Scraper: Posts, Views & Links

Scrape public Telegram channels without a login or API key. Give it channel names or links and get every post back as a row: text, date, views, links, hashtags, mentions, photos, video, forwards and replies, plus the channel title and subscriber count.

It reads the public web preview that Telegram publishes at `t.me/s/<channel>`, so there is no phone number, no session and no proxy to set up.

### Run in 30 seconds

1. Open the **Input** tab. The prefilled list reads two public channels, 25 posts each.
2. Click **Start**.
3. Open the **Posts** table in the Output tab, or export as JSON, CSV or Excel.
4. Replace the channels with your own and run again.

### What does this Actor do?

For each channel it pages back from the newest post, 20 posts per request, until it has your limit, reaches your date, or runs out of posts.

| Group | Fields |
|---|---|
| Channel | `channel`, `channelTitle`, `channelSubscribers` |
| Post | `postId`, `postUrl`, `date`, `text`, `edited` |
| Reach | `views` |
| Content | `links`, `hashtags`, `mentions`, `photoUrls`, `videoUrl`, `hasVideo`, `hasPoll` |
| Context | `forwardedFrom`, `replyToId` |
| Run | `scrapedAt` |

You can also search inside a channel, stop at a date, or return only posts newer than the last run for scheduled monitoring.

### Limits

- Only public channels with the web preview on can be read. Private channels, groups and channels that turned the preview off are reported in `OUTPUT` as not found.
- Views are what Telegram shows on the preview, rounded as Telegram rounds them (for example 1.67M).
- Reactions, comments and full media files are not included. Photo and video links point at Telegram's own preview files.
- Deleted posts are gone. The preview shows only what is still public.
- Telegram can slow requests down. The Actor retries with a pause. If a run reaches its time limit it stops cleanly and lists unread channels in `notChecked`.

### Input

| Field | What it does |
|---|---|
| `channels` | Channel names or links, one per line. |
| `maxPostsPerChannel` | Posts per channel. Default 100. |
| `sinceDate` | Stop going back at this date, for example 2026-10-01. |
| `searchQuery` | Return only posts that match this word or phrase. |
| `onlyNewSinceLastRun` | Return only posts newer than the previous run of the same task. |

### Example input

```json
{
  "channels": ["telegram", "https://t.me/durov"],
  "maxPostsPerChannel": 50,
  "sinceDate": "2026-10-01"
}
```

### Output sample

```json
{
  "channel": "telegram",
  "channelTitle": "Telegram News",
  "channelSubscribers": 9150000,
  "postId": 441,
  "postUrl": "https://t.me/telegram/441",
  "date": "2026-11-05T14:02:11+00:00",
  "text": "Telegram 12.0 is out ...",
  "views": 1670000,
  "forwardedFrom": null,
  "replyToId": null,
  "links": ["https://telegram.org/blog"],
  "hashtags": [],
  "mentions": [],
  "photoUrls": [],
  "videoUrl": null,
  "hasVideo": false,
  "hasPoll": false,
  "edited": false,
  "scrapedAt": "2026-11-10T03:00:00.000Z"
}
```

The values above are an illustration. Your own run returns the real posts.

### Use cases

- Monitor competitor, news or crypto channels and send new posts to Slack or a sheet.
- Measure which posts and topics get the most views in a niche.
- Collect links and hashtags that a channel shares over time.
- Build a searchable archive of a public channel for research.

### Pricing and cost control

Pay per post: **$0.0019 per post on the free plan, $0.00117 on the Gold plan** (Bronze $0.00177, Silver $0.00151), plus a $0.00005 start fee per run. That is $1.90 per 1,000 posts. Use **Maximum cost per run** or **Max posts per channel** to cap spend; the run stops cleanly at the limit.

### Integrations and scheduling

Run it on a schedule with **Only new posts since last run** turned on, then send results to Google Sheets, Slack, email, Make, Zapier or n8n with the Apify integrations, or call it through the REST API and the Python and JavaScript clients.

### Use with the API, n8n, Make, Zapier or AI agents

**API** (one call, returns the rows as JSON):

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

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("transparent_meteorite/telegram-channel-scraper").call(run_input={"channels": ["telegram", "durov"], "maxPostsPerChannel": 25})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row)
```

- **n8n, Make, Zapier:** use the Apify app's "Run Actor" step with actor `transparent_meteorite/telegram-channel-scraper`, paste the input JSON, then map the dataset items to your sheet.
- **AI agents (MCP):** connect the Apify MCP server at `https://mcp.apify.com?tools=transparent_meteorite/telegram-channel-scraper` to Claude, Cursor or any MCP client, and your agent can run this Actor as a tool.

### Fair use and legal

The Actor reads only information Telegram already shows publicly on the web. It does not log in, join channels or read private chats. Respect the channel owners' rights and the privacy rules that apply to you. This is an independent tool, not affiliated with Telegram.

### FAQ

**Do I need a Telegram account or API key?** No.

**Can it read private channels or groups?** No, only public channels with a web preview.

**How far back can it go?** As far back as the preview pages go. Use **Only posts since** to stop at a date.

**Why do I get fewer posts than I asked for?** The channel has fewer public posts, or you set a date or search limit.

### Support

Found a channel that reads badly? Open an issue on the Issues tab with the run URL and the channel name.

### Related actors

- [Website Email Extractor](https://apify.com/transparent_meteorite/website-contact-extractor) for emails and contact details from sites linked in posts.
- [Company Enrichment by Domain](https://apify.com/transparent_meteorite/company-enrichment-by-domain) to add firmographics to companies you find.
- [Domain Intelligence Lookup](https://apify.com/transparent_meteorite/domain-intelligence-lookup) to check domains that channels link to.

### Changelog

- **0.1**: First private build. Posts, views, links, search, date limit, new-only mode.

# Actor input Schema

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

Public channel names or links, one per line: telegram, @durov or https://t.me/telegram. Only channels with a public web preview can be read.

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

Stops after this many posts for each channel. Each page of 20 posts is one request.

## `sinceDate` (type: `string`):

Stop going back at this date, for example 2026-10-01. Leave empty for no date limit.

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

Only posts that match this word or phrase, using the channel search.

## `onlyNewSinceLastRun` (type: `boolean`):

Remembers the newest post per channel between runs (same task) and returns only newer ones. Good for scheduled monitoring.

## Actor input object example

```json
{
  "channels": [
    "telegram",
    "durov"
  ],
  "maxPostsPerChannel": 25,
  "onlyNewSinceLastRun": false
}
```

# Actor output Schema

## `posts` (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",
        "durov"
    ],
    "maxPostsPerChannel": 25
};

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

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

```

## MCP server setup

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