Telegram Channel Scraper avatar

Telegram Channel Scraper

Pricing

from $1.00 / 1,000 posts

Go to Apify Store
Telegram Channel Scraper

Telegram Channel Scraper

Posts, views, reactions, media and channel info from public Telegram channels, plus a mode that returns only new posts for monitoring. No Telegram login. $1 per 1,000 posts.

Pricing

from $1.00 / 1,000 posts

Rating

0.0

(0)

Developer

ng. night

ng. night

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Get the posts of public Telegram channels as JSON. You don't need a Telegram account, an API key or a phone number. The Actor reads the public web preview of a channel, the page you see at t.me/s/channelname.

There are two ways to use it:

  • Export. Read one or many channels, newest posts first: text, date, views, reactions, photos, video links, documents, polls, forwards, replies, link previews, hashtags and links. Limit the run by number of posts, by start date or by a search word.
  • Watch. Put the Actor on a schedule and turn on "Only new posts since the last run". Each run returns only the posts that appeared since the run before.

Input

FieldWhat it does
ChannelsNames or links: durov, @durov, https://t.me/durov. Up to 2,000 per run.
Maximum posts per channelNewest first. Default 50. 0 returns only the channel profile. Telegram sends 20 posts per page, so 1,000 posts take about 50 requests.
Search inside the channelsOnly posts that contain this word or phrase. This is Telegram's own search, and it returns at most 22 matches per channel (see Limits).
Only posts from this date on2026-01-31 (UTC) or a relative value such as 3 days. The Actor stops reading a channel at the first older post.
Only new posts since the last runWatch mode, explained below.
Monitor nameRuns with the same name share what they have already seen. Use one name per watch list.
Add the channel profileOne extra row per channel with title, subscribers and description. On by default.
ProxyOff by default. In my tests Telegram never limited requests from Apify's servers. Turn Apify Proxy on if you read very many channels and get RATE_LIMITED errors.

Example input:

{
"channels": ["cointelegraph", "https://t.me/durov"],
"maxPostsPerChannel": 100,
"dateFrom": "7 days"
}

Example output

A channel profile:

{
"type": "channel",
"channel": "cointelegraph",
"url": "https://t.me/cointelegraph",
"title": "Cointelegraph",
"verified": false,
"subscribers": 330000,
"photoCount": 21300,
"videoCount": 1300,
"fileCount": 4,
"linkCount": 58700,
"description": "The Future of Money\n\nUnbiased crypto, markets & Web3 news in real-time. Trusted since 2013. ...",
"avatarUrl": "https://cdn4.telesco.pe/file/....jpg",
"scrapedAt": "2026-11-13T06:51:41.357Z"
}

A post. The text, reactions and links are shortened here:

{
"type": "post",
"channel": "cointelegraph",
"channelTitle": "Cointelegraph",
"postId": 73255,
"url": "https://t.me/cointelegraph/73255",
"date": "2026-11-13T06:18:34.000Z",
"text": "🚨 NOW: The Crypto Fear & Greed Index falls to 20, deep in “Extreme Fear” and at its lowest level in four months, as $BTC dropped below $68K. ...",
"views": 1680,
"reactions": [
{ "emoji": "🔥", "count": 13 },
{ "emoji": "🤣", "count": 5 }
],
"reactionsTotal": 25,
"edited": false,
"author": null,
"forwardedFrom": null,
"replyTo": null,
"media": [
{ "type": "photo", "url": "https://cdn5.telesco.pe/file/....jpg" }
],
"unsupportedMedia": false,
"poll": null,
"linkPreview": null,
"links": ["https://ct.com/category/markets", "https://www.youtube.com/@cointelegraph"],
"hashtags": [],
"mentions": [],
"scrapedAt": "2026-11-13T06:51:41.501Z"
}

The poll field of a post that holds a poll:

"poll": {
"question": "Do you like the new Telegram for iOS design in the January update?",
"type": "Anonymous Poll",
"options": [
{ "text": "I like the Telegram redesign and Liquid Glass in general", "percent": 28 },
{ "text": "I don't have an iOS device", "percent": 44 }
]
}

A row that failed looks like this and is not charged:

