Telegram Comments Scraper avatar

Telegram Comments Scraper

Pricing

$0.09 / 1,000 comments

Go to Apify Store
Telegram Comments Scraper

Telegram Comments Scraper

Export public comments under Telegram channel posts with reply threads, reactions and post context. Only-new mode catches fresh comments under old posts. Author names off by default. No login, no API key.

Pricing

$0.09 / 1,000 comments

Rating

0.0

(0)

Developer

SignalHarvest

SignalHarvest

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Export public comments under Telegram channel posts: text, date, reply threads and reactions. No Telegram account, phone number, bot token or API key is needed.

What you get

  • Every public comment under a post, not only the first page
  • Reply threads: each comment carries the ID of the comment it answers, the root of its thread and the number of replies it got
  • Post context next to every comment: channel title, post text and views
  • Only new comments mode for scheduled runs: each run returns only comments you have not received before, including new comments under old posts
  • Pick posts by keywords: collect comments only under posts that mention your words
  • Reactions per comment with counts
  • Direct link to every comment
  • Batch mode: pass channels and the Actor checks their latest posts for you
  • Author names are off by default and can be switched on when you need them

Use cases

  • Audience reaction to a post. Export everything people wrote under an announcement, a news post or a contest, with reply threads and reactions.
  • Community and support monitoring. Run the Actor on a schedule with Only new comments and receive only fresh comments under the latest posts of your channels, including late comments under older posts.
  • Reaction to a topic. Pick posts by keywords, for example every post that mentions a listing or an outage, and collect the discussion under them.
  • Research without personal data. Author names are off by default: you get what was said, in which thread and how people reacted, without profiles.

Input

FieldDescription
postUrlsLinks to posts, for example https://t.me/contest/462
channelsPublic channels: @username, username or https://t.me/username
maxPostsPerChannelHow many latest posts to check in each channel (default 20)
postsFrom, postsToOptional date range for channel posts, UTC
postKeywordsFor channels: only posts whose text contains any of these words or phrases, case-insensitive
excludePostKeywordsFor channels: skip posts whose text contains any of these words or phrases
maxCommentsPerPostKeep the newest N comments per post (default 500)
onlyNewCommentsReturn only comments that appeared after your previous runs for the same post (default off)
includePostContextAdd channelTitle, postText and postViews to every comment (default on)
includeAuthorsAdd author display name and username (default off)

Provide postUrls, channels, or both.

{
"channels": ["@binance_announcements"],
"maxPostsPerChannel": 10,
"maxCommentsPerPost": 200
}
{
"channels": ["@binance_announcements"],
"postKeywords": ["listing", "delist"],
"excludePostKeywords": ["giveaway"],
"onlyNewComments": true
}

Output

One dataset item per comment:

{
"channel": "contest",
"channelTitle": "Telegram Contests",
"postId": 462,
"postUrl": "https://t.me/contest/462",
"postDate": "2026-09-05T12:00:00+00:00",
"postText": "Text of the parent post",
"postViews": 125000,
"commentId": 277446,
"commentUrl": "https://t.me/contest/462?comment=277446",
"text": "Comment text",
"date": "2026-09-06T13:56:18+00:00",
"replyToId": 277445,
"threadRootId": 277440,
"repliesCount": 2,
"reactions": [{ "emoji": "❤", "count": 3 }],
"reactionsCount": 3
}
  • channelTitle, postText and postViews describe the parent post. For direct postUrls they cost one extra request per post and are null when the channel has no public preview; postDate is filled the same way. Turn includePostContext off to leave them out.
  • repliesCount is the number of direct replies to the comment. threadRootId is the top comment of its thread; for a comment that answers nobody it equals commentId. Both are counted over the comments collected in the run, so with maxCommentsPerPost or onlyNewComments cutting older comments off, threadRootId is the oldest ancestor that is known.
  • With includeAuthors enabled, items also contain authorName and authorUsername.

A run summary is saved to the key-value store under SUMMARY: posts processed, posts without a discussion, posts without new comments, channels skipped and why.

Picking posts by keywords

With postKeywords, the Actor runs Telegram's own in-channel search for every keyword and keeps posts whose visible text contains the keyword. Telegram returns only about 22 newest matching posts per keyword in a channel, so older matches are not reached. excludePostKeywords works with or without postKeywords. Both apply to channels only; posts given in postUrls are always processed.

Monitoring with "Only new comments"

Turn on onlyNewComments and run the Actor on a schedule. For every post the Actor remembers the newest comment it returned in a named key-value store, telegram-comments-state, in your Apify account. The next run returns only newer comments. The first run returns the comments as usual and sets the starting point.

  • New comments under old posts are found as long as the post is still among the posts the run checks: keep maxPostsPerChannel and the date range wide enough, or list the posts in postUrls.
  • The state is shared by all runs of this Actor in your account that process the same post. To start over, delete the telegram-comments-state store.
  • The first run keeps the newest maxCommentsPerPost comments of each post. Later runs return new comments oldest first: when more than maxCommentsPerPost appeared, or your spending limit stopped the run, the rest comes in the next run.

Run it from your code or a no-code tool

Get comments in one HTTP call. Replace <APIFY_TOKEN> with your token from Apify Console (Settings, API & Integrations):

curl -X POST "https://api.apify.com/v2/acts/signalharvest~telegram-comments-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer <APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"postUrls": ["https://t.me/contest/462"], "maxCommentsPerPost": 100}'

The response is the JSON array described in Output. Add ?format=csv to the address to get a CSV file instead.

To receive new comments without writing code: save your input with onlyNewComments turned on as a task in Apify Console, choose how often to run it on the task's Schedules tab, and on the Integrations tab connect Slack, Google Sheets, Make, n8n or Zapier, or add a webhook for the "Run succeeded" event. The webhook receives the run's defaultDatasetId; the comments are at https://api.apify.com/v2/datasets/<defaultDatasetId>/items.

Limits

  • Only channels where comments are enabled. If the three latest posts of a channel have no discussion, the channel is skipped and listed in the summary.
  • Only public channels with a web preview. Private channels and channels that disabled the preview are skipped.
  • Comments that consist only of media come with an empty text.
  • The comment count shown by Telegram can be slightly higher than the number returned: deleted comments are still counted there.

Changelog

  • 0.1.6, 16 November 2026. Post context next to every comment (channelTitle, postText, postViews), repliesCount and threadRootId, post selection by postKeywords and excludePostKeywords, Only new comments mode for scheduled runs.

Personal data

Comment text is public, but author names and usernames are personal data. They are excluded unless you turn on includeAuthors. Make sure you have a lawful basis for processing them and follow the rules that apply to you, including GDPR.

Do not use the output to train or fine-tune AI models: Telegram's terms prohibit it.