# Search public Telegram channels for any keyword and get the matching posts, newest first

Canonical: https://polarcrawl.com/actors/telegram-keyword-search-scraper
Apify actor: tgscraper/telegram-keyword-search-scraper (https://apify.com/tgscraper/telegram-keyword-search-scraper)
Category: Telegram. Users: 2. Runs: 17. Data from the Apify Store on Dec 3, 2026.


Enter a keyword, a hashtag or part of a link, and get back the public Telegram posts that contain it, sorted newest first across every channel. Each row carries the post text, date, views, reactions, links, photos and videos, plus the posting channel's name, bio and subscriber count. Choose all words, an exact phrase or any word, and narrow by date range or channel language.

Best for:
- Brand and competitor monitoring on Telegram
- Tracking mentions of a coin, token or exchange
- Finding the channels that share links to your site

## Price

It costs $1.50 per 1,000 posts on Apify's Free plan and drops to $1.20 on the Business plan.

| Event (per 1,000) | Free | Starter | Scale | Business |
|---|---|---|---|---|
| posts | $1.50 | $1.50 | $1.35 | $1.20 |

## Run it

MCP server URL (this actor only): https://mcp.apify.com/?tools=fetch-actor-details,tgscraper/telegram-keyword-search-scraper

Input example:

```json
{
  "keywords": [
    "openai"
  ],
  "maxPostsPerKeyword": 5,
  "maxChannelsPerKeyword": 5,
  "language": "en"
}
```

REST API:

```bash
curl -X POST "https://api.apify.com/v2/acts/tgscraper~telegram-keyword-search-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "keywords": [
    "openai"
  ],
  "maxPostsPerKeyword": 5,
  "maxChannelsPerKeyword": 5,
  "language": "en"
}'
```

OpenAPI: https://api.apify.com/v2/acts/tgscraper~telegram-keyword-search-scraper/builds/default/openapi.json

## Input fields

| Field | Type | Required | Description |
|---|---|---|---|
| keywords | array | yes | What to search Telegram for: a brand, product, topic, hashtag, or a link like yoursite.com. Each keyword is searched on its own across all public channels. Matching ignores letter case and finds the keyword inside words  |
| maxPostsPerKeyword | integer | no | How many matching posts you want for each keyword. You always get the newest ones first. |
| postedAfter | string | no | Only get posts published on or after this date. Pick a date, or enter a period like 7 days to get just the fresh posts on every scheduled run. Setting it also searches each channel's full history within your dates. |
| postedBefore | string | no | Only get posts published before this date. Combine with Posted after to search an exact date range, even years back. |
| matchMode | string | no | How posts must match a keyword with several words. |
| language | string | no | Find channels that write in this language. Leave empty to search channels in every language. |
| maxChannelsPerKeyword | integer | no | How many of the most relevant channels to search for each keyword. More channels find more posts; fewer finish faster. |
| extraChannels | array | no | Public channels to always include, on top of the ones found for you. Paste usernames (e.g. durov) or links (e.g. https://t.me/durov). |
| excludeChannels | array | no | Channels to leave out of your results, e.g. spam or your own channel. Paste usernames or links. |

## Output fields

| Field | Type | Description |
|---|---|---|
| keyword | string | The keyword that found this post. |
| channel | string | Username of the channel the post came from. |
| id | integer | Telegram's post number inside the channel. |
| url | string | Direct link to the post on Telegram. |
| date | string | When the post was published (ISO 8601). |
| edited | boolean | Whether the post was edited after it was published. |
| signature | string | The admin who wrote the post, on channels that sign their posts. |
| text | string | Full post text with line breaks preserved. |
| views | integer | How many times the post has been viewed. |
| reactions | array | Emoji reactions on the post with their counts. |
| links | array | Every web link in the post text, including links hidden behind words. |
| hashtags | array | Every hashtag in the post, without the #. |
| mentions | array | Every channel, group, bot, or user mentioned in the post, without the @. |
| replyToUrl | string | Link to the post this one replies to, when it is a reply. |
| forwardedFrom | string | Name of the original channel for forwarded posts. |
| forwardedFromUrl | string | Link to the original post for forwards. |
| photos | array | Direct links to the photos attached to the post. |
| videos | array | Every video attached to the post, with a direct MP4 link, a preview image, and its length. |
| linkPreview | object | Preview card of a link shared in the post. |
| author | object | The channel that posted: name, username, profile picture, verification, bio, and public stats. |

## Questions

### How much does the Telegram keyword search cost?

It costs $1.50 per 1,000 posts on Apify's Free plan and drops to $1.20 on the Business plan. You pay only for the matching posts that land in your dataset, and every run stops exactly at the spending limit you set.

### Do I need to know which channels to search?

No. Type a keyword and the scraper finds the most relevant public channels for it, up to 200 per keyword, then returns their matching posts. You can also add channels you already follow or leave out ones you don't want.

### Can I search for a link or a hashtag?

Yes. Enter part of a link like yoursite.com or a hashtag like #bitcoin, and you get the posts that share it, including links placed behind a word and links shown in a preview card.

### Can I get older posts, or only the new ones?

Both. Set Posted after and Posted before to search any date range, even years back, or schedule a daily run with Posted after set to 1 day to collect only fresh mentions.

### What does each post include, and how do I download it?

Every post comes with its text, link, date, views, emoji reactions, hashtags, mentions, photos and videos, plus the channel's name, bio, verification badge and subscriber count. Download the results as JSON, CSV or Excel, or send them to Slack, Google Sheets or a webhook.

Works best with: Distinctive keywords such as a brand name, a coin, a hashtag or a domain like yoursite.com. Add a date range or a channel language to focus on the conversations that matter to you.
