Telegram Scraper
by dainty_screw
Seamlessly extract public messages from any Telegram public channel and gain valuable insights. Perfect for researchers, marketers, and data analysts.
Opens on Apify.com
About Telegram Scraper
Seamlessly extract public messages from any Telegram public channel and gain valuable insights. Perfect for researchers, marketers, and data analysts.
What does this actor do?
Telegram Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
๐ Telegram Channel Scraper Scrape public Telegram channels with enterprise-friendly flexibility. The actor now supports post ID ranges, date ranges, configurable post limits, and optional comment harvesting, all while capturing richer post metadata such as reactions and attachments. --- ## ๐ง Input Example json { "channels": [ "mediumcom" ], "maxCommentsPerPost": 10, "maxPostsPerChannel": 10, "postsFrom": 10, "postsTo": 20, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "includeComments": false } ### ๐ Input Parameters | Parameter | Type | Description | |-----------|------|-------------| | channels | array | List of public channel usernames (e.g. ["mediumcom"]). | | postsFrom | integer | (Optional) Minimum post ID to consider (channels start at 1). | | postsTo | integer | (Optional) Maximum post ID (set to 0/omit to ignore). | | maxPostsPerChannel | integer | Caps the number of posts processed per channel (default 200). | | fromDate | string | (Optional) ISO timestamp โ collect posts on/after this moment. | | toDate | string | (Optional) ISO timestamp โ collect posts on/before this moment. | | includeComments | boolean | When enabled, fetches the public comment thread for each post (if available). | | maxCommentsPerPost | integer | Maximum number of comments captured per post (default 100). | | proxy | object | Proxy settings โ RESIDENTIAL proxies strongly recommended/required. | | navigationTimeoutSecs | integer | Timeout per HTTP fetch in seconds (default 120). | You can mix-and-match ID ranges, date filters, and maximum post counts to control the crawl scope precisely. --- ## ๐ค Output Example json [ { "id": 18, "channelName": "mediumcom", "channelTitle": "Medium", "authorName": "Medium / Medium.com", "authorTelegram": "https://t.me/mediumcom", "date": "2024-01-05T12:24:33+00:00", "viewsCount": "15", "text": "https://journal.thriveglobal.com/look-for-people...", "linkPreview": "Thrive Global\n\nโLook For People Who Need You...โ", "reactions": [ { "emoji": "๐", "count": 42, "countDisplay": "42" } ], "attachments": [ { "type": "tgme_widget_message_photo", "caption": "Image caption", "url": "https://t.me/..." } ], "commentsCount": "3", "commentsCollected": 3, "comments": [ { "authorName": "Jane Doe", "authorTelegram": "https://t.me/janedoe", "date": "2024-01-05T13:00:00+00:00", "text": "Great update!" } ] } ] ### ๐ Output Fields | Field | Type | Description | |-------|------|-------------| | id | integer | Message ID. | | channelName | string | Channel username. | | channelTitle | string | Channel title (when available). | | channelDescription | string | Channel description text (first listing hit). | | subscribersText | string | Subscriber counter text from Telegram (if visible). | | authorName | string | Author display name. | | authorTelegram | string | Link to the author/channel. | | date | string | ISO 8601 timestamp. | | viewsCount | string | View counter displayed by Telegram. | | text | string | Message body text. | | linkPreview | string | Link preview text. | | reactions | array | Emoji reactions with numeric counts. | | attachments | array | Metadata for attached media (type, caption, url). | | commentsCount | string | Comment counter Telegram shows on the post. | | comments | array | Collected comments (author, link, date, text) when enabled. | | commentsCollected | integer | How many comments were captured for this post. | --- ## ๐ก How to Use 1. Specify channels โ supply the public usernames you want to scrape. 2. Choose your range strategy โ mix ID limits, date filters, and maxPostsPerChannel to bound the crawl. 3. Toggle comments โ enable includeComments (and tune maxCommentsPerPost) to add discussion threads. 4. Configure proxies โ use Apify RESIDENTIAL or your own high-quality proxies for consistent access. 5. Run the actor โ monitor the logs for skipped/blocked content and adjust parameters as needed. --- ## ๐ ๏ธ Tips & Tricks - Combine date filters with maxPostsPerChannel to collect recent activity without guessing IDs. - When you do rely on IDs, start with humane limits (e.g. first 50 posts) and expand gradually. - A handful of messages require the official Telegram app and will be skipped โ the actor logs them. - Respect Telegram policies: throttling retries and using residential IPs dramatically improves success rates. --- ## ๐ Connect With Us - ๐ Blog: Quick Life Solutions - ๐บ YouTube: CodeMaster-421 - ๐ธ Instagram: @quicklifesolutionsofficial - ๐๏ธ Free Consultation: Book a call - ๐ ๏ธ More Tools: Explore our Apify actors ## ๐ Support - ๐ฌ Discord: Raise a support ticket - ๐ง Email: codemasterdevops@gmail.com Happy scraping! ๐๐งนโจ
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Telegram Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- dainty_screw
- Pricing
- Paid
- Total Runs
- 4,994
- Active Users
- 769
Related Actors
๐ฏ Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Google Search Results Scraper
by apify
Instagram Profile Scraper
by apify
Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits
by kaitoeasyapi
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support