# Telegram Public Channel Scraper & Keyword Monitor (No Ban) (`vayneshen/telegram-public-channel-monitor`) Actor

Scrape public Telegram channel posts & native ?q= keyword search with zero login, zero phone bans, and zero proxies. Extracts subscriber profiles, $Tickers, EVM/Solana contracts, links, views/hr velocity & cross-run delta dedup ($0 on seen posts). Public channels only.

- **URL**: https://apify.com/vayneshen/telegram-public-channel-monitor.md
- **Developed by:** [Vayne shen](https://apify.com/vayneshen) (community)
- **Categories:** Social media, News, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 telegram channel posts scraped

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/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 Public Channel Scraper & Keyword Monitor (No-Login / Zero-Ban)

Scrape **public Telegram broadcast channels** at ~300ms per page with **zero Telegram login, zero phone numbers, zero MTProto ban risk, and zero proxies**. Built for Web3/crypto desks, OSINT analysts, market-intelligence teams, n8n/Make schedules, and AI agents.

> **Scope Notice (Transparent by Design):** This Actor reads public Telegram Web Preview channels (`t.me/s/<channel>`). It does **NOT** support private invite links (`t.me/+...` / `joinchat`), private chats, or group member list exports. Any private or invalid channel in a batch emits a clear `status: "unsupported_or_private"` diagnostic row at **`$0` charge** without interrupting valid channels.

***

### Key Capabilities

1. **Native Server-Side Channel Search (`?q=`) + Built-in Public Channel Pools**:
   - Pass `searchQuery` (e.g. `"ETF"`, `"TON"`, `"listing"`) to query Telegram's native `t.me/s/<channel>?q=<query>` search directly — jump straight to matching historical posts without paginating hundreds of unrelated messages.
   - Use `channelPreset: "crypto_web3"`, `"telegram_official"`, or `"global_news"` to monitor curated live-verified channels out of the box.
2. **True Cross-Run Incremental Delta Monitoring (`$0` on Seen Posts)**:
   - Ideal for **5–15 minute scheduled Cron + Webhook alerts**. Persists each channel's `lastPostNumber` in a Named KV Store (`tg-channel-delta-v1`), stopping pagination immediately on already-seen messages so you **never pay twice** for the same post.
3. **Zero-LLM Crypto, OSINT & Viral Velocity Signals**:
   - Extracts `$Tickers` (`$BTC`, `$ETH`, `$TON`, `$SOL`), **EVM (`0x...`) contract addresses**, context-verified **Solana mint addresses**, `@mentions`, `#hashtags`, external links, forwarded source attribution, reaction counts, **`viewsPerHour` velocity**, and `isViralSpike` flags.
4. **Channel Profile Metadata (`channel_profile`)**:
   - Captures channel title, description, verified status, subscriber count, and total media/link counts alongside posts.

***

### Transparent Pay-Per-Event Pricing

No residential proxies required. Runs on 256–512 MB RAM.

| Event | Price | Gold+ Discount | When Charged |
| :--- | :---: | :---: | :--- |
| `apify-actor-start` | `$0.002` | `$0.001` | Flat fee once per Actor run |
| **`telegram-post`** *(primary)* | **`$0.0012` (`$1.20 / 1K`)** | `$0.0009` | Per newly exported post in feed mode (`$0` on seen duplicates) |
| **`keyword-match-post`** | **`$0.002` (`$2.00 / 1K`)** | `$0.0015` | Per post matching `searchQuery` or `keywords` filter |
| **`channel-profile`** | **`$0.002` (`$2.00 / 1K`)** | `$0.0015` | Per valid channel profile when `includeChannelProfile: true` |
| Private / invalid channel diagnostic | **`$0`** | `$0` | Never charged |

***

### Quick Start Examples

#### 1. Monitor Crypto Channels Every 10 Minutes for `$BTC` / `$SOL` / Listing Alerts

```json
{
  "channelPreset": "crypto_web3",
  "keywords": ["BTC", "SOL", "TON", "listing", "ETF"],
  "maxPostsPerChannel": 50,
  "deduplicateAcrossRuns": true,
  "dedupKey": "crypto-desk-10m"
}
```

#### 2. Native Server-Side Historical Keyword Search (`?q=`)

```json
{
  "channels": ["durov", "toncoin", "cointelegraph"],
  "searchQuery": "AI",
  "maxPostsPerChannel": 100
}
```

#### 3. Scrape Custom Public Channels with Date Cutoff

```json
{
  "channels": ["@durov", "https://t.me/telegram", "https://t.me/bloomberg"],
  "maxPostsPerChannel": 100,
  "sinceDate": "2026-11-01",
  "includeChannelProfile": true
}
```

# Actor input Schema

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

Public Telegram channel handles or URLs (e.g. "durov", "@telegram", "https://t.me/toncoin", "https://t.me/s/cointelegraph"). Private invite links (t.me/+) are safely skipped at $0.

## `channelPreset` (type: `string`):

Optional curated live-verified public channel pool to monitor or keyword-search automatically without manually collecting handles.

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

Optional keyword/phrase sent directly to Telegram's native channel search (t.me/s/<channel>?q=<query>) — finds historical matches instantly without paginating hundreds of unrelated posts.

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

Optional list of keywords/tickers (e.g. \["BTC", "ETF", "airdrop", "listing"]) — only exports/charges posts matching at least one keyword (case-insensitive).

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

Maximum posts to export per channel (1–2000). Default 50 is optimized for fast scheduled 5–15 min polling.

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

Stop paginating backwards once posts are older than this date (e.g. "2026-11-01").

## `includeChannelProfile` (type: `boolean`):

Emits 1 channel_profile record per valid channel (title, description, subscribersCount, photo/video/link totals, verified flag).

## `onlyPostsWithContractsOrTickers` (type: `boolean`):

Web3/Trading filter: skips/does not charge posts lacking $TICKER mentions, EVM (0x...) addresses, or Solana contract addresses.

## `deduplicateAcrossRuns` (type: `boolean`):

Persists each channel's lastPostId in a Named KV Store so scheduled 5–15 min Cron runs only export brand-new posts and pay $0 on already-seen messages.

## `dedupKey` (type: `string`):

Isolate incremental lastPostId watermarks between separate monitoring pipelines.

## Actor input object example

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "channelPreset": "none",
  "searchQuery": "",
  "keywords": [],
  "maxPostsPerChannel": 50,
  "sinceDate": "",
  "includeChannelProfile": true,
  "onlyPostsWithContractsOrTickers": false,
  "deduplicateAcrossRuns": false,
  "dedupKey": "default"
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (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("vayneshen/telegram-public-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": [
        "durov",
        "telegram",
    ] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vayneshen/telegram-public-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/4qhXz2thHng9bdCIq/builds/amLBOLDyO6T25RlOL/openapi.json
