VOOZH about

URL: https://apify.com/i-scraper/telegram-channels-scraper

⇱ Telegram Channels Scraper Β· Apify


Pricing

$2.00 / 1,000 results

Go to Apify Store

Telegram Channels Scraper

⚑️ Telegram Channels Scraper: Extract posts from public Telegram channels.

Pricing

$2.00 / 1,000 results

Rating

5.0

(1)

Developer

πŸ‘ i-Scraper

i-Scraper

Maintained by Community

Actor stats

4

Bookmarked

212

Total users

7

Monthly active users

2 months ago

Last modified

Categories

Share

πŸ“Š Powerful Apify Actor for extracting message history from public Telegram channels.

Telegram Channels Scraper automatically downloads complete or incremental message history from the channels you specify.


1. Why you will love it

  • 🏎 Fast β€” fetches thousands of messages per minute thanks to full async processing.
  • πŸ›‘ Reliable β€” retries API calls, respects rate limits and survives network hiccups.
  • πŸ”Ž Flexible β€” scrape any number of channels and use historyFrom to limit the time range.
  • ☁️ Scalable β€” run dozens of parallel actors on Apify without dealing with servers.

2. Input configuration

{
"channels":[
"@apify",
"https://t.me/durov"
],
"historyFrom":"2025-01-01T00:00:00Z",
"telegramSession":"${{ TELEGRAM_SESSION }}",
"telegram2faPassword":"${{ TELEGRAM_2FA_PASSWORD }}",
"limit":1000
}

Parameters explained:

  • channels (array, required) β€” channel identifiers accepted in any of the following forms:
    • @channel
    • https://t.me/channel
    • channel
  • historyFrom (string, optional) β€” ISO-8601 timestamp. Messages older than this value are skipped.
  • telegramSession (string, optional) β€” pass a session string directly instead of using the secret.
  • telegram2faPassword (string, optional) β€” account password if two-factor authentication is enabled.
  • limit (integer, optional) β€” maximum number of latest messages to fetch per channel. If omitted, the actor retrieves the full history (subject to historyFrom).

3. Running the Actor

  1. Open Telegram Channels Scraper on Apify.
  2. Click Run and open the Logs tab.
  3. If you didn’t provide a session string, a QR code will appear. In the Telegram app open Settings β†’ Devices β†’ Link Desktop Device and scan the QR code.
  4. If Telegram prompts for a password after scanning the QR (two-factor authentication), stop the run, open the input section and fill Telegram 2FA password (or set the secret TELEGRAM_2FA_PASSWORD) and start the Actor again.
  5. (Optional) Copy the session string shown in the logs and store it as TELEGRAM_SESSION for future runs.

4. Output dataset

Each message is stored in the default dataset. Sample record:

{
"type":"message",
"channel":"apify",
"id":12345,
"date":"2024-05-21T15:32:10+00:00",
"sender_id":67890,
"sender_username":"username",
"text":"Hello, Apify!",
"media_type":null
}

Download results in JSON, CSV, Parquet and more via Apify API or UI.


5. FAQ

Q: I see FloodWaitError in logs β€” did the run fail?
A: No. The actor automatically waits the required time and resumes. You will only see a warning.

Q: Can I scrape a private channel?
A: Yes. Provide an invite link (e.g. https://t.me/+HASH) or its short form (+HASH) in the channels array. Make sure the Telegram account running the actor has access to the channel; the actor will automatically join it if needed.

Q: How do I save only media messages?
A: After the run finishes, filter the dataset by media_type.

Q: Is it safe to provide telegramSession and telegram2faPassword?
A: Both values are stored in Apify Secrets; they never appear in logs and cannot be read by other actors. A session string only grants access to act as your account, and the 2FA password is used once during the sign-in flow. Recommended practices:
β€’ keep both values exclusively in Secrets;
β€’ regenerate / update the session string whenever you change your Telegram password;
β€’ you can revoke access at any moment in Telegram settings by logging out the linked device.

Q: I noticed a new device called β€œapifytg” logged into my Telegram from an unfamiliar location. What is it?
A: When the actor authenticates, Telethon registers a device for the session (the default device model is β€œApifyTG”). The IP you see is the data-centre where the actor is running (Apify Cloud or your local machine). This is expected and safe. If you want to revoke access, simply log this device out in Settings β†’ Devices and remove the saved telegramSession / secret.


6. Related Telegram Scrapers

Looking for more Telegram data extraction tools? Check out our complete suite:

  • πŸ’¬ Telegram Comments Scraper β€” download comments from channel posts with flexible filtering options.
  • πŸ‘ Telegram Like Scraper β€” collect like statistics, emoji reactions, and view counts from channel posts.
  • πŸ‘₯ Telegram Groups Scraper β€” scrape message history from Telegram groups (including private invite links).

7. Support & contributions

Found a bug or have a feature request? Feel free to open an issue or submit a pull request. We’re happy to discuss ideas like additional fields, filters or export formats.


⭐️ Launch Telegram Channels Scraper today and turn Telegram content into valuable data for analytics, brand monitoring and research!

You might also like

Telegram Channels Scraper

pamnard/telegram-channels-scraper

Scrapes channels data from Telegram

Telegram Like Scraper

i-scraper/telegram-like-scraper

⚑️ Telegram Like Scraper: Extract likes from posts from Telegram channels.

Telegram Channel Scraper

thescrapelab/Apify-Telegram-Scraper

Scrape public Telegram channels without the Telegram API. Extract posts, dates, URLs, outlinks, link previews, hashtags, mentions, and channel metadata to an Apify dataset.

51

Telegram Channel & Profile Scraper

automation-lab/telegram-scraper

Scrape Telegram public channels and profiles β€” channel metadata, messages, views, reactions, and media URLs. No API key or login needed.

πŸ‘ User avatar

Stas Persiianenko

292

Telegram Public Channels Scraper

crawlerbros/telegram-public-channels-scraper

Scrape Telegram public channels via the web preview (t.me/s/{channel}) with channel metadata + recent posts with text, media URLs, view counts, and forwarded-from attribution. No login, no Telegram app, no proxy required.

15

Telegram Channels Scraper – Cheap πŸ“±

contactminerlabs/telegram-channels-scraper---cheap

πŸ” Scrape Mass/Bulk Telegram Channels Enter any keyword & extract relevant Telegram channels, including channel name, description, subscriber count & channel URL πŸ“’ Perfect for audience research, community discovery, trend monitoring, influencer discovery, competitor tracking or AI pipelines

πŸ‘ User avatar

ContactMinerLabs

45

5.0

Telegram Channel Monitor & Data Extractor

george.the.developer/telegram-channel-scraper

Extract messages, member data, and engagement analytics from any public Telegram channel. Monitor crypto groups, track competitor channels, analyze discussion trends. No Telegram account required.

122

Telegram Channel Scraper β€” Posts, Views & Engagement

viralanalyzer/telegram-channel-scraper

Extract posts, view counts, subscriber numbers, and engagement metrics from public Telegram channels. Pure HTTP via t.me/s/ public preview β€” no API key, no login. Track competitors, monitor channels, and analyze reach for growth and market research. Clean JSON.

80

4.5

Telegram channel and Group Message Scraper

clothefobia/telegram-channel-and-group-message-scraper

Telegram channel and Group Message Scraper- Scrap all messsage from Telegram Channel and Group with user information.

275