{
"type": "error",
"channel": "botfather",
"errorCode": "NO_PREVIEW",
"error": "Telegram shows no public web preview for \"botfather\". It may be private, a group, a bot or a user, restricted by Telegram, deleted, or the name is misspelled. Check that https://t.me/s/botfather opens in a browser."
}

Error codes: INVALID_CHANNEL, NO_PREVIEW, RATE_LIMITED, HTTP_ERROR, BAD_RESPONSE, NETWORK, INCOMPLETE (a later page of the channel failed, the posts before it were delivered) and UNEXPECTED. The run also saves a SUMMARY record with the counts per channel, retries and failures. The run ends with an error only when nothing at all was delivered.

Fields worth knowing

  • date is UTC.
  • Telegram rounds big numbers on the page. 330K subscribers is saved as 330000, and 1.68K views as 1680. The Actor cannot see the exact values.
  • reactions lists the emoji and how many people used each. A paid star reaction has "paid": true. A custom emoji has no character, so emoji is null and customEmojiId identifies it.
  • forwardedFrom has the name and url of the source when the post is a forward. url is null when the source has no public link.
  • replyTo has postId, url, author and text of the post that was answered.
  • media holds photos (url), videos (url, thumbnailUrl, durationSeconds) and documents (title, details, postUrl). A video url is null when the preview has no playable file. The Actor does not download files. The links point to Telegram's servers.
  • poll has the question, the type and the options. percent is the rounded share of votes. The preview does not show vote counts.
  • unsupportedMedia is true for a post that has no text, media, poll or link preview in the preview and shows "Please open Telegram to view this post" instead. Open its url in Telegram to see it. In a test with 2,771 posts this was 22 posts (under 1%).

Watch channels on a schedule

  1. Turn on "Only new posts since the last run", give the watch list a monitor name and create a schedule (Console, Schedules), for example every hour.
  2. The first run returns the latest posts up to the maximum and remembers the newest post of every channel.
  3. Every later run returns only newer posts. The channel profile is added only for channels that have new posts, so a quiet run costs the start fee and nothing else.
  4. What the Actor remembers lives in a key-value store named telegram-channel-scraper-state in your account, one record per monitor name, channel and search word. Use a new monitor name to start from scratch.
  5. If more posts than "Maximum posts per channel" came in since the last run, the oldest of them are skipped. Raise the maximum or run more often.
  6. A channel that failed, or a run that stopped at your maximum cost, keeps its old position, so nothing is lost.

Price

  • $1 per 1,000 posts ($0.001 each).
  • $1 per 1,000 channel profiles ($0.001 each).
  • A start fee of $0.00004 per run.

Error rows are free. If you set a maximum cost per run, the Actor stops when it is reached.

Reading 10 channels once a day with about 20 new posts each costs about $0.21 a day. If you run every hour, each channel with new posts also adds its profile row on every run. Switch "Add the channel profile" off to avoid that.

Limits

  • Only public channels that have a web preview. A channel works when https://t.me/s/channelname opens in your browser. Private channels, groups, bots and users return NO_PREVIEW.
  • A few channels open in your browser, but Telegram shows no preview to Apify's servers. rtnews was one in my tests. They return NO_PREVIEW and cost nothing.
  • Search returns at most 22 matches per channel and word, and Telegram decides what matches. In a test with the word bitcoin, 13 of 22 posts had the word in the text and the others matched on their link preview. To get more, read the whole channel and filter it yourself.
  • Posts come newest first. There is a start date but no end date.
  • Telegram does not show vote counts of polls, and it rounds views, subscribers and the channel counters, so those numbers are not exact.
  • Voice messages, stickers and round videos were not part of my tests. If the preview does not show them, you get unsupportedMedia: true.
  • Speed in a test run: 29 channels with 100 posts each, 2,771 posts in 52 seconds. One whole channel with 426 posts took 8 seconds. Telegram did not rate-limit any request in the 29-channel run.
  • If Telegram does answer with a limit, the Actor waits as long as Telegram asks (at most 30 seconds) and tries again up to 5 times.
  • This Actor is not affiliated with Telegram. The posts are public, but names of authors and other personal data can fall under privacy law (GDPR and similar). Check your use case.

Run it from code

curl -X POST "https://api.apify.com/v2/acts/night111~telegram-channel-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"channels": ["durov"], "maxPostsPerChannel": 20}'

Questions

Open an issue in the Issues tab of this Actor with your input and the error code you got.