Telegram Scraper

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.

4,994 runs
769 users
Try This Actor

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

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. 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! ๐Ÿ˜Ž๐Ÿงนโœจ

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 Trial

Actor Information

Developer
dainty_screw
Pricing
Paid
Total Runs
4,994
Active Users
769
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support