Telegram Channel Search Scraper: Posts by Keyword avatar

Telegram Channel Search Scraper: Posts by Keyword

Pricing

from $0.69 / 1,000 results

Go to Apify Store
Telegram Channel Search Scraper: Posts by Keyword

Telegram Channel Search Scraper: Posts by Keyword

Find posts that contain your words inside the public Telegram channels you name: text, date, views, reactions, media and links, from the open web preview. A mode returns only new posts.

Pricing

from $0.69 / 1,000 results

Rating

0.0

(0)

Developer

Tigran Avakov

Tigran Avakov

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Finds posts that contain given words inside the public Telegram channels you name, and returns them as clean records: text, date, views, reactions, media addresses and links. It uses the search box of the open web preview that Telegram publishes for channels; no account or API key is needed.

What it does

For every channel and every word on your lists the tool asks the channel's own search (t.me/s/<channel>?q=<word>), reads the matching posts newest first and goes back page by page (about 20 posts per request) until it reaches your limit, your age limit or the last match. A post found by several words is written once, with the first word in matched_keyword. The search runs inside the channels you name only: there is no search across all of Telegram. Plain HTTP requests, no browser, at most one request per second to the site.

Use cases

  • Track mentions of a brand, product or topic in a set of channels you follow, on a schedule (onlyNew).
  • See how often and how well a word performs: views and reactions of every match.
  • Collect the links that channels publish about a subject.

Input

FieldTypeDescription
channelsarrayChannel names (telegram), @name or links (https://t.me/telegram). The search runs inside each.
keywordsarrayWords or phrases to search for, one per line.
maxAgeDaysintegerOnly posts from the last N days; 0 = no age limit.
postedSince, postedUntilstringOptional ISO dates (2026-11-01 or 2026-11-01T12:00:00Z); a plain date is a whole day, UTC. With the age limit the later start applies. The tool reads from the newest post backwards, so a window far in the past costs more requests.
excludeKeywordsarraySkip posts whose text contains any of these words (any letter case).
maxPostsPerChannelintegerNewest matches first; 0 = no per-channel limit. Default 100.
onlyNewbooleanReturn only posts not returned by earlier runs for the same channels and words.
maxResultsintegerTotal limit across all channels. Default 100.

Example:

{ "channels": ["telegram", "durov"], "keywords": ["update", "privacy"], "maxAgeDays": 365, "maxPostsPerChannel": 50, "maxResults": 100 }

Output

One record per post. Missing values are null, dates are ISO 8601 (UTC), url is the post on t.me.

FieldDescription
channel, channel_title, channel_subscribersChannel name, display name, subscriber count from the page header.
post_id, source_id, urlPost number, channel/post_id, post address.
matched_keywordThe search word that found the post.
textPost text as plain text.
posted_atPublication time.
is_editedTrue when the preview marks the post as edited (English preview text "edited").
viewsView count.
reactions_total, reactionsSum of reaction counts and the list (emoji or custom emoji id, paid Stars flag, count), when the channel shows reactions.
is_forwarded, forwarded_fromWhether the post is forwarded and the source name, when shown.
post_authorSignature that the channel prints under its posts, as text.
mediaPhotos, videos, round videos and voice messages: type, url, thumbnail.
links, hashtagsWeb links and hashtags written in the text.
reply_to_post_idNumber of the post this one replies to (same channel), when it is a reply.
link_previewLink card: url, site_name, title, description.
poll_questionQuestion of a poll post.

Example record:

{ "channel": "telegram", "channel_title": "Telegram News", "channel_subscribers": 9150000, "post_id": 445, "matched_keyword": "update",
"text": "For all the features from this update…", "posted_at": "2026-05-14T16:09:50.000Z", "views": 3120000,
"reactions_total": null, "reactions": null, "is_forwarded": false, "forwarded_from": null, "post_author": null,
"media": null, "links": ["https://telegram.org/blog/…"], "hashtags": null, "reply_to_post_id": null, "link_preview": { "url": "https://telegram.org/blog/…", "site_name": "Telegram", "title": "…", "description": "…" },
"poll_question": null, "url": "https://t.me/telegram/445", "source_id": "telegram/445" }

Pricing

Pay per result: you pay for each post in the dataset, plus a tiny start fee per run. Set "Maximum cost per run" and the tool stops cleanly when it is reached.

Errors

  • Invalid input — the message names the field to fix, for example a date that is not a date. A channel name that is wrong, missing or closed does not fail the run: it is skipped (see below).
  • The site changed its format — the tool needs an update; please open an issue.
  • The site blocked access or is unavailable — Telegram refused anonymous access, asked to slow down or did not answer; the tool does not bypass protection. The address is closed for the rest of the run, so the run stops at that channel and does not try the others. If posts were already written, the run ends normally and the status line names the reason and the number of posts; if there are none, the run fails with that message.
  • A channel without a public web preview (private, nonexistent or preview switched off) is skipped with a clear message; the other channels are still read. If no channel can be read, the run still ends as succeeded with 0 results, and the status line names the skipped channel and the reason.

Limitations

  • How words match is decided by Telegram's search, not by this tool: it works on whole words (a fragment of a word may not match), and results are only as complete as the preview search is. The tool does not filter the text again.
  • Only public channels whose web preview is open. Groups, chats, members, commenters, private accounts and invite links are not supported, and no people profiles are collected.
  • The preview shows what Telegram shows an anonymous visitor: posts of age-restricted or restricted channels may be missing, reactions appear only where the channel shows them, and view counts are rounded the way Telegram rounds them (for example 1.67M).
  • media holds photos, videos, round videos and voice messages only. Documents, stickers and poll options are not included (a poll shows only its question in poll_question).
  • Media fields hold addresses of files on Telegram servers; some video links are temporary. Files are not downloaded.
  • Telegram may change the page markup or limit requests; the tool then fails with a clear message.
  • At most one batch may be written again if a write was still on its way when the run was stopped.
  • If a run is killed while it writes a batch and is not resurrected, the next "only new" run may skip that batch.
  • Two "only new" runs with the same channels cannot work at the same time: the second one stops with a message before it reads anything.

Support

Open an issue in the Issues tab with the run link.