# Telegram Channel Scraper & Keyword Monitor (Public, No Login) (`southern-data/telegram-channel-monitor`) Actor

Scrape public Telegram channel posts without a login: text, views, media flags and post links, filtered by keyword. Monitor mode returns only posts that are new since your last run. Public t.me/s channels only; no private groups.

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

## Pricing

from $0.80 / 1,000 post returneds

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 & Keyword Monitor (Public, No Login)

Read posts from **public Telegram channels** through Telegram's official `t.me/s/<channel>` web preview. Filter by **keyword**, and switch on **monitor mode** to get only the posts that are new since your last run. No login, no phone number, no Telegram API key.

**Who it's for:** brand and PR monitoring, crypto and news researchers, marketers and developers who want public channel posts in a spreadsheet or in an alert, without running a Telegram client.

**What it is not:** it does not read private groups or invite-only channels, join channels, or scrape member lists.

### Example output

A real row from a run on the public `telegram` channel (trimmed):

```json
{
  "channel": "telegram",
  "channelTitle": "Telegram News",
  "postId": "telegram/460",
  "text": "For all the info from today's update and a look back at 13 years of Telegram features — check out our blog: ...",
  "datetime": "2026-08-26T19:12:34+00:00",
  "url": "https://t.me/telegram/460",
  "views": 2710000,
  "viewsRaw": "2.71M",
  "hasPhoto": false,
  "hasVideo": false,
  "matchedKeywords": [],
  "isNew": null
}
```

### Quick start

```json
{
  "channels": ["telegram", "durov"],
  "keywords": ["AI", "crypto"],
  "mode": "all",
  "maxPages": 1
}
```

Daily new-posts monitor (the first run returns the matching posts as new and baselines every matching post on the loaded pages; later runs return only unseen posts):

```json
{
  "channels": ["telegram"],
  "keywords": ["AI"],
  "mode": "new",
  "monitorName": "telegram-ai-daily"
}
```

Save the input as a task, add a daily schedule, and connect a webhook or integration (Slack, email, Google Sheets) to receive new posts.

### Pricing

You pay per event, with no monthly fee:

| Event | Price | When |
|---|---|---|
| `actor-start` | $0.0005 | Once per run after the first successful public page |
| `channel-check` | $0.002 | Each public preview page loaded |
| `post` | $0.001 | Each post row returned |

A daily check of one channel returning 5 posts costs **$0.0005 + $0.002 + 5 × $0.001 = $0.0075**. Silver gets 10% off and Gold and higher get 20% off. Free: invalid input, private or missing channels, failed loads, keyword non-matches and already-seen posts in `mode=new`.

### Limits (read these first)

1. **Public preview only.** Channels without a public `t.me/s` page (private, invite-only, or some usernames) return a clear "not public" result and **$0 for that channel**.
2. **About 20 posts per page.** The Actor pages back through the channel with Telegram's `before=` cursor up to `maxPages` (default 1, maximum 5).
3. **Text from the public preview.** You get the visible message text, views label, media flags and post URL. No comments, member lists or private content.
4. **Keyword match is a plain, case-insensitive substring** on the post text, not Telegram search operators.

### Use with AI agents (Apify MCP)

Agents on the [Apify MCP server](https://docs.apify.com/mcp) (Claude, ChatGPT and other MCP clients) discover Store Actors with `search-actors` (title, name, description, username and this README) and then call `fetch-actor-details` for the input schema, output/dataset schema and pricing before running the Actor.

- **Actor name:** `southern-data/telegram-channel-monitor`
- **Use it when:** you need recent posts from named public Telegram channels, optionally filtered by keyword, or only the posts that are new since the last run.
- **Do not use it when:** the channel is private, or you need comments, members or message history beyond the public preview pages.
- **Main inputs:** `channels` (usernames such as `telegram`), optional `keywords`, `mode` (`all` or `new`), `monitorName`, `maxPages`, `maxPosts`.
- **Output:** one dataset row per post with text, date, views, media flags, link and matched keywords.
- **Cost control:** set `maxTotalChargeUsd` on the run.

### FAQ

**How do I scrape a public Telegram channel without logging in?**

Enter the channel username (for example `telegram`) and run. The Actor reads the channel's public `t.me/s/` page and returns each post's text, date, views and link.

**Can I get alerts when a channel posts about a keyword?**

Yes. Add keywords, set `mode` to `new`, give it a Monitor name and schedule it. Each run returns only matching posts it has not shown you before.

**Does it work on private groups?**

No. Only public channels with a web preview. Private or missing channels return a "not public" row and cost nothing.

**How far back can it go?**

About 20 posts per page and up to 5 pages per channel per run.

**What does it cost?**

$0.0075 for a typical one-channel daily check returning 5 posts. See Pricing above.

### Self-test

Set `"selfTest": true` for fixture checks plus one live `t.me/s/telegram` fetch.

# Actor input Schema

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

Public channel usernames (without @), e.g. telegram, durov. Must have a public t.me/s preview. Private groups and invite-only channels are not supported.

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

If set, only posts whose text contains at least one keyword (case-insensitive) are returned. Leave empty to return all posts on the loaded pages.

## `mode` (type: `string`):

all = every matching post on the loaded pages. new = only posts not seen in earlier runs (set monitorName for schedules).

## `monitorName` (type: `string`):

Stable name for the seen-posts memory, e.g. "telegram-ai-daily".

## `maxPosts` (type: `integer`):

Hard cap on posts returned (and charged) in this run. Default 200.

## `maxPages` (type: `integer`):

Each public preview page has about 20 posts. Default 1. Maximum 5.

## `selfTest` (type: `boolean`):

Offline fixture checks plus one live t.me/s/telegram fetch. Leave off for normal use.

## Actor input object example

```json
{
  "channels": [
    "telegram",
    "durov"
  ],
  "mode": "all",
  "maxPosts": 200,
  "maxPages": 1,
  "selfTest": false
}
```

# Actor output Schema

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

No description

## `channels` (type: `string`):

No description

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

No description

## `selfTest` (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("southern-data/telegram-channel-monitor").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("southern-data/telegram-channel-monitor").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 southern-data/telegram-channel-monitor --silent --output-dataset

```

## MCP server setup

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

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/GbudfObkZ184o2dFf/builds/IwocPWsZxnJkgzcZB/openapi.json
