Telegram Comments Scraper: Public Replies & Reactions
Pricing
from $0.50 / 1,000 items
Telegram Comments Scraper: Public Replies & Reactions
Scrape telegram comments from public channel posts. Export reply text, authors, timestamps, reactions and photos using post URLs, post ranges or recent channel posts.
Pricing
from $0.50 / 1,000 items
Rating
0.0
(0)
Developer
GoFetch
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Scrape telegram comments from public channel posts and export one row for each discussion reply. Collect comment text, public author details, timestamps, reply relationships, reactions and photo URLs for product feedback analysis, community reporting or research. Supply specific post URLs, an inclusive channel post range, or a channel username and a number of recent posts. This actor reads the anonymous public discussion widget; no Telegram account or credentials are required.
What data you get
Each result is a real public comment, including media-only comments with empty text. The output includes the original post URL, comment ID and URL, comment text, author name and username when shown, public author and avatar URLs, timestamp, parent comment ID, reactions and attached photo URLs. Every row has the same keys, with null values where the public widget omits a value.
The threadComments field is the reported thread count, repeated for context. It is not a promise that every counted comment can be retrieved. Deleted or hidden comments and stale counters can leave small differences. The actor follows the older-comments cursor until it ends or your selected limit is reached. views is always null because the widget does not expose per-comment view counts. Post view counts are a different metric and are not added to comment rows.
Authors can be anonymous or have temporarily blank names. These rows remain valid and are saved with nullable author fields. The actor does not visit profiles or enrich contacts. It returns only the information shown in the public discussion widget, without looking up phone numbers or other contact information.
How to use it
- Open the actor in Apify Console.
- Keep the sample post to try a small export, or enter your public channel post URLs under Post URLs.
- Choose Maximum results and Maximum comments per post. The sample saves at most 20 comments.
- Start the run. Open its Dataset tab to review rows or export JSON, CSV, Excel and other supported formats.
The prefilled software-news thread is a small demonstration of the same workflow used for larger exports. To inspect recent posts, remove the sample URL and enter a public channel username such as unigram, with latestPosts set to the desired number. For a historical slice, set both numeric range fields; the range includes its first and last ID.
You can also start the actor with the Apify API. Keep your API token in an environment variable:
curl -X POST \'https://api.apify.com/v2/acts/xmolodtsov~telegram-comments-scraper/runs' \-H "Authorization: Bearer $APIFY_TOKEN" \-H 'Content-Type: application/json' \-d '{"postUrls":["https://t.me/unigram/358"],"maxResults":20}'
The API returns a run ID and default dataset ID. Wait for the run to finish before downloading its dataset, or use an Apify client to manage that sequence. AI assistants can invoke this actor through Apify's MCP integration; use the same input object and inspect the resulting dataset. See Apify integrations for connection options.
Pricing
The billing unit is one unique comment saved to the default dataset. There are no start fees or additional charge events. Duplicate comments encountered during pagination are removed before saving. Empty discussions produce no billable result rows.
| Apify plan | Price per 1,000 results |
|---|---|
| FREE | $0.72 |
| BRONZE | $0.65 |
| SILVER | $0.58 |
| GOLD | $0.50 |
At the listed rates, 20 saved comments cost $0.0144 on FREE, $0.0130 on BRONZE, $0.0116 on SILVER or $0.0100 on GOLD. A 1,000-comment run costs $0.50 on GOLD. PLATINUM and DIAMOND use the GOLD rate. Actual charges follow the pricing displayed by Apify, and free-plan credits depend on your account. Set a maximum charge in Console when you want a monetary spending limit; the actor stops before admitting rows beyond that limit.
Is it free?
On the Apify free plan, this developer allows 100 results per run and 20 runs per month, using UTC calendar months. These limits apply alongside available account credits. Paid plans remove this developer free allowance cap, while the result limits you choose still apply. A run refused because the monthly allowance has been used ends successfully without fetching Telegram pages. Free runs use Apify datacenter and ignore custom proxy URLs. Named Apify groups are limited to datacenter groups SHADER, BUYPROXIES94952 and DATACENTER; omit groups for automatic datacenter selection. Other named groups, including residential and SERP requests, are rejected before fetching pages, including either group alias (groups or apifyProxyGroups) in any casing. Country aliases countryCode and apifyProxyCountry accept uppercase two-letter datacenter country codes. Subdivision routing and tiered proxy options are unsupported. Paid runs may supply HTTP proxy URLs or select direct mode with useApifyProxy: false.
Input
| Field | Purpose and default |
|---|---|
postUrls | Up to 5,000 public post URL strings. Default empty array; Console sample Unigram post 358. Empty uses only channel. |
channel | Public username, @username or public channel URL, optionally /s/. Blank disables channel input. |
fromPostId | First ID in an inclusive range. Default 0 means no range; maximum 9,007,199,254,740,991. |
toPostId | Last ID in an inclusive range. Supply both range IDs and a channel. Default 0; maximum ID 9,007,199,254,740,991. Maximum 5,000 IDs per range. |
latestPosts | Inspect this many recent channel posts when no range is supplied. Default 10; minimum 1, maximum 1,000; ignored with a range. |
maxCommentsPerPost | Unique comments saved per thread, including existing rows after restart. Default 200; minimum 1, maximum 5,000. |
maxResults | Saved comments across all posts, including rows already present after a reboot. Default 1,000; Console prefill 20; minimum 1, maximum 100,000. |
proxyConfiguration | Defaults to Apify datacenter. Optional paid-run custom routing. |
Post URLs accept http:// or https://, the public hosts t.me, telegram.me and telegram.dog (also www.), and preview links such as https://t.me/s/unigram/358. Parameters such as ?single, ?comment=…, ?embed=1, tracking parameters and fragments are removed. Channel URLs accept the same hosts and schemes, without a post ID. Internal t.me/c/<numeric>/… links and invite links (t.me/+…, t.me/joinchat/…) are unsupported because they do not identify a public channel; they fail invalid: before quota admission. Numeric limits must be integers; zero is valid only for the two range fields. Null values are invalid. At least one URL or a channel is required.
Post URLs and a channel can be combined. Repeated URLs are normalized and deduplicated. IDs do not have to be consecutive on Telegram: a missing post or a post with comments disabled can return a confirmed empty discussion. A range can therefore produce fewer active threads than the number of requested IDs. There is no keyword search, private-group access or date-range inference.
Output
This example is a public comment from the sample thread. Long avatar URLs are source-provided and can expire; download media separately if your workflow needs a durable copy.
{"postUrl": "https://t.me/unigram/358","commentId": 580534,"url": "https://t.me/unigram/358?comment=580534","text": "imagine unigram in rust 👀","authorName": "Reza Nanakar","authorUsername": "GraMint","authorUrl": "https://t.me/GraMint","authorPhotoUrl": "https://cdn4.telesco.pe/file/SxncQx8AlC1sgvjlF-RwksTih7zONh_Rfteepp2bslPivvj_PzAEC3ym4HfXrwzuvQw1tdz5m6tu5DdiUo1aJGnv9OR6cNIx5RX3QtV-8qceXjiAyju1zCW-qaQg-ybnxTlpZsRNJdIMTOEiJY5JoFSJKHeDVf4caopJxTSq2RTuFvY78qgDuGZDuZW4npP_ffAeH-c3PcYnUfzbx0ksmrOiTU6Mw3GIic2vpv1RTFkXFrWt74s09DczQep0I0s_m0jqBrdf-OCKlw36Zbw4UQS5GJl8v8wAtfZpy9q-PCf8U5e1CuwBFWLxpA2Ngakym4cF0UHUF1tE0yrEZQ9T3g.jpg","timestamp": "2026-11-17T13:54:04+00:00","replyToCommentId": null,"reactions": [],"photos": [],"views": null,"threadComments": 90,"discussionId": "c1060755082_-2746948501853547261"}

