Telegram Scraper avatar

Telegram Scraper

Try for free

1 day trial then $9.99/month - No credit card required now

Go to Store
Telegram Scraper

Telegram Scraper

dainty_screw/telegram-scraper
Try for free

1 day trial then $9.99/month - No credit card required now

Seamlessly extract public messages from any Telegram channel and gain valuable insights. Perfect for researchers, marketers, and data analysts.


🚀 Free Telegram Channel Scraper

Scrape messages effortlessly from public Telegram channels! 📢

This scraper fetches messages by their IDs, which are auto-numbered starting from 1. Just specify a range, and let the scraper do the rest.

Not sure of the latest message ID? Start small (e.g., 10 to 20) and expand based on your results. Some messages may require the Telegram app and will be skipped automatically with a warning in the logs.


🔧 Input Example

1{
2  "channels": ["mediumcom"],
3  "postsFrom": 10,
4  "postsTo": 20,
5  "proxy": {
6    "useApifyProxy": true,
7    "apifyProxyGroups": ["RESIDENTIAL"]
8  },
9  "requestHandlerTimeoutSecs": 60
10}

📝 Input Parameters

ParameterTypeDescription
channelsarrayList of public channel usernames (e.g., ["mediumcom"]).
postsFromintegerStarting message ID (e.g., 10).
postsTointegerEnding message ID (e.g., 20).
proxyobjectProxy settings (recommended to use RESIDENTIAL proxies).
requestHandlerTimeoutSecsintegerTimeout per request in seconds (default is 30).

📤 Output Example

1[
2  {
3    "id": 18,
4    "channelName": "mediumcom",
5    "authorName": "Medium / Medium.com",
6    "authorTelegram": "https://t.me/mediumcom",
7    "date": "2018-03-02T12:24:33+00:00",
8    "viewsCount": "15",
9    "text": "https://journal.thriveglobal.com/look-for-people...",
10    "linkPreview": "Thrive Global\n\n“Look For People Who Need You...”"
11  }
12]

📋 Output Fields

FieldTypeDescription
idintegerMessage ID.
channelNamestringThe channel's username.
authorNamestringThe message author's display name.
authorTelegramstringLink to the channel on Telegram.
datestringTimestamp in ISO 8601 format.
viewsCountstringNumber of views the message received.
textstringThe message content.
linkPreviewstringPreview text if the message contains a link (optional).

💡 How to Use

  1. Specify Channels: Add the public Telegram channel usernames in the channels field.
  2. Set Message Range: Define the postsFrom and postsTo IDs.
  3. Configure Proxies: Use RESIDENTIAL proxies for better access and reliability.
  4. Run the Scraper: Let the scraper do its magic and collect messages! ✨

🛠️ Tips & Tricks

  • Start Small: Unsure of the last message ID? Start with a small range like 10-20.
  • Handle Delays: Increase requestHandlerTimeoutSecs if you encounter timeouts.
  • Check Logs: Review logs for warnings about skipped messages or proxy issues.
  • Public Only: This scraper works for public channels only. Private channels require app-based access.

🚨 Limitations

  • Restricted Messages: Some messages can't be accessed without the Telegram app.
  • Rate Limits: Avoid getting blocked by using residential proxies and adding delays.

🔗 Connect With Us

🆘 Support


Happy Scraping! 😎🧹✨

Happy Scraping! 😎🧹

Developer
Maintained by Community

Actor Metrics

  • 22 monthly users

  • 3 stars

  • >99% runs succeeded

  • 16 hours response time

  • Created in Apr 2024

  • Modified 24 days ago