# Telegram Channel Scraper & Keyword Monitor - No Login (`johnveds15/telegram-channel-scraper`) Actor

Scrape posts from any public Telegram channel with no login, API key or phone number: text, date, views, reactions, forwards, media, links, hashtags and mentions. Search inside channels by keyword, or turn on monitor mode to get only new posts on every scheduled run. $2 per 1,000 posts.

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

## Pricing

$2.00 / 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 Keyword Monitor & Channel Scraper (no login)

**Telegram keyword monitor:** search public channels for your keywords and get only the new matching posts on every scheduled run. It is also a Telegram channel scraper for text, date, views, reactions, forwards, media, links, hashtags and mentions, with no Telegram account, API key or phone number.

Scrape posts from **any public Telegram channel** without a Telegram account, API key, phone number or session string. Give it channel names, get clean JSON, CSV or Excel: post text, date, **views**, **reactions**, forwards, media, links, hashtags and mentions. Add keywords to search inside channels, or switch on **monitor mode** and schedule it to receive only the posts that are new since the last run.

**$2 per 1,000 posts. No start fee. Channels that cannot be read are never charged.**

### Sample output (free, no run needed)

See real output before you run it: a public sample of **20 posts from several public channels**, exactly as this Actor returns them (text, date, views, reactions, forwards, links, hashtags, mentions), is on Hugging Face:
[JohnVeds15/telegram-multichannel-posts-sample](https://huggingface.co/datasets/JohnVeds15/telegram-multichannel-posts-sample?utm_source=apify\&utm_medium=readme\&utm_campaign=telegram-sample\&operator=products) — download the JSONL or browse it in the dataset viewer.

### What it does

- **Channel scraper** — the newest posts of one channel or a thousand channels, newest first, as deep into the history as you ask for.
- **Keyword search** — only posts that match your keywords, using Telegram's own search inside each channel. Every row says which keywords it matched.
- **Telegram monitor** — turn on *Monitor mode*, put the Actor on a schedule, and each run returns only posts newer than the last one it delivered. No duplicates, and a run that finds nothing new costs nothing. Combine it with keywords for keyword alerts.
- **Date window** — posts between two dates; the run stops paging when it reaches the start date, so you pay only for the window.
- **Numbers as numbers** — Telegram shows "1.2K views"; you get `1200`. Reactions are counted per emoji and in total.
- **Entities extracted for you** — outbound links, hashtags, @mentions and e-mail addresses per post, plus the link-preview card (site, title, description).
- **No login** — it reads the public web preview that Telegram itself publishes for every public channel (`t.me/s/<channel>`). Your Telegram account is never involved, so there is nothing to ban.

### Who uses a Telegram scraper

- **Brand and reputation monitoring** — a keyword monitor over the channels where your market talks.
- **Crypto, trading and deal channels** — new signals, listings and promo codes as structured data, minutes after they are posted.
- **News and OSINT research** — archive what public channels published, with view counts and timestamps, for analysis.
- **Competitor and content research** — which posts earn the most views and reactions in a niche.
- **AI and RAG pipelines** — a clean text feed from Telegram channels into your vector store, agent or LLM workflow.
- **Lead and link collection** — every outbound link, mention and e-mail address that public channels share.

### Input

| Field | What it does |
|---|---|
| `channels` (required) | Public channels. `durov`, `@durov`, `https://t.me/durov`, `https://t.me/s/durov` and post links like `https://t.me/durov/123` all work. |
| `maxMessagesPerChannel` | Newest posts first. Default 100. In monitor mode it caps the new posts returned per channel per run. |
| `keywords` | Optional. Only posts that match at least one keyword. |
| `exactKeywordMatch` | Optional. Keep only posts that literally contain a keyword (see the FAQ on word forms). |
| `onlyNew` | Monitor mode: only posts newer than the last run delivered. |
| `stateKey` | Optional name for a monitor, so several independent monitors can watch the same channel. |
| `sinceDate`, `untilDate` | Optional date window (UTC). |
| `includeChannelInfo` | Adds the channel's title, subscriber count and verified flag to every row. On by default. |
| `proxyConfiguration` | Off by default; not needed for normal runs. |

A simple run:

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

A keyword monitor, meant to be scheduled:

```json
{
  "channels": ["telegram", "durov"],
  "keywords": ["premium", "stickers"],
  "onlyNew": true,
  "maxMessagesPerChannel": 200
}
```

### Output

One row per post. Download as JSON, CSV, Excel or HTML, or read it through the Apify API.

```json
{
  "channel": "durov",
  "messageId": 553,
  "url": "https://t.me/durov/553",
  "date": "2026-11-09T13:00:39+00:00",
  "text": "700K+ self-custodial wallets created on Telegram in the last 48 hours alone.\n\n🦠 Adoption spreads virally. A wallet activates the moment someone receives Grams.\n\n💪 The crypto revolution is going strong.",
  "views": 599000,
  "reactionsTotal": 40170,
  "reactions": [
    {
      "emoji": "⭐",
      "count": 14900
    },
    {
      "emoji": "custom",
      "count": 16100,
      "customEmojiId": "5399847211989246390"
    },
    {
      "emoji": "custom",
      "count": 5060,
      "customEmojiId": "5936157098181135162"
    }
  ],
  "forwardedFrom": null,
  "replyToMessageId": null,
  "author": "Pavel Durov",
  "edited": false,
  "media": [
    {
      "type": "photo",
      "url": "https://cdn4.telesco.pe/file/bge3VLstoSlfg86m3B0..."
    }
  ],
  "links": [
    "https://t.me/durov/551"
  ],
  "hashtags": [],
  "mentions": [],
  "emails": [],
  "linkPreview": null,
  "poll": null,
  "isService": false,
  "scrapedAt": "2026-11-10T01:38:59+00:00",
  "channelTitle": "Pavel Durov",
  "channelSubscribers": 10100000,
  "channelVerified": true
}
```

A real row from a test run (reactions list and media links shortened). `matchedKeywords` is added when you set keywords. Paid star reactions come back as ⭐; Telegram custom emoji have no character, so they come back as `custom` with a `customEmojiId`. Media types are `photo`, `video`, `round-video`, `voice`, `document`, `sticker` and `location`. A run summary (per channel: status, posts delivered, newest post id; failed channels and why; the number of posts charged) is saved in the key-value store under `SUMMARY`.

### Pricing

Pay per result: **$0.002 per post delivered — $2 per 1,000 posts.**

- No start fee and no monthly rental.
- A channel that is private, misspelled or temporarily unreadable is skipped, reported in the summary and **not charged**.
- A monitor run that finds nothing new delivers nothing and **costs nothing**, so checking every few minutes is cheap.
- Set a maximum charge per run in the Apify console and the Actor stops inside it. A one-off read keeps the newest posts; a monitor run keeps the oldest new posts and picks up the rest on the next run, so no post is skipped or charged twice.

Examples: the newest 100 posts of 10 channels = 1,000 posts = $2.00. A keyword monitor on 50 channels that finds 40 matching posts a day = about $0.08 a day.

### How to monitor Telegram channels on a schedule

1. Add your channels and, if you want alerts instead of a full feed, your keywords.
2. Turn on **Monitor mode**.
3. Save the input as a task and add a schedule (every 5 minutes, hourly, daily).
4. Connect the dataset to a webhook, Slack, Google Sheets, Make, n8n or Zapier from the Integrations tab.

The first run returns the newest posts up to your maximum; every later run returns only what is new.

### FAQ

**Do I need a Telegram account, API ID or phone number?**
No. No login of any kind. The Actor reads the public preview pages Telegram serves for public channels.

**Which channels work?**
Public channels — the ones with a `t.me/<name>` link that open in a browser with a "Preview channel" button. Private channels, invite links (`t.me/+...`), groups, bots and personal accounts have no public preview, so the Actor reports them as `no-preview` and does not charge for them. A channel that has turned off its web preview, or that Telegram restricts in browsers, behaves the same way.

**Why did a keyword search return a post without my exact word?**
Telegram's search matches word forms: searching "stickers" also finds "sticker". Turn on **Exact keyword match** to keep only posts that literally contain your keyword in the text or the link preview.

**Can it search all of Telegram for a keyword?**
No. Global search needs a signed-in Telegram account, which this Actor never uses. It searches inside the channels you list, and you can list up to 1,000 per run.

**Does it download photos and videos?**
It returns the media URLs Telegram exposes on the preview page (photos, video files and thumbnails). Those links are served by Telegram's CDN and expire after a while, so fetch the ones you need soon after the run. Some large videos show only a thumbnail in the preview.

**How far back can it go?**
To the first post of the channel. Raise *Max posts per channel* or set a start date.

**Are comments and reply counts included?**
No. The public preview does not show comments. Views, reactions, forwards-from and reply-to are included.

**How fast is it?**
Twenty posts per request, several channels in parallel. In our test, 861 posts from two channels took 19 seconds.

**Is scraping Telegram legal?**
The Actor collects only what public channels publish to everyone on the open web. Posts can still contain personal data, so make sure your use has a lawful basis under the rules that apply to you (GDPR, CCPA).

**Something is wrong or missing.**
Open an issue on the Issues tab with the channel name and what you expected. Fixes ship fast.

# Actor input Schema

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

Public Telegram channels, one per line. Any of these forms works: durov, @durov, https://t.me/durov, https://t.me/s/durov or a post link like https://t.me/durov/123. Only public channels have a web preview: private channels, invite links (t.me/+...), groups, bots and user accounts are skipped and never charged.

## `maxMessagesPerChannel` (type: `integer`):

Newest posts first. This caps rows and cost: 100 posts = $0.20. In monitor mode it caps how many NEW posts one run returns per channel.

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

Only return posts that match at least one keyword, using Telegram's own search inside each channel. Each post tells you which keywords it matched (matchedKeywords). Telegram matches word forms: 'stickers' also finds 'sticker'. Leave empty to get every post.

## `exactKeywordMatch` (type: `boolean`):

On = keep only posts whose text or link preview literally contains a keyword (case-insensitive). Off = keep everything Telegram's search returns, including other word forms.

## `onlyNew` (type: `boolean`):

On = the Actor remembers the newest post it delivered per channel and the next run returns only newer posts. Put the Actor on a schedule (every 5 minutes, hourly, daily) to get a feed of new posts or keyword alerts, with no duplicates and no charge when nothing is new. The first run returns the newest posts up to the max.

## `stateKey` (type: `string`):

Only for monitor mode. Runs that share a monitor name share their memory of what was already delivered. Use different names to run independent monitors on the same channel (for example one per keyword set).

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

Only posts published on or after this date (UTC), for example 2026-01-01. The run stops paging when it reaches this date, so you only pay for the window.

## `untilDate` (type: `string`):

Only posts published on or before this date (UTC).

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

Adds channelTitle, channelSubscribers and channelVerified to each row. Same price.

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

Off by default: Telegram's public preview answers plain requests. Turn on only if a very large run reports 'blocked'.

## Actor input object example

```json
{
  "channels": [
    "telegram",
    "durov"
  ],
  "maxMessagesPerChannel": 50,
  "keywords": [],
  "exactKeywordMatch": false,
  "onlyNew": false,
  "stateKey": "default",
  "includeChannelInfo": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post: channel, date, text, views, reactions, media, links, hashtags, mentions, link to the post.

## `summary` (type: `string`):

Per channel: status, posts delivered, newest post id, requests made; channels that failed and why; the pay-per-event count charged.

# 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"
    ],
    "maxMessagesPerChannel": 50
};

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

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

```

## MCP server setup

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