Telegram Channel Scraper: Whole Message History
Pricing
from $0.18 / 1,000 messages
Telegram Channel Scraper: Whole Message History
A public Telegram channel's messages back to its first post, with views and every reaction. $0.25 per 1,000 messages. Media links, polls and the subscriber count.
Pricing
from $0.18 / 1,000 messages
Rating
0.0
(0)
Developer
Luzi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
Get a public Telegram channel's messages, newest first, all the way back to its first post: the text, the date, views, every reaction (paid stars included), photos, videos, files, polls, link previews, forwards and replies, with the channel's title, description and subscriber count on every row. Paste usernames or t.me links. No Telegram account needed.
Tested daily. Latest checks: two channels read whole, 424 and 426 messages back to their oldest posts; 10,000 messages from five channels in 7 minutes.
What does this Actor do?
You give it public Telegram channels. For each one it reads the channel's messages from the newest back, about 20 at a time, and saves one row per message until it reaches your limit, your date, or the channel's first message.
Each message comes with:
- its link, id, date and type (text, photo, video, album, document, audio, voice, sticker, round video, location, poll, or service when you ask for service messages), and whether it was edited
- its text, as plain text and as HTML, with the links, hashtags and @mentions in it
- its view count, each reaction with its count, the reactions' total and the paid stars
- its photos and videos (links, thumbnails and lengths), files and audio (name and size or performer), its poll (question and each answer's share) and its link preview
- where it was forwarded from, and the message it replies to
- the author's signature, when the channel signs its posts
- the channel's id, username, title, description (and the links in it), picture, verified badge and its counts of subscribers, photos, videos, files and links
- with Include comments on, on channels that have comments: its comment count and the latest comments under it (up to 5), each with its author, date, text, the comment it answers and its reactions
Why use it?
- The whole history, not just the latest. This Actor keeps going to a channel's very first message, or stops at your limit or your date.
- Start anywhere. Paste a link to one post and the read starts there and goes back.
- Every reaction, counted. Each emoji's count, plus the paid stars, not just a total.
- The channel on every row. Subscribers and the channel's media counts sit beside each message, so one export compares channels.
- Monitor a channel. Run it daily with Only messages newer than set to
1 day. - Use the data anywhere. Download as JSON, CSV or Excel, or send it to your own tools through Apify's API and integrations.
How to use it
- Paste one or more channels into Channels:
durov,@durov,https://t.me/durovandhttps://t.me/s/durovall work. A post link such ashttps://t.me/durov/300starts at that post. - Optionally, set Only messages newer than and Max messages per channel, and turn on Include comments for each message's comment count and latest comments.
- Click Start. When the run ends, open the Output tab to view the messages or download them.
Only public channels can be read. Invite links (t.me/+…, t.me/joinchat/…),
private channels, groups, users and bots are not supported. Put one channel
on each line of the list.
Run it with no input to see a sample: up to 500 messages each from two public channels, @durov and @telegram, charged as usual.
Input
| Field | What it does | Default |
|---|---|---|
Channels (channels) | The channels to read: usernames, channel links or post links. Required. | — |
Only messages newer than (onlyMessagesNewerThan) | A date (YYYY-MM-DD, UTC) or a period (7 days, 2 weeks, 3 months, 1 year). Empty = the whole history | empty |
Max messages per channel (maxMessagesPerChannel) | Stop reading a channel after this many messages, from 1 to 50,000 | 100 |
Include service messages (includeServiceMessages) | Also save service messages such as "Channel created" | off |
Include comments (includeComments) | Also get each message's comment count and latest comments, on channels with comments on; runs take longer | off |
Only new messages (onlyNewItems) | Return only the messages an earlier run did not; see New items only below | off |
Example input:
{"channels": ["https://t.me/durov", "telegram"],"onlyMessagesNewerThan": "30 days","maxMessagesPerChannel": 1000}
New items only
Turn on Only new messages (onlyNewItems) for a scheduled run, or a
re-run of the same task. Each run then returns only the messages it has not
returned before: it reads each channel back to a day before the last run that
read it, and skips the messages an earlier run saved. Skipped messages are
neither saved nor charged; each new message is charged as usual.
- Runs with other settings, or from another task, keep their own list, so two schedules on one channel never skip each other's messages.
- If a channel stops at Max messages per channel, the messages past that point are not returned later. Set the maximum above what one channel gets between runs.
- The list lives in your Apify account, in a key-value store named
telegram-channels-scraper-monitor. Delete it to start afresh.
Output
One row per message. An example, shortened:
{"url": "https://t.me/example_channel/1234","message_id": 1234,"type": "album","date": "2026-10-11T14:52:40+00:00","edited": false,"text": "Two photos and a video from today.","views": 1040000,"views_text": "1.04M","reactions": [{ "emoji": null, "emoji_id": null, "paid": true, "count": 5720, "count_text": "5.72K" },{ "emoji": "👍", "emoji_id": null, "paid": false, "count": 12300, "count_text": "12.3K" }],"reactions_total": 12300,"paid_stars": 5720,"photo_urls": ["https://cdn4.telesco.pe/file/…jpg", "https://cdn4.telesco.pe/file/…jpg"],"video_urls": ["https://cdn4.telesco.pe/file/…mp4"],"is_forwarded": false,"channel_id": "1000000001","channel_username": "example_channel","channel_title": "Example Channel","channel_subscribers": 10300000,"channel_photos": 102,"channel_videos": 47,"channel_links": 200}
| Field | What it is |
|---|---|
url | The message's link |
message_id | The message's number in its channel |
type | text, photo, video, album, document, audio, voice, sticker, round_video, location, poll or service |
date | When it was posted (UTC) |
edited | true when it was edited |
text | Its text, or its caption; null when it has none |
text_html | The same text with its formatting and links, as HTML |
author_signature | The author's name, when the channel signs its posts |
views | Its views, as a number (Telegram rounds large counts: 1.04M reads as 1040000) |
views_text | The views as Telegram shows them |
reactions | Each reaction: emoji (or emoji_id for a custom emoji), paid for paid stars, count and count_text |
reactions_total | The reactions added up, paid stars left out |
paid_stars | The paid stars it received |
links | The links in its text |
hashtags, mentions | The #hashtags and @usernames in its text |
media | Each photo, video, file, audio, voice note, sticker or location: type, url, thumbnail_url, duration, title, details (a file's size or a song's performer) and link |
photo_urls, video_urls | The photo and video links on their own |
poll | Its poll: question, type and each answer's text and percent |
link_preview | The preview of the link it shares: url, site_name, title, description and image_url |
is_forwarded | true when it was forwarded from elsewhere |
forwarded_from_name, forwarded_from_url | Where it was forwarded from, when Telegram shows it |
reply_to_message_id, reply_to_url | The message it replies to |
reply_to_author, reply_to_text | That message's author and the start of its text |
channel_id | Telegram's id for the channel |
channel_username, channel_url | The channel's username and link |
channel_title, channel_description | The channel's name and description |
channel_description_links | The links in the channel's description |
channel_verified | true when the channel has the verified badge |
channel_photo_url | The channel's picture |
channel_subscribers | Its subscribers when it was read (rounded as Telegram shows it); channel_subscribers_text is the shown value |
channel_photos, channel_videos, channel_files, channel_links | The channel's counts of photos, videos, files and links; null when it shows none |
source_link | The channel this message was read from |
comment_count | With Include comments on: how many comments the message has; null when the channel has comments off |
latest_comments | With Include comments on: the latest comments under it (up to 5), each with comment_id, url, date, author_name, author_url, text, reply_to_comment_id, reply_to_author, reactions and reactions_total; null when the channel has comments off |
With Include comments on, a message on a channel with comments also has:
{"comment_count": 162,"latest_comments": [{"comment_id": 1836010,"url": "https://t.me/example_channel/1234?comment=1836010","date": "2026-10-15T11:27:26+00:00","author_name": "Example Reader","author_url": "https://t.me/example_reader","text": "Thanks for the update!","reply_to_comment_id": 1836009,"reply_to_author": "Another Reader","reactions": [{ "emoji": "👍", "emoji_id": null, "paid": false, "count": 1, "count_text": "1" }],"reactions_total": 1}]}
Not included: comments past the latest 5 under a post, the forward count, the files themselves (only links to photos and videos, and the names of files), and the link of a video too large to play outside the Telegram app (it keeps its thumbnail and length).
How much does it cost?
No surcharges and no paid options; an item that fails is not charged.
You pay for what you get:
- $0.25 per 1,000 messages ($0.00025 a message). Each message is charged once per run.
- $0.0003 per run start, charged by Apify once a run at the default 1 GB of memory (once per GB for a run given more). Nothing per channel.
So a run of 1,000 messages from each of 3 channels costs $0.7503: $0.75 for the messages and $0.0003 for the run start. If you set a maximum cost for a run, the Actor stops when it reaches it and keeps every message saved so far.
How long does a run take?
About 275 messages a minute from each channel, with up to five channels read at once: 2,000 messages from each of five channels took 7 minutes.
With Include comments on, a channel that has comments takes one more page per message, so it reads several times slower; a channel with comments off is checked once and reads at the usual speed.
Good to know
- Check your input first. A link that is not a Telegram channel or post link stops the run before anything is read, and the message names it.
- One channel that cannot be read does not stop the run. A name that is a user, a bot, a group, a private channel or no one at all ends with a message, the others carry on, and the run's status lists the channels that could not be read. The run fails only when no channel could be read.
- Counts are rounded. Telegram shows large views, reactions and
subscriber counts rounded (
10.3M); the number fields hold that rounded value and the_textfields what Telegram shows. - Counts move. Views and reactions are the numbers at the moment the message was read.
- Media links expire. Photo and video links point at Telegram's servers and stop working after a while: download what you need soon after the run.
- An album is one row. Several photos or videos sent together are one
message with several entries in
media. - Remove repeats by
url. A daily run reads recent messages again, unless Only new messages is on.
More Actors from us
- 2GIS Places Scraper: Every Result, Contacts: Every place a 2GIS search lists, read to 2GIS's own count, with phones, emails, sites and socials.
- Airbnb Scraper: Every Stay, Past the 15-Page Limit: Every rental of an Airbnb search with its price for your dates, past the 15 pages Airbnb shows.
- Alibaba Products Scraper: Price Tiers & Suppliers: Alibaba.com products by keyword or link: USD price tiers, MOQ, supplier, product pages at no extra cost.
- AliExpress Product Scraper: Search Results & Prices: Every product of an AliExpress search to its last page, with exact sold counts and ratings.
- Amazon Bestsellers Scraper: Top 100 & New Releases: All 100 ranks of Amazon Best Sellers and New Releases, down its subcategories.
- Amazon Product Scraper: Search Results & Prices: Every product of an Amazon search to the last page, with price and monthly sales, to track daily.
Use it from an AI agent or the API
One call starts a run and returns its items (Apify waits up to 300 seconds; for a
longer run, start it with POST /v2/acts/…/runs and read its dataset):
POST https://api.apify.com/v2/acts/luzivanlt~telegram-channels-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>
With the sample input as its JSON body:
{"channels": ["https://t.me/durov", "telegram"],"maxMessagesPerChannel": 500,"includeServiceMessages": false}
Its inputs, in the order of the input form:
| Input | What it takes | Default |
|---|---|---|
channels (Channels) | Public Telegram channels to read: a username (durov or @durov), a channel link (https://t.me/durov, t.me/s/durov or telegram.me/durov) or a link to one of its posts (https://t.me/durov/300), which starts the read at that post and goes back from there. | — |
onlyMessagesNewerThan (Only messages newer than) | Keep only messages from this date on: a date (YYYY-MM-DD, UTC) or a period, e.g. "7 days", "2 weeks", "3 months" or "1 year". | — |
maxMessagesPerChannel (Max messages per channel) | Stop reading a channel after this many messages, newest first, from 1 to 50,000. | 100 |
includeServiceMessages (Include service messages) | Also save the channel's service messages, such as "Channel created" or a new channel photo. | false |
includeComments (Include comments) | Also read each message's comments, on channels that have comments on: every message gets its comment count and the latest comments shown under it (up to 5, each with its author, date, text, the comment it answers and its reactions). | — |
onlyNewItems (Only new messages) | Turn this on for a scheduled run, or a re-run of the same task: each run then returns only the messages it has not returned before, reading each channel back to a day before the last run that read it. | — |
Apify's MCP server, https://mcp.apify.com, lists it as luzivanlt/telegram-channels-scraper. To give an
AI agent this Actor as a tool, add the server to the agent's MCP config:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=luzivanlt/telegram-channels-scraper"}}}
The client signs in with OAuth, or add "headers": { "Authorization": "Bearer <APIFY_TOKEN>" }.
Charged per message delivered; the sample input above costs at most $0.25.
FAQ
Do I need a Telegram account? No. The Actor reads what anyone can see in a public channel.
Can it read private channels or groups? No, only public channels.
Can it read the comments under a post? Turn on Include comments: each message gets its comment count and the latest comments under it (up to 5). Earlier comments are not read yet.
Can I search Telegram by keyword? Not yet: this Actor reads the channels you give it.