Use postUrl with commentId as a stable compound key in downstream storage. A comment ID alone may belong to a different discussion. replyToCommentId can refer to an older comment outside your selected export limit; it does not guarantee that the parent row is in this dataset. Reaction arrays reflect the widget response at scrape time. An empty array means no displayed reactions or photos were found, rather than an additional lookup being performed.
Guarantees and failure semantics
Successfully saved comments remain in the dataset if a later request fails. Such runs finish SUCCEEDED with partial results; use the STATISTICS record in the run's key-value store to see attempted posts, answered posts, exhausted posts, requests and failure counts. An answered post can be limited; exhaustedPosts counts only threads whose final page was fully saved. A resumed run reads existing dataset keys before saving new rows, so already saved comments are not pushed again. Dataset appends are never blindly retried. If an append acknowledgement is lost, scheduling stops, saved keys and counts are reconciled from the default dataset, and the run finishes with partial results or a failure when nothing was saved.
A zero-row run succeeds as “no results” only when the public site confirms an empty answer, such as the observed “Discussion is not available at the moment” response or a missing-channel message. Empty channel previews and other unobserved empty layouts fail as outdated:. Unrecognized markup does not count as a valid empty thread. If no rows have been saved and a required input cannot be answered, the run is FAILED with a leading reason token: blocked:, network:, timeout:, invalid: or outdated:. These indicate an access challenge, transport failure, deadline, invalid input or changed response format respectively.
Requests have bounded timeouts and one retry using a fresh session in the selected proxy mode. The actor processes at most three posts at a time, serializes dataset writes, uses compressed responses, bounds page traversal and reserves time to save statistics before the run timeout. Channel previews are scraped one batch at a time, before discovering the next batch. Successful previews and confirmed-empty posts do not consume a failure budget. Requests stop after three failed source attempts plus one per saved comment; each request has a 20-second timeout and 25-second abort signal. Repeated cursors or pages with no new comment IDs fail outdated:. Successful traversal is bounded by your requested post and comment counts and the run deadline. Response caps are 256 KiB compressed and 1 MiB decoded. The deadline or failure budget retains partial results, or fails timeout: when no rows were saved. Sparse ranges can cost more compute per result than dense discussions. It does not switch silently to a more expensive proxy class. Public availability and widget format can change; a successful export represents the comments retrievable during that run.
Integrations
Download datasets directly or connect the actor to Make, n8n, Zapier or your own application through Apify. Use webhooks to start downstream processing after a run finishes. CSV fits a spreadsheet workflow; JSON preserves reaction and photo arrays. For recurring analysis, schedule the actor in Console and upsert using the compound comment key, because separate runs intentionally return matching comments again.
More scrapers from this developer
TikTok: TikTok Search Scraper: Videos and creators for any keyword, pay per result · TikTok Profile Scraper (Pay Per Result): Profiles, followers and latest posts by username · TikTok Comments Scraper: Comments and full reply threads from any video · TikTok Hashtag Scraper: Videos for any hashtag, with views, likes and music · TikTok Sound & Music Scraper: Videos that use a sound or song · TikTok Top Ads Scraper: Public Creative Center ad rankings, engagement, media and landing pages
Social & news: Reddit Search Scraper: Posts by keyword, subreddit or author · Google News Scraper: Google News results as clean full-text articles · Threads Replies Scraper: Public post replies, likes, authors and inline nested replies
Instagram: Instagram Reel Scraper: Public profile reels, plays, captions, music and media URLs · Instagram Comment Scraper: Public post and reel comments, likes, timestamps and usernames · Instagram Post Scraper: Public profile posts, likes, captions, locations and media URLs
E-commerce: Prom.ua Product Search Scraper: Prom.ua product search results, no browser needed · Amazon Product Search & Bestsellers Scraper: Search results, category rankings and product details from Amazon · AliExpress Search Scraper: AliExpress products by keyword with prices, orders and shipping · AliExpress Product Reviews Scraper: Public product reviews, ratings, buyer photos and follow-up feedback
Maps & leads: Google Maps Scraper: Places, leads and emails from Google Maps
Ads: Facebook Ad Library Scraper (Meta Ads Library): Ads from the Meta Ad Library, with EU reach and payers · Google Ads Transparency Scraper: Google ad creatives by advertiser or domain, with regional details
Video: YouTube Transcript Scraper: Transcripts, subtitles and captions from YouTube videos · YouTube Shorts Scraper: Shorts of any channel with exact views, likes and duration · YouTube Channel Scraper: Every video of a channel, with channel stats · YouTube Search Scraper: Search results and videos for any keyword · YouTube Comments Scraper: Comments, replies and likes from any video · Bilibili Comments Scraper: Public hot comments and reply threads by video or keyword
Jobs: SEEK Job Listings Scraper: Public AU/NZ job listings, salaries and redacted descriptions
FAQ
Why is the exported total smaller than the reported count?
Some counted comments may be deleted, hidden or no longer returned by the widget. Your per-post limit, overall result limit, free allowance or maximum charge can also stop an export early. Pagination stops when the server stops providing an older-comments cursor, even if the displayed count is slightly higher. No synthetic rows are added to fill the gap.
Why are author names or usernames null?
Telegram can omit public author names, handles or profile links. A reply without an author name is still a comment. This actor preserves it and does not attempt profile scraping to fill the missing fields.
Can I scrape private groups or write replies?
The input must identify public channel posts and the publicly accessible discussion widget. The actor does not accept account sessions, bot tokens, QR login or credentials, and it does not post messages. It reads public comments only.
Is it legal to scrape telegram comments?
Use this actor for public data only and assess the rules that apply to your project, including platform terms, GDPR and CCPA. Public author identifiers can still be personal data. Establish an appropriate legal basis, minimize collection, limit retention and honor applicable access or deletion rights. You are responsible for your use of the exported data.
Support
For reproducible problems, open an issue in this actor's Apify Issues tab. Include the run ID, public post URL, selected limits and expected behavior. Never include an API token or private account information. A run ID lets support inspect the fixed diagnostic counters without asking you to reproduce an expensive export.