Telegram Channel Scraper: Posts, Messages, Comments, Search avatar

Telegram Channel Scraper: Posts, Messages, Comments, Search

Pricing

Pay per event

Go to Apify Store
Telegram Channel Scraper: Posts, Messages, Comments, Search

Telegram Channel Scraper: Posts, Messages, Comments, Search

Get posts from public Telegram channels by username or t.me link: text, date, views, reactions, media links, forwards, replies, comments and channel info. Search inside a channel, read full history or a date range, or return only new posts. No login. $0.90 per 1,000 posts; errors are free.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Data for Agents

Data for Agents

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Returns one row per post from public Telegram channels: text, date, views, reactions, media links, polls, forwards, replies, link previews, optional comments, and the channel's title, exact subscriber count and description. Input: channel usernames, @names, t.me links, or links to single posts. Search inside channels, filter by date, views, media type or comments, or return only the posts that are new since the last run. No Telegram account, no login, no API key.

Price: $0.90 per 1,000 posts (one post event per post returned). Error rows, posts removed by filters and posts already returned in only-new mode are free.

Tested on Apify (no proxy, 1,024 MB): 15 public channels, 200 posts each: 2,866 posts in 8.4 seconds (2.95 seconds per 1,000 posts). A 20,000-post scan from one Apify IP: no throttling.

Pricing

EventPriceWhen
Post$0.90 per 1,000 postsCharged once per post returned. Error rows, posts removed by filters and posts already returned in only-new mode are free.
Keyword search$0.01 per Google results pageCharged only when discoverKeywords is on: one charge per Google results page read (about 10 channels).
Media file$0.003 per file savedCharged only when downloadMedia is on: one charge per photo, video, voice message or sticker saved (up to 50 MB each).

What you can do with it

  • Monitor channels on a schedule. Turn on Only new posts since the last run and schedule the Actor every 10 minutes or every day. Each run returns only what was posted since the previous run, per channel, with no gaps even when a run is cut short.
  • Search inside channels. Give search terms and a list of channels. Each channel is searched with Telegram's own search, and with Deep search depth the Actor also reads the channel's older posts and matches the terms itself, so you get every match, not just the newest 22 that Telegram's search shows.
  • Back-fill history. Read a channel back to its first post, or only a date range, for example 2025-01-01 to 2025-03-31, or 30 days.
  • Filter before you pay. Only posts with photos or videos, only posts with at least 10,000 views, skip posts with certain words. Posts that do not pass the filters are not charged.
  • Many channels at once. Channels are read in parallel: 15 channels of 200 posts each (2,866 posts) take about 8 seconds on Apify.
  • Save the media files. Turn on Save media files and each photo, video, voice message and sticker is copied to the run's storage with a lasting link, its file size and type (Telegram's own links expire).
  • Find channels by keyword. Give topics like crypto news in Find channels by keyword: the Actor finds Telegram channels for them on Google and reads them with your settings. Rows have discovered: true and discovered_by. $0.01 per Google results page read (about 10 channels).
  • Cover a whole niche from a few channels. Set Also read related channels and the Actor also reads the channels your channels' posts forward from, link to or mention, with the same search terms and filters.
  • Find related channels. Every run lists, in its summary, the other channels its posts forward from, link to or mention, with counts: a quick way to discover a niche's neighbouring channels.
  • Re-read known posts. Give post links and get each post as it is now: views, reactions and comments, for tracking how posts perform over time.

Input

