# Telegram Channel Posts Scraper - No Login, No API Key (`datasteppe/telegram-channel-posts-scraper`) Actor

Get posts from any public Telegram channel: text, date, views, reactions, links, media and forwards. No phone number, login or API key. Export to JSON, CSV, Excel.

- **URL**: https://apify.com/datasteppe/telegram-channel-posts-scraper.md
- **Developed by:** [DataSteppe](https://apify.com/datasteppe) (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

$1.50 / 1,000 post saveds

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 Posts Scraper

Extract posts from any **public Telegram channel** without a phone number, login or API key.

### What you get

For each post: channel, post ID, URL, date, full text, views, reactions (per emoji and total),
forwarded-from, photo and video URLs, links in the text, document/poll flags, edited flag,
plus channel title and subscriber count.

### Quick start

1. Enter channel usernames or links (`durov`, `@telegram`, `https://t.me/telegram`).
2. Set **Max posts per channel** (newest first) and optionally a **date** or **keywords**.
3. Run and download results as JSON, CSV or Excel.

### Pricing

Pay only for results: you are charged per post saved. No monthly fee.

### Limits

- Only public channels that have a web preview at `t.me/s/<channel>`. Private channels and groups are not supported.
- Comments are not included.

### Use cases

Media monitoring, brand mentions, competitor tracking, research datasets, feeding posts to LLM pipelines.

### Use cases

- **Media monitoring:** collect every post of news or industry channels into a spreadsheet.
- **Research and NLP datasets:** export text, dates, views and reactions for analysis.
- **Competitor content analysis:** find which posts get the most views and reactions.
- **Archiving:** save posts with links, photos and videos URLs.

### Example output

```json
{
  "channel": "tginfo",
  "postId": 12345,
  "url": "https://t.me/tginfo/12345",
  "date": "2026-11-09T18:02:11+00:00",
  "text": "Telegram released an update...",
  "views": 41200,
  "reactionsTotal": 512,
  "reactions": [{"emoji": "👍", "count": 300}],
  "forwardedFrom": null,
  "links": ["https://telegram.org/blog"],
  "photos": ["https://cdn4.telesco.pe/file/..."]
}
```

### FAQ

**Do I need a phone number, login or API ID?** No. Only public channels with a web preview (`t.me/s/<channel>`) are read.
**How far back can I go?** As far as the public preview goes, usually the full history. Use `sinceDate` to stop early and pay less.
**Can I filter by keyword?** Yes, use `keywords`. For searching across many channels by keyword use *Telegram Keyword Search*.
**Export formats?** JSON, CSV, Excel, XML, HTML, or straight to Google Sheets, Make, Zapier, n8n via integrations.

# Actor input Schema

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

Public channel usernames or links, e.g. durov, @telegram or https://t.me/telegram

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

Newest posts first. 0 means no limit.

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

Optional, YYYY-MM-DD. Stops when older posts are reached.

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

Optional. Keep only posts whose text contains any of these words (case-insensitive).

## Actor input object example

```json
{
  "channels": [
    "telegram",
    "durov"
  ],
  "maxPostsPerChannel": 50
}
```

# 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": [
        "telegram",
        "durov"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datasteppe/telegram-channel-posts-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",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datasteppe/telegram-channel-posts-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/Roknf3eo2GCVOpfVH/builds/UU0ssWGMUDBKtzi7T/openapi.json
