Telegram Channel Scraper & API - Public Posts, Views & Links avatar

Telegram Channel Scraper & API - Public Posts, Views & Links

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Telegram Channel Scraper & API - Public Posts, Views & Links

Telegram Channel Scraper & API - Public Posts, Views & Links

Telegram channel API: returns the public posts of Telegram channels (post text, date, views, reactions, links, hashtags, media type, polls and more) over REST. Stop at a date or a number of posts per channel before billing. JSON, CSV or Excel. $1.00 per 1,000 posts, no subscription.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Rocketyard

Rocketyard

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Telegram Channel Scraper & API is a REST API on the Apify platform: one request returns the latest public posts of any Telegram channel, as JSON, CSV or Excel. You can also run it from a form in the Apify Console, without code.

What does Telegram Channel Scraper & API do?

Telegram Channel Scraper & API returns the public posts of Telegram channels: one clean record per post, with typed values (numbers, booleans, ISO dates) ready for spreadsheets, databases and AI pipelines.

  • Every public post with its date, text, views, reactions, links, hashtags, media type and polls, as typed values
  • Exact subscriber counts from the channel's info page, not only the rounded number on the preview
  • Forwarded posts name the public channel they came from; posts say when they were edited and which post they reply to
  • Pages back 20 posts at a time, and stops at a date with Posts since: on a schedule you pay only for new posts
  • No login, no phone number, no API ID or bot token: plain HTTP requests to the public web preview
  • A channel that cannot be read gets a free error item with the reason; the others carry on
  • Pay only per post: no monthly rental, no start or per-channel fee

Use cases

  • Monitor news, crypto and company channels for new posts, views and reactions
  • Collect channel posts with links and hashtags for research, media monitoring and AI pipelines
  • Track how posts perform: views, reactions and forwards over time
  • Archive the public history of a channel as structured data

Why this Telegram post scraper?

  • Several competitors have unreliable runs (<90% success in 30 days)
  • Cheaper than typical alternatives ($1.00 vs $2.00 per 1,000 results)

How it compares

Telegram post scraperUsers (last 30 days)Successful runs (last 30 days)Price per 1,000 results
Telegram Scraper: Channels, Messages, Comments & Profiles31899.5%$1.00
Telegram Scraper153100.0%$5.00
Telegram Channel Search Scraper (topic, subscribers, no login)10598.3%$3.00
This Actornewevery release is tested on live pages first$1.00

Apify Store data from 2026-11-20, free-plan prices. Prices and stats change; check each listing before you compare.

Telegram channel API

Every Apify Actor is also a REST endpoint, so Telegram Channel Scraper & API works as a Telegram channel API, a Telegram posts API or a Telegram scraper API, without a server of your own. One POST starts a run, waits for it and returns the results:

POST https://api.apify.com/v2/acts/rocketyard~telegram-channel-scraper/run-sync-get-dataset-items

Send your Apify API token in the Authorization header and the input as the JSON body. Add ?format=csv or ?format=xlsx to get CSV or Excel instead of JSON. The request waits up to 300 seconds; for a longer run, start it with POST /v2/acts/rocketyard~telegram-channel-scraper/runs and read the dataset when it finishes.

How it works

Telegram publishes a web preview of every public channel at https://t.me/s/<channel>: the latest 20 posts, and older ones 20 at a time. The Actor reads those pages over plain HTTP, without a browser, login, phone number or API key, honours Telegram's robots.txt and keeps requests at least half a second apart. It turns each post into a typed record: the date in ISO 8601, views and reactions as numbers, the text with its links and hashtags, the media type, polls, and whether the post was edited or forwarded. The exact subscriber count comes from the channel's info page, and the source of a forwarded post from the post's embed. A channel that cannot be read gets an error item that says why, and is not charged.