FieldWhat it does
ChannelsUsernames or links: durov, @durov, https://t.me/durov, t.me/s/durov.
Exact postsPost links such as https://t.me/durov/548. Each post is returned as it is now. A link to one photo of an album returns the album post.
Max posts per channelHow many posts per channel, newest first. With search or filters: how many matching posts.
Posts from / Posts untilDate range: 2026-01-31, 2026-01-31T08:00:00Z, or relative: 7 days, 24 hours, 3 months.
Search termsOnly posts containing these words. Two words need both; "exact phrase" in quotes needs the phrase.
Search depthDeep (default): every match, reading older posts as needed. Fast: Telegram's own search only, about 22 newest matches per term.
Whole words onlyton then does not match Boston.
Exclude posts containingSkip posts with any of these words.
Only posts withPhoto, video, round video, voice, audio, document, sticker, poll, link preview, location, or text only.
Minimum viewsSkip posts with fewer views.
Max posts to scan per channelWith search or filters, how many posts are read at most per channel while looking for matches (default 5,000). Reading is free; only returned posts are charged.
Only new posts since the last runPer-channel memory for scheduled runs. The first run returns the newest posts and remembers where it stopped; later runs return only newer posts, oldest first. If a run stops early (maximum posts, maximum cost), the next run continues exactly after the last post returned: nothing is skipped and nothing is returned twice. Use Memory name to keep separate memories for different tasks.
Only posts after these post idsYour own per-channel cursor, for example {"durov": 540}: posts with a higher id, oldest first.
Find channels by keywordTopics to look up on Google (site:t.me); each channel found is read with the settings below.
Google pages per keyword1 to 5, about 10 results each.
Also read related channelsUp to this many channels found through your channels' posts, read with the same settings; rows have discovered: true.
Save media filesCopies photos, videos, voice messages and stickers to storage: stored_url, file_size, mime_type. $0.003 per file saved.
Max file size (MB)Up to 50. Larger files are not saved; the media item says so.
Include commentsAdds each post's comments (for channels with comments turned on). No extra charge.
Max comments per postUp to 1,000 per post. 0 adds only comments_count, which is fast.
Minimum commentsOnly posts with at least this many comments.
Include raw HTMLAdds raw_html: the post's HTML as Telegram's page shows it.
Include service messagesAlso returns notices such as "Channel photo updated", with service: true.

Example:

{
"channels": ["durov", "https://t.me/telegram"],
"maxPostsPerChannel": 200,
"dateFrom": "30 days",
"searchTerms": ["privacy"],
"onlyNewPosts": false
}

Output

One row per post. An album of several photos is one post with several media items.

{
"url": "https://t.me/durov/548",
"channel": "durov",
"post_id": 548,
"date": "2026-09-11T16:04:02+00:00",
"text": "🤝 Telegram has become the sponsor of Codeforces — the largest competitive programming platform in th ...",
"views": 4620000,
"reactions_total": 80600,
"media_types": [],
"channel_id": 1006503122,
"edited": false,
"author": "Pavel Durov",
"author_url": null,
"text_html": "🤝 Telegram has become the sponsor of <a href=\"https://codeforces.com/blog/entry/156620\">Codeforces</ ...",
"text_markdown": "🤝 Telegram has become the sponsor of [Codeforces](https://codeforces.com/blog/entry/156620) — the la ...",
"views_text": "4.62M",
"forwarded_from": null,
"reply_to": null,
"via_bot": null,
"media": [],
"media_count": 0,
"has_media": false,
"album": false,
"unsupported_media": false,
"link_preview": {
"url": "https://codeforces.com/blog/entry/156620",
"site_name": "Codeforces",
"title": "Telegram Returns as Title Sponsor of Codeforces!",
"description": "Hi, Codeforces!",
"image_url": "https://cdn4.telesco.pe/file/...jpg",
"video_url": null
},
"poll": null,
"buttons": [],
"reactions": [
{
"emoji": "⭐",
"custom_emoji_id": null,
"paid": true,
"count": 21900
},
{
"emoji": null,
"custom_emoji_id": "5399847211989246390",
"paid": false,
"count": 37400
}
],
"hashtags": [],
"mentions": [],
"links": [
"https://codeforces.com/blog/entry/156620"
],
"emails": [],
"service": false,
"channel_url": "https://t.me/durov",
"channel_title": "Pavel Durov",
"channel_subscribers": 10041572,
"channel_verified": true,
"channel_description": "Founder of Telegram.",
"channel_avatar_url": "https://cdn4.telesco.pe/file/...jpg",
"channel_counts": {
"photos": 104,
"videos": 47,
"links": 202
},
"channel_last_post_at": "2026-11-10T20:43:28+00:00",
"scraped_at": "2026-11-11T11:12:19+00:00",
"error": null
}

