# Telegram Channel Search — Find Channels & Groups by Topic (`sherwood/telegram-channel-search`) Actor

Find public Telegram channels and groups by topic: exact subscriber counts, description, verified badge, average views, posts per week and engagement rate. No login, no API key. $1.20 per 1,000 channels on the free plan, from $0.36 on paid plans, + $0.01 per topic.

- **URL**: https://apify.com/sherwood/telegram-channel-search.md
- **Developed by:** [Sherwood](https://apify.com/sherwood) (community)
- **Categories:** Social media, Marketing, 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 $0.90 / 1,000 telegram channel or groups

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 Search — Find Channels & Groups by Topic

Returns public **Telegram channels and groups for a topic**, one row each: **exact subscriber or member count**, title, description, photo, verified badge, and **audience figures read from the latest posts** (average and median views, posts per week, engagement rate, last post), at **$1.50 per 1,000 channels on the free plan, from $0.90 on paid plans**, plus **$0.02 per topic searched**. No start fee; topics or links that return nothing are never charged. No Telegram account, phone number, bot token or API key.

On the same 3 topics (`crypto signals`, `AI tools`, `recetas`), the leading channel-search Actor returned 9 channels and this one 60. On the 4 channels both returned, title and last post day were identical, and the subscriber count here is the exact one (`44136` where the other shows `44.1K`).

**Same output field names as `datahamster/telegram-channels-search`** (`id`, `username`, `url`, `title`, `subscribers`, `subscribersText`, `description`, `kind`, `photoUrl`, `lastPostAt`, `verified`, `available`, `detailsFetched`, `query`, `rank`, `source`, `scrapedAt`) and the same main inputs (`queries`, `channelUrls`, `resultsPerQuery`, `minSubscribers`, `maxSubscribers`, `maxItems`), so a workflow built on it runs unchanged.

### What you can ask

| Input | Returns |
|---|---|
| `{"queries": ["crypto signals"]}` | up to 20 public channels and groups about crypto signals |
| `{"queries": ["web3 jobs"], "minSubscribers": 500, "maxSubscribers": 20000}` | small and mid-size communities only |
| `{"queries": ["crypto chat"], "kind": "group"}` | groups only, with members online |
| `{"queries": ["immobilier"], "countryCode": "fr", "languageCode": "fr"}` | French-language channels |
| `{"channelUrls": ["durov", "@telegram", "t.me/chat_crypto"]}` | the same row for channels you already know |

Nothing is required. The empty input runs alone in about 90 seconds (`crypto signals`, 20 channels).

`queries` and `channelUrls` are lists; they also accept a plain string split on commas and line breaks. Aliases merged into them: `keywords`, `keyword`, `topics`, `query`, `searchTerms`; `channels`, `channelUsernames`, `usernames`, `startUrls`, `urls`, `url`. A channel can be written `durov`, `@durov`, `t.me/durov` or `https://t.me/s/durov/123`.

### Input

| Field | Default | What it does |
|---|---|---|
| `queries` | `["crypto signals"]` | Topics. Write them in the language of the channels you want. |
| `channelUrls` | — | Known channels or groups to look up directly. Returned even outside the kind and size filters. |
| `maxChannelsPerQuery` | 20 | Channels and groups kept per topic (alias `resultsPerQuery`). |
| `kind` | `any` | `any`, `channel` or `group`. Bots and personal accounts are never returned. |
| `minSubscribers` / `maxSubscribers` | — | Size bounds, applied to the exact count. |
| `includeStats` | `true` | Read the latest posts of each channel for the audience figures. No extra charge. |
| `maxItems` | — | Stop after this many channels for the whole run. |
| `countryCode` / `languageCode` | `us` / `en` | Region and language of the search that finds channels (`fr`/`fr`, `de`/`de`, `ru`/`ru`...). |

### Output

One item per channel or group. Real item from a run:

```json
{
  "id": "the_coding_wizard",
  "username": "the_coding_wizard",
  "url": "https://t.me/the_coding_wizard",
  "title": "TCW - AI & Coding Resources 🚀👨‍💻",
  "subscribers": 173820,
  "subscribersText": "173 820 subscribers",
  "description": "✨ Latest AI Tools – Stay ahead with cutting-edge AI innovations ...",
  "kind": "channel",
  "photoUrl": "https://cdn4.telesco.pe/file/XVH-1q_z5VBEM6HtUj_rgoe4BP...",
  "lastPostAt": "2026-11-07T11:43:48+00:00",
  "verified": false,
  "available": true,
  "detailsFetched": true,
  "onlineCount": null,
  "channelId": 1717913244,
  "lastPostUrl": "https://t.me/the_coding_wizard/1358",
  "postsSampled": 20,
  "avgViews": 35788,
  "medianViews": 36700,
  "postsPerWeek": 0.7,
  "engagementRate": 0.2059,
  "photos": 570, "videos": 7, "files": 293, "links": 646,
  "query": "AI tools",
  "rank": 11,
  "source": "search",
  "scrapedAt": "2026-11-13T14:58:44.251080+00:00",
  "status": "ok",
  "error": null
}
```

Fields added to the leader's set: `onlineCount`, `channelId`, `lastPostUrl`, `postsSampled`, `avgViews`, `medianViews`, `postsPerWeek`, `engagementRate`, `photos`, `videos`, `files`, `links`, `status`, `error`.

- `subscribers` is the exact count from the `t.me/<name>` page (`173 820 subscribers`), not the rounded `174K` of the preview.
- `engagementRate` is `avgViews / subscribers` over the sampled posts. On old or widely shared channels it can be above 1: views keep adding up after subscribers leave. Read it with `lastPostAt`.
- Audience figures exist for channels with a public preview. Groups, and channels whose owner turned the preview off, have `null` there.

A topic or link that produced nothing gets one item with `status` `notfound` (no such channel, a bot, or a personal account), `empty` (no channel found, or none matched the filters) or `error` (with the reason in `error`), so a workflow always sees what happened. These items are never charged.

### Pricing

Pay per event, no start fee:

| Event | Price |
|---|---|
| `channel` — one channel or group saved | per 1,000: $1.50 Free, $1.20 Bronze, $1.00 Silver, $0.90 Gold, Platinum and Diamond |
| `topic-search` — one topic searched that returned at least one channel | $0.02 |

20 channels for one topic cost $0.044 on the Bronze plan (the leading channel-search Actor charges $0.06 for the same). Looking up `channelUrls` has no topic charge. Set `maxTotalChargeUsd` on the run to cap the cost.

### Use it from code, n8n or an AI agent

```bash
curl -X POST "https://api.apify.com/v2/acts/sherwood~telegram-channel-search/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["AI tools"], "minSubscribers": 1000, "maxChannelsPerQuery": 30}'
```

- **n8n**: the official Apify node, action "Run an Actor and get dataset", Actor `sherwood/telegram-channel-search`, input as above.
- **AI agents (Apify MCP server)**: call the Actor with `queries` or `channelUrls`; nothing else is needed.
- **Next step**: pass the `username` values to [`sherwood/telegram-keyword-search-scraper`](https://apify.com/sherwood/telegram-keyword-search-scraper) as `channels` to get their messages.

### Limits

- Telegram has no public channel search. Channels are found through Google (`site:t.me`), so only channels Google has indexed are reached, and results change from one run to the next. Broad topics return the 20 asked for; narrow ones fewer (in our tests: 10 for `football news`, 14 for `Nachrichten`, 1 for `web3 jobs` between 500 and 20,000 subscribers).
- Discovery reads at most 8 Google result pages per topic.
- Public channels and groups only. Private channels, invite links (`t.me/+...`), members, admins and message authors are not available.
- `verified` is the badge Telegram shows on the public page.

# Actor input Schema

## `queries` (type: `array`):

Topics to find public Telegram channels and groups for, e.g. "crypto signals", "AI tools", "football news". Write the topic in the language of the channels you want. A plain string is split on commas and line breaks. Aliases: keywords, topics, query, searchTerms.

## `channelUrls` (type: `array`):

Channels or groups to look up directly: durov, @durov, t.me/durov or https://t.me/s/durov. Aliases: channels, usernames, urls, startUrls.

## `maxChannelsPerQuery` (type: `integer`):

How many channels and groups to keep per topic (alias resultsPerQuery).

## `kind` (type: `string`):

Keep channels, groups, or both. Bots and personal accounts are never returned.

## `minSubscribers` (type: `integer`):

Keep only channels and groups with at least this many subscribers or members.

## `maxSubscribers` (type: `integer`):

Keep only channels and groups with at most this many subscribers or members (e.g. 50000 to find small channels).

## `includeStats` (type: `boolean`):

For channels with a public preview, read the latest posts and add lastPostAt, avgViews, medianViews, postsPerWeek and engagementRate. No extra charge.

## `maxItems` (type: `integer`):

Stop after this many channels for the whole run.

## `countryCode` (type: `string`):

Region of the search that finds channels (us, fr, de, ru, br...).

## `languageCode` (type: `string`):

Language of the search that finds channels (en, fr, de, ru, pt...).

## Actor input object example

```json
{
  "queries": [
    "crypto signals"
  ],
  "maxChannelsPerQuery": 20,
  "kind": "any",
  "includeStats": true,
  "countryCode": "us",
  "languageCode": "en"
}
```

# Actor output Schema

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

One item per public Telegram channel or group (status ok), plus one item per topic or link that produced nothing (status notfound, empty or error).

# 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 = {
    "queries": [
        "crypto signals"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sherwood/telegram-channel-search").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 = { "queries": ["crypto signals"] }

# Run the Actor and wait for it to finish
run = client.actor("sherwood/telegram-channel-search").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 '{
  "queries": [
    "crypto signals"
  ]
}' |
apify call sherwood/telegram-channel-search --silent --output-dataset

```

## MCP server setup

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

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/dOca5OWFHxJEw5Hh1/builds/Lweh9loSxZEckzZZp/openapi.json
