Telegram Channel Scraper & API - Public Posts, Views & Links
Pricing
from $1.00 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
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 scraper | Users (last 30 days) | Successful runs (last 30 days) | Price per 1,000 results |
|---|---|---|---|
| Telegram Scraper: Channels, Messages, Comments & Profiles | 318 | 99.5% | $1.00 |
| Telegram Scraper | 153 | 100.0% | $5.00 |
| Telegram Channel Search Scraper (topic, subscribers, no login) | 105 | 98.3% | $3.00 |
| This Actor | new | every 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
- Click Try for free.
- Add channel links to Channel URLs (for example
https://t.me/telegram), or usernames to Channel usernames. - Set Max posts per channel, and optionally Posts since to stop at a date.
- Click Start, then download results as JSON, CSV or Excel, or read them through the API.
Input
| Field | JSON key | What it does |
|---|---|---|
| Channel URLs | startUrls | Public 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 usernames | channels | Usernames of public channels, such as "telegram" or "@binance_announcements". |
| Max posts per channel | maxPostsPerChannel | Newest posts to return from each channel. The Actor pages back 20 posts at a time until it has this many. |
| Posts since | since | Only 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 results | maxItems | Stop after this many posts in total, over all channels. This also caps the cost of the run. |
| Max concurrency | maxConcurrency | Channels read in parallel. Requests to Telegram stay at least half a second apart either way. |
| Proxy configuration | proxyConfiguration | Optional 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
| Field | Description |
|---|---|
url | Link to the post (https://t.me/ |
type | Always SocialMediaPosting |
channel | Channel username, without the @ |
channelTitle | Channel name |
channelSubscribers | Subscribers as a number: exact from the channel's info page, or the preview's rounded count when the info page has none |
postId | Post number within the channel |
date | Published (ISO 8601, UTC) |
text | Post text with line breaks; empty for a post with media only |
views | Views as a number, from the count Telegram displays (rounded for large counts) |
reactions | Reactions shown on the post: emoji (⭐ for paid reactions), customEmojiId for custom emoji, count |
reactionCount | Sum of the reaction counts shown (0 when the post shows none) |
links | Links in the post text and its link preview |
hashtags | Hashtags Telegram linked in the post |
mediaType | photo, video, audio, document, poll, sticker, location, other or none |
mediaCount | Photos, videos or files attached (an album has several) |
poll | Polls only: question, type, voters and options with their text and percent |
forwarded | true when the post was forwarded from another chat |
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 |
replyToPostId | The post of the same channel this post replies to |
edited | true when Telegram marks the post as edited |
scrapedAt | ISO 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.
| Code | Meaning | Retry? |
|---|---|---|
ROBOTS_DISALLOWED | The 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_UNREACHABLE | The 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_ADDRESS | The URL, or a redirect from it, points to a private or local network address. Only public websites are fetched. | no |
BLOCKED | The site refused access (HTTP 401, 403 or 429) or answered with a bot-check or consent page instead of the content. | sometimes |
HTTP_ERROR | The site answered with another HTTP error: a server error (5xx) that persisted after retries, or an unexpected 4xx status. | sometimes |
TIMEOUT | The site did not answer in time, even after retries. | yes |
NETWORK_ERROR | The connection failed (DNS, TLS or a reset connection), even after retries. | yes |
WRONG_CONTENT_TYPE | The 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_LARGE | The response exceeded the size limit (10 MiB for web pages, 48 MiB for API responses). | no |
PARSE_ERROR | The response could not be read (malformed HTML or JSON). | sometimes |
EMPTY | The 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_MATCHES | The source has items, but none of them matched your filters. | no |
CHANNEL_NOT_FOUND | No 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_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.
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
- YouTube Channel Scraper - Subscribers, Views & Links: returns the public profile of YouTube channels with their latest uploads
- YouTube Search API & Scraper - Videos, Shorts & Channels: returns the results of YouTube searches
- App Store Reviews API & Scraper - Ratings, Text & Versions: returns the public reviews of any App Store app, with star ratings, text, app versions and dates
- Article Scraper - Any Website (Schema.org): article data from any website with schema.org markup
- Google News API & Scraper - Headlines by Keyword & Country: returns the headlines of any Google News search or topic
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.