Every row also has media_count, has_media, service, channel_url and channel_last_post_at (the date of the channel's newest post).

Media items carry type (photo, video, round_video, voice, audio, document, sticker, animated_sticker, video_sticker, location, contact, game, invoice), url, thumbnail_url, duration in seconds, post_id, and title and details for files, songs, locations and contacts. Polls carry the question, type, voter count and each option's share. Search runs add matched_terms and match_source (telegram_search when Telegram's own search found the post, history_scan when the Actor found it reading older posts). With comments on, each post gets comments_count, comments_status (ok, or why there are none) and comments (author, date, text, reply).

Every row has status (ok or error); error rows also have a short error_code (not_found, access_restricted, invalid_input, missing_input, no_data, partial_result, cost_limit, network_error, proxy_missing, internal_error) and an error that says what happened, for example:

  • Channel not found: no public channel uses the username @x. Check the spelling.
  • @x is a channel whose web preview is turned off (by its owner or by Telegram), so its posts cannot be read without a Telegram account.
  • @x is a bot, not a channel.
  • No posts matched the filters (5000 posts read, stopped because the scan limit of 5000 posts read was reached).

Error rows are always free.

error_codeMeaningRetry helps?
not_foundNo public channel with that username, or no such postNo: check the spelling
access_restrictedThe channel's web preview is off, so posts need a Telegram accountNo
invalid_inputNot a channel username or link (a bot, group or person, or a bad date)No: fix the input
missing_inputNo channel, post link or keyword givenNo: add one
no_dataThe channel was read but no post matched the filtersNo: widen the filters
partial_resultSome posts of a channel could not be readYes
cost_limitYour maximum cost per run was reachedYes, with a higher limit
network_errorTelegram did not answer after retriesYes, later
proxy_missingKeyword discovery needs Apify Proxy, which is not available to the runNo
internal_errorA bug on our sideYes; report it if it repeats

Each run also saves a summary in its key-value store under OUTPUT: posts per channel, posts and pages read, why each channel stopped, requests, retries, the slowest request, megabytes downloaded, and related_channels: the channels the returned posts forward from, link to or mention, most-referenced first.

Good to know

  • Only public channels with the web preview on can be read: the same posts anyone sees at t.me/s/<channel>. Private channels, groups and channels whose owner turned the preview off cannot.
  • Views and reactions are rounded the way Telegram shows them (4.58M). Subscriber counts are exact.
  • Photo and video links point to Telegram's servers and expire after a while; download what you need to keep.
  • Some content (large videos, stories, paid media) is not shown on the web: those posts have unsupported_media: true and a link to open them in Telegram.
  • Telegram's search inside a channel shows only its newest 22 matches. Deep search reads older posts and matches your terms itself, so older matches are found too; matching is by letters (case does not matter), not by Telegram's word forms.

FAQ

Is it legal? The Actor reads only what anyone can open without an account at t.me/s/<channel>: posts that channel owners chose to make public. Scraping public data is generally allowed, but check the laws and terms that apply to you and what you do with the data.

Does it collect personal data? Posts and comments can hold names, usernames and anything people wrote. Collect only what you need, and if you store or process data about people in the EU, GDPR applies to you.

Do I need a Telegram account or API key? No.

Your responsibility

You decide what you collect and how you use it. Respect Telegram's terms, the channels' rights in their content, and the privacy laws that apply to you, such as GDPR for comments by people in the EU.