Telegram Channel Scraper & API - Public Posts, Views & Links
Rocketyard’s Telegram Channel Scraper & API returns the public posts of Telegram channels and returns one clean record per post: channel, channel title, channel subscribers, post id, date, text and more. It runs on the Apify platform, so you can start it from the Apify Console, the REST API, an AI agent or a no-code tool.
Who it’s for
Section titled “Who it’s for”- Media monitoring and PR teams tracking news channels
- Crypto and market analysts following project and exchange announcements
- Researchers and journalists studying Telegram channels
- Developers feeding channel posts into dashboards, alerts and AI pipelines
What you can do with it
Section titled “What you can do with it”- Turn the posts of a list of channels into a spreadsheet with dates, views, reactions and links
- Get every new post of a set of channels each day
- Archive the history of a channel for research
How it works
Section titled “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.
Example output
Section titled “Example output”A real record from a test run on 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"}Fields
Section titled “Fields”| Field | Description | Filled in latest test |
|---|---|---|
channel |
Channel username, without the @ | 100% |
channelTitle |
Channel name | 100% |
channelSubscribers |
Subscribers as a number: exact from the channel’s info page, or the preview’s rounded count when the info page has none | 100% |
postId |
Post number within the channel | 100% |
date |
Published (ISO 8601, UTC) | 100% |
text |
Post text with line breaks; empty for a post with media only | 100% |
views |
Views as a number, from the count Telegram displays (rounded for large counts) | 100% |
reactions |
Reactions shown on the post: emoji (⭐ for paid reactions), customEmojiId for custom emoji, count |
50% |
reactionCount |
Sum of the reaction counts shown (0 when the post shows none) | 100% |
links |
Links in the post text and its link preview | 100% |
hashtags |
Hashtags Telegram linked in the post | 0% |
mediaType |
photo, video, audio, document, poll, sticker, location, other or none |
100% |
mediaCount |
Photos, videos or files attached (an album has several) | 100% |
poll |
Polls only: question, type, voters and options with their text and percent |
0% |
forwarded |
true when the post was forwarded from another chat |
100% |
forwardedFrom |
The 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 |
0% |
replyToPostId |
The post of the same channel this post replies to | 0% |
edited |
true when Telegram marks the post as edited |
100% |
url |
the page the record came from | 100% |
scrapedAt |
ISO timestamp of the extraction | 100% |
A field is filled when the source publishes it. The Actor never guesses a value: a missing field comes back as null. “Filled in latest test” is the share of records from the latest test run (t.me) that had the field; other sources publish more or less.
Pricing
Section titled “Pricing”You pay $1.00 per 1,000 posts, plus a start fee of $0.00005 per run. Channels that cannot be read produce an error item, which is not charged, and posts older than Posts since are not charged.
| Posts | Cost |
|---|---|
| 1,000 | $1.00 |
| 10,000 | $10.00 |
| 100,000 | $100.00 |
Set maxItems or the run’s Maximum cost per run in Apify to cap spending.
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. Call it from any language with the Apify REST API, or with Apify’s JavaScript and Python clients. You need an Apify API token.
Telegram channel API request
Section titled “Telegram channel API request”curl -s -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"}'import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('rocketyard/telegram-channel-scraper').call({"startUrls":[{"url":"https://t.me/telegram"}],"channels":["@binance_announcements"],"maxPostsPerChannel":100,"since":"30 days"});const { items } = await client.dataset(run.defaultDatasetId).listItems();from apify_client import ApifyClientclient = ApifyClient("<APIFY_TOKEN>")run = client.actor("rocketyard/telegram-channel-scraper").call(run_input={"startUrls":[{"url":"https://t.me/telegram"}],"channels":["@binance_announcements"],"maxPostsPerChannel":100,"since":"30 days"})items = client.dataset(run["defaultDatasetId"]).list_items().itemsThe synchronous endpoint returns the records directly. For long crawls, start the run asynchronously and read the dataset when it finishes.
Apify’s MCP server exposes this Actor as a tool to Claude, Cursor and other MCP clients. Open this Actor’s MCP setup page for setup steps per client, or connect it with this URL:
https://mcp.apify.com?tools=rocketyard/telegram-channel-scraperClaude Code:
claude mcp add --transport http apify "https://mcp.apify.com?tools=rocketyard/telegram-channel-scraper"Cursor (.cursor/mcp.json) and other clients that read an mcpServers config:
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=rocketyard/telegram-channel-scraper" } }}On first use your browser opens so you can sign in to Apify. Then ask the agent, for example: “Turn the posts of a list of channels into a spreadsheet with dates, views, reactions and links”. The tool returns JSON records, and the runs are billed to that Apify account at $1.00 per 1,000 posts.
Automation
Section titled “Automation”n8n, Make and Zapier all connect to Apify. Each example below uses Actor rocketyard/telegram-channel-scraper with this input:
{ "startUrls": [ { "url": "https://t.me/telegram" } ], "channels": [ "@binance_announcements" ], "maxPostsPerChannel": 100, "since": "30 days"}Copy this workflow and paste it onto an n8n canvas. It runs the Actor every morning through an HTTP Request node and returns the records as n8n items.
{ "name": "Telegram Channel Scraper & API daily", "nodes": [ { "parameters": { "rule": { "interval": [ { "field": "days", "daysInterval": 1, "triggerAtHour": 7 } ] } }, "id": "c1f6a2d0-4a57-4b5e-9d7a-0a1b2c3d4e01", "name": "Every day at 07:00", "type": "n8n-nodes-base.scheduleTrigger", "typeVersion": 1.2, "position": [ 0, 0 ] }, { "parameters": { "method": "POST", "url": "https://api.apify.com/v2/acts/rocketyard~telegram-channel-scraper/run-sync-get-dataset-items", "authentication": "genericCredentialType", "genericAuthType": "httpBearerAuth", "sendBody": true, "specifyBody": "json", "jsonBody": "{\n \"startUrls\": [\n {\n \"url\": \"https://t.me/telegram\"\n }\n ],\n \"channels\": [\n \"@binance_announcements\"\n ],\n \"maxPostsPerChannel\": 100,\n \"since\": \"30 days\"\n}", "options": { "timeout": 300000 } }, "id": "c1f6a2d0-4a57-4b5e-9d7a-0a1b2c3d4e02", "name": "Run Telegram Channel Scraper & API", "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.2, "position": [ 260, 0 ], "credentials": { "httpBearerAuth": { "name": "Apify API token" } } } ], "connections": { "Every day at 07:00": { "main": [ [ { "node": "Run Telegram Channel Scraper & API", "type": "main", "index": 0 } ] ] } }, "settings": {}}Then open the HTTP Request node and create an HTTP Bearer Auth credential named Apify API token, with your token from Apify Console as the bearer token. The token stays in n8n’s credential store; the workflow only names the credential. Change the input in the node’s JSON body to your own.
The node waits up to 300 seconds, which is also the limit of Apify’s synchronous endpoint. An input that yields nothing comes back as an item with an error field, which you can drop with a Filter node. Apify also publishes a community node, @apify/n8n-nodes-apify, with a Run an Actor and get dataset operation.
- Add Apify’s Run an Actor module and connect your Apify account.
- Choose
rocketyard/telegram-channel-scraper, paste the input above and set Run synchronously to Yes. Make limits how long a synchronous run can take, depending on your plan. For longer runs, start the scenario from Watch Actor Runs instead. - Add Get Dataset Items with the run’s default dataset ID.
- Send the items wherever you need them, for example with Google Sheets Add a Row, mapping
channel,channelTitle,channelSubscribersandpostId.
Zapier
Section titled “Zapier”- Add Apify’s Run Actor action, connect your Apify account, choose
rocketyard/telegram-channel-scraperand paste the input above. - Zapier stops synchronous runs after 30 seconds. For anything larger than a small run, let the run continue in the background and start a second Zap from the Finished Actor run trigger.
- Add Fetch dataset items with the run’s dataset ID, then map
channel,channelTitle,channelSubscribersandpostIdinto your app. - Test with a small input and check that the Zap handles every record before you turn it on.
Limits
Section titled “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_FOUNDitem. - 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
forwardedand 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
BLOCKEDerror item; run it again later. The Actor never works around a block.
How much does it cost?
Section titled “How much does it cost?”$1.00 per 1,000 posts plus $0.00005 per run, billed by Apify. 10,000 posts cost $10.00. There is no subscription, and you can cap any run with Maximum cost per run.
How do I call it from the API?
Section titled “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"}'What happens when a URL fails?
Section titled “What happens when a URL fails?”The dataset gets one free error item for it, with a code and the reason, and the other inputs in the run carry on. Error codes explains each code, whether a retry helps and what to do.
Which channels does it work on?
Section titled “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.
What happens when a field is missing?
Section titled “What happens when a field is missing?”The field comes back as null. The Actor reports what the source publishes and never fills in guesses.
Is it allowed to scrape this data?
Section titled “Is it allowed to scrape this data?”The Actor reads only the web preview Telegram publishes for anyone at t.me/s/<channel>, honours Telegram’s robots.txt, sends no cookies, never logs in and doesn’t work around a block. It returns no comments, member lists or data about people: post signatures and forwards from personal accounts are left out. You are responsible for how you use the data under Telegram’s terms and the law (for example copyright and GDPR).
Can I use it from an AI agent?
Section titled “Can I use it from an AI agent?”Yes. Connect Apify’s MCP server as shown in MCP, and the agent can call the Actor as a tool.
Alternatives
Section titled “Alternatives”See how it compares with other telegram channel post scrapers on price, users and run success, from Apify Store data. Need a field or site behaviour that isn’t covered? Open an issue on the Actor page.