How to use it

  1. Click Try for free.
  2. Add channel links to Channel URLs (for example https://t.me/telegram), or usernames to Channel usernames.
  3. Set Max posts per channel, and optionally Posts since to stop at a date.
  4. Click Start, then download results as JSON, CSV or Excel, or read them through the API.

Input

FieldJSON keyWhat it does
Channel URLsstartUrlsPublic channel links such as https://t.me/telegram or https://t.me/s/telegram (a post link reads its channel). Leave empty if you use Channel usernames.
Channel usernameschannelsUsernames of public channels, such as "telegram" or "@binance_announcements".
Max posts per channelmaxPostsPerChannelNewest posts to return from each channel. The Actor pages back 20 posts at a time until it has this many.
Posts sincesinceOnly posts published since this date, such as "2026-10-01", or within this age, such as "7 days". Paging stops at the first older post. On a schedule, this returns only new posts.
Max resultsmaxItemsStop after this many posts in total, over all channels. This also caps the cost of the run.
Max concurrencymaxConcurrencyChannels read in parallel. Requests to Telegram stay at least half a second apart either way.
Proxy configurationproxyConfigurationOptional Apify Proxy for ordinary routing. It is not a way around a block: a blocked channel returns an error item.

Input example

{
"startUrls": [
{
"url": "https://t.me/telegram"
}
],
"channels": [
"@binance_announcements"
],
"maxPostsPerChannel": 100,
"since": "30 days"
}

Output example

A real record from the latest test run (t.me) on 2026-11-20. Fields the page didn't publish are left out here; the Actor returns them as null.

{
"url": "https://t.me/binance_announcements/9154",
"type": "SocialMediaPosting",
"channel": "binance_announcements",
"channelTitle": "Binance Announcements",
"channelSubscribers": 3157480,
"postId": 9154,
"date": "2026-11-20T08:02:13.000Z",
"text": "Binance Earn: Enjoy Up to 5% APR with USDC and USDT Flexible Products (2026-11-22)\n\nBinance Earn is excited to renew the campaign for the USDC and USDT Simple Earn Flexible Products! During the Promotion Period, eligible users who subscribe to USDC and USDT Flexible Products may enjoy up to 5% AP…",
"views": 9610,
"reactions": [
{
"emoji": "❤",
"customEmojiId": null,
"count": 18
},
{
"emoji": "😢",
"customEmojiId": null,
"count": 17
},
{
"emoji": "👏",
"customEmojiId": null,
"count": 4
},
{
"emoji": "👍",
"customEmojiId": null,
"count": 3
},
{
"emoji": "🐳",
"customEmojiId": null,
"count": 3
},
{
"emoji": "💯",
"customEmojiId": null,
"count": 1
}
],
"reactionCount": 46,
"links": [
"https://www.binance.com/en/support/announcement/detail/720dd77bcb9c41acafc8cc1c15505b5d?utm_source=EnglishTelegram&utm_medium=GlobalCommunity&utm_campaign=AnnouncementBot"
],
"mediaType": "photo",
"mediaCount": 1,
"forwarded": false,
"edited": false,
"scrapedAt": "2026-11-20T10:39:23.864Z"
}

Output fields

FieldDescription
urlLink to the post (https://t.me/
typeAlways SocialMediaPosting
channelChannel username, without the @
channelTitleChannel name
channelSubscribersSubscribers as a number: exact from the channel's info page, or the preview's rounded count when the info page has none
postIdPost number within the channel
datePublished (ISO 8601, UTC)
textPost text with line breaks; empty for a post with media only
viewsViews as a number, from the count Telegram displays (rounded for large counts)
reactionsReactions shown on the post: emoji (⭐ for paid reactions), customEmojiId for custom emoji, count
reactionCountSum of the reaction counts shown (0 when the post shows none)
linksLinks in the post text and its link preview
hashtagsHashtags Telegram linked in the post
mediaTypephoto, video, audio, document, poll, sticker, location, other or none
mediaCountPhotos, videos or files attached (an album has several)
pollPolls only: question, type, voters and options with their text and percent
forwardedtrue when the post was forwarded from another chat
forwardedFromThe public channel a forwarded post came from: channel, title, url of the original post. Empty when it came from a person's account or the source is hidden
replyToPostIdThe post of the same channel this post replies to
editedtrue when Telegram marks the post as edited
scrapedAtISO timestamp of the extraction

Error items

When an input produces no data, the dataset gets one error item for it, so nothing is skipped silently. Error items are free: only result records are charged.

{
"url": "https://t.me/s/no_such_channel_example",
"input": "https://t.me/s/no_such_channel_example",
"error": {
"type": "https://rocketyard.dev/errors#channel-not-found",
"title": "Channel not found",
"detail": "No public Telegram channel at @no_such_channel_example: it does not exist, is private, or is a person's or a bot's account.",
"instance": "https://t.me/s/no_such_channel_example",
"code": "CHANNEL_NOT_FOUND"
}
}

The error object follows RFC 9457 (Problem Details). Its type links to the explanation of the code, and status is the site's HTTP status when there was one. Filter on error.code to separate failures from data; it has its own column in CSV and Excel exports.

CodeMeaningRetry?
ROBOTS_DISALLOWEDThe site's robots.txt does not allow automated access to this URL (or to the page it redirects to), so it was not fetched.no
ROBOTS_UNREACHABLEThe site's robots.txt could not be loaded because of a server or network error. Under RFC 9309, the page is then not fetched.yes
PRIVATE_ADDRESSThe URL, or a redirect from it, points to a private or local network address. Only public websites are fetched.no
BLOCKEDThe site refused access (HTTP 401, 403 or 429) or answered with a bot-check or consent page instead of the content.sometimes
HTTP_ERRORThe site answered with another HTTP error: a server error (5xx) that persisted after retries, or an unexpected 4xx status.sometimes
TIMEOUTThe site did not answer in time, even after retries.yes
NETWORK_ERRORThe connection failed (DNS, TLS or a reset connection), even after retries.yes
WRONG_CONTENT_TYPEThe URL returned something the Actor doesn't read, such as a PDF or image instead of an HTML page, or a web page where an API response was expected.no
TOO_LARGEThe response exceeded the size limit (10 MiB for web pages, 48 MiB for API responses).no
PARSE_ERRORThe response could not be read (malformed HTML or JSON).sometimes
EMPTYThe source has nothing to return right now: a list with no open items, a store or collection with no products, a search with no results, or a web page whose HTML has no readable text (often a page built only by JavaScript in the browser).no
NO_MATCHESThe source has items, but none of them matched your filters.no
CHANNEL_NOT_FOUNDNo public channel exists at this handle, ID or URL. On Telegram, this includes groups, private channels and personal or bot accounts, which have no public channel preview.no

Limits

  • Public channels only. Groups, comments, member and subscriber lists, user profiles, private channels and invite links are never read; a name that is not a public channel returns a free CHANNEL_NOT_FOUND item.
  • Views and reaction counts are as Telegram displays them, rounded for large numbers (1.68M). The subscriber count is exact when the channel's info page shows it.
  • The preview hides where a forward came from. The Actor reads the post's embed to name the source channel; a forward from a person's account is marked forwarded and never named.
  • Media files are not downloaded: each post says its media type and how many files it has.
  • Telegram serves 20 posts per page and the Actor waits half a second between requests, so reading far back takes time: about 2,000 posts a minute.
  • When Telegram refuses a request or answers with a bot check, that channel returns a free BLOCKED error item; run it again later. The Actor never works around a block.

Pricing

Pay per result: $1.00 per 1,000 posts, plus a tiny per-run start fee. Channels that cannot be read produce an error item, which is not charged, and posts older than Posts since are not charged. There is no monthly rental, and you can cap spend per run with Max results or Maximum cost per run.

Integrations and API

Run it from the Apify API, the JavaScript/Python clients, Make, Zapier, n8n, LangChain or any MCP-compatible AI agent, and send results to Google Sheets, webhooks, S3 and more. Schedule it to track changes over time.

FAQ

Which channels does it work on? Any public Telegram channel whose web preview opens at https://t.me/s/<channel> in a browser: news, company, crypto and creator channels. Private channels, groups and bots have no such preview.

Does it need a Telegram account or API key? No. It reads the public web preview any browser opens at https://t.me/s/<channel>, with no login, phone number, API ID or bot token.

How exact are the numbers? Views and reaction counts are what Telegram displays, rounded for large numbers (1.68M views). The subscriber count is exact when the channel's info page shows it (for example 10,044,174); otherwise it is the preview's rounded count.

Can it read older posts? Yes. It pages back 20 posts at a time from the newest, until it has Max posts per channel posts or reaches a post older than Posts since.

Does it scrape comments, groups or members? No. It reads public channel posts only. Comments, group chats, member lists and user profiles are data about people, which the Actor does not collect.

How do I get only new posts? Schedule it with Posts since set to an age such as 1 day: each run returns only the posts of the last day, and you pay only for those.

How much does it cost? You pay per result: $1.00 per 1,000 posts, plus a start fee of $0.00005 per run, with no subscription. Cap any run with Maximum cost per run.

How do I call it from the API? One request starts a run and returns its results, using your Apify API token:

$curl -X POST "https://api.apify.com/v2/acts/rocketyard~telegram-channel-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"startUrls":[{"url":"https://t.me/telegram"}],"channels":["@binance_announcements"],"maxPostsPerChannel":100,"since":"30 days"}'

How do I use it with AI agents? Connect Apify's MCP server at https://mcp.apify.com?tools=rocketyard/telegram-channel-scraper, and the agent can call this Actor as a tool.

Is it legal to scrape Telegram data? The Actor reads only the web preview Telegram publishes for anyone at t.me/s/

What happens when an input fails? If a channel can't be read, the dataset gets one error item for it with a code and the reason. Error items are free, and the other channels still run.

I need a field that is not supported. Open an issue on the Actor's Issues tab. Requests are reviewed regularly and drive new features.

You might also like

Made by Rocketyard

Rocketyard builds pay-per-result scrapers for public web data, and every release is tested on live pages before it ships. Guides for this Actor: overview, REST API, MCP for AI agents and n8n, Make and Zapier.