Telegram Scraper - Channels, Messages, Media & Search
Pricing
Pay per event
Telegram Scraper - Channels, Messages, Media & Search
Scrape public Telegram channels: full message history, media, reactions, polls, forwards, replies, link previews, channel stats, and in-channel keyword search. HTTP-only, no login or phone number required. Independent tool, not affiliated with Telegram.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Scrape Sage
Maintained by CommunityActor stats
0
Bookmarked
30
Total users
9
Monthly active users
7 days ago
Last modified
Categories
Share
Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Telegram or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. "Telegram" is referenced only to describe the publicly available website this Actor collects data from.
Extract data from public Telegram channels at scale — full message history, media, reactions, polls, forwards, replies, link previews, channel stats, and in-channel keyword search. No login, no phone number, no API keys.
No login / no cookies — HTTP-only (no headless browser) for fast, low-cost, reliable runs.
Why this Telegram scraper?
| Typical scrapers | This actor |
|---|---|
| Require a phone number, login, or API credentials | No login, no phone number, no API keys — reads the public web preview |
| Return plain message text only | Returns text plus views, author, forwards, replies, hashtags, mentions, links, media, polls and link previews |
| Headless browser, slow and expensive | HTTP-only (Cheerio) — fast, low-cost, reliable |
| No way to filter inside a channel | Native in-channel keyword search returns only matching messages |
| Whole-timeline only | Filter by date range (newer than / older than, ISO or relative like 7 days) |
| Channel metadata is an afterthought | Dedicated channelInfo mode for title, description, subscriber and content counts |
Use cases
- Crypto / web3 monitoring — track trading-signal channels and community sentiment across many channels at once.
- OSINT & threat intelligence — collect message history, forwards, and link previews from public channels for analysis.
- News & topic aggregation — pull fresh posts from news and announcement channels and filter to a recent date window.
- Brand & competitor tracking — search channels by keyword to surface only mentions you care about.
- LLM / RAG dataset building — export clean, structured message records for fine-tuning, retrieval, and sentiment pipelines.
How to use
- Sign up for Apify — the free plan is enough to try this actor.
- Open the Telegram Scraper, fill in the inputs you need, and click Start.
- Watch results stream into the dataset table as each record is parsed.
- Export as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the Apify API.
Input
{"channels": ["@durov", "https://t.me/telegram"],"resultsType": "messages","maxMessages": 200,"searchQuery": "","oldestMessageDate": "30 days","downloadMedia": false,"proxyConfiguration": { "useApifyProxy": true }}
channels(required, array) — public channels to scrape. Accepts@username, plainusername, or at.me/usernameURL (alsot.me/s/username). Private/invite-only channels are not supported.resultsType(string, defaultmessages) —messagesto scrape each channel's messages, orchannelInfofor channel metadata/stats only.maxMessages(integer, default100) — max messages per channel. Ignored whenresultsTypeischannelInfo.searchQuery(string, optional) — when set, returns only messages matching this keyword in each channel, using Telegram's native in-channel search. Leave empty to scrape the full timeline.oldestMessageDate(string, optional) — stop once messages older than this date are reached. Accepts ISO dates (e.g.2026-01-01) or relative values like7 days,3 months.newestMessageDate(string, optional) — skip messages newer than this date. Accepts ISO or relative values like1 day.downloadMedia(boolean, defaultfalse) — download photos/videos/documents into the run's key-value store and add a reference to each record. Media URLs are always included regardless of this setting.proxyConfiguration(object) — proxy settings; Apify Proxy (datacenter) recommended for reliability at scale.
Output
In messages mode, each message is one dataset record:
{"channel": "durov","messageId": 372,"url": "https://t.me/durov/372","date": "2026-05-21T14:02:11+00:00","text": "Example post text...","views": 1200000,"author": "Pavel Durov","forwardedFrom": null,"forwardedFromUrl": null,"replyToUrl": null,"isPinned": false,"hashtags": ["#telegram"],"mentions": ["@telegram"],"links": ["https://example.com"],"media": [{ "type": "photo", "url": "https://cdn5.telesco.pe/file/..." }],"poll": null,"linkPreview": null}
In channelInfo mode, each record contains channel, url, title, username, description, avatarUrl, subscribers, and content counts (photosCount, videosCount, filesCount, linksCount).
Notes:
- Optional fields are returned as
nullwhen Telegram doesn't expose them on the public preview (e.g.author,views,forwardedFrom,poll,linkPreview). - When
downloadMediais enabled and a file is stored, eachmediaitem gains astoreKeypointing to the run's key-value store; media URLs are always present either way. - Private/invite-only channels are skipped with a clear log message; the run still completes as a success.
How much does it cost to scrape Telegram?
This Actor uses Apify's pay-per-event pricing: you are charged only for the results it delivers, with no monthly rental and no start fee. The events it can charge are:
- Message scraped - Charged per Telegram message returned to the dataset (messages mode), including text, media, URLs, reactions, polls, forwards, replies, and link previews.
- Channel info scraped - Charged per channel when running in Channel info mode — title, description, avatar, subscriber count, and content stats.
- Media downloaded - Charged per media file (photo/video/voice/document) downloaded to the key-value store. Only fires when "Download media files" is enabled.
The current price of each event is shown on the Pricing tab of this page. Set a maximum total charge on the run if you want a hard cap on spend, and use the input limits to control how much the Actor fetches.
Automate & schedule
Run this actor on autopilot and pull results into your own stack:
- Apify API — start runs, fetch datasets, and manage schedules over REST.
- apify-client for JavaScript and apify-client for Python — official SDKs.
- Schedules — run it on a cron to keep your data fresh.
- Webhooks — trigger downstream actions the moment a run finishes.
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });const run = await client.actor('scrapesage/telegram-scraper').call({channels: ['@durov', 'https://t.me/telegram'],resultsType: 'messages',maxMessages: 200,oldestMessageDate: '30 days',downloadMedia: false,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Got ${items.length} records`);
Integrate with any app
Connect the dataset to 5,000+ apps — no code required:
- Make — multi-step automation scenarios.
- Zapier — push new records straight into your CRM or sheet.
- Slack — get notified when a run finds something new.
- Google Drive / Sheets — auto-export every run to a spreadsheet.
- Airbyte — pipe results into your data warehouse.
- GitHub — trigger runs from commits or releases.
Use with AI assistants (MCP)
The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the Apify MCP server — ask your assistant to "pull the last 200 messages from @durov and summarize what changed this week" and let it run this scraper for you.
Agent-ready: autonomous payments (x402 & Skyfire)
This actor is agent-ready — AI agents can discover it, run it, and pay for it autonomously, with no Apify account and no human in the loop. It uses pay-per-event pricing and limited permissions, so it qualifies for Apify's agentic-payment standards:
- x402 — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the Apify MCP server — no account, no API key.
- Skyfire — agent-to-service payments for fully autonomous AI-agent workflows.
Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.
More scrapers from scrapesage
Need data from other sources? Try these scrapesage actors:
- facebook-ad-library-scraper — Meta/Instagram competitor ad intelligence.
- google-ads-transparency-scraper — see who's advertising what on Google.
- bark-scraper — Bark.com provider profiles & leads.
- sam-gov-scraper — US federal contract opportunities & contacts.
- eventbrite-scraper — events plus organizer leads with contacts.
- airbnb-scraper — short-stay listings, prices, availability & market monitor.
- linkedin-jobs-scraper — filter-based LinkedIn job postings, no login.
Tips
- Pass channels as
@username, plainusername, or fullt.me/...links — the actor normalizes all three. - Combine
searchQuerywith your channel list to pull only on-topic messages instead of the whole timeline (note: it searches within the channels you provide, not all of Telegram). - Use
oldestMessageDate/newestMessageDatewith relative values like7 daysto keep recurring runs lightweight. - Only enable
downloadMediawhen you need the actual files — URLs are always included, and skipping the download keeps runs faster and cheaper. - Keep
proxyConfigurationon Apify Proxy (datacenter) for reliable runs at scale.
FAQ
Do I need a Telegram account, phone number, or API key? No. The actor reads Telegram's public web preview over HTTP — no login, no phone number, no credentials.
Can it scrape private or invite-only channels? No. Only public channels are accessible via the public web preview. Private/invite-only channels (and standard user-account messages) are skipped with a clear log message.
Is this legal? The actor only collects publicly visible data from public channels. You are responsible for using the data in line with Telegram's terms and applicable laws.
What if a channel has no matching messages?
Empty results are reported as a successful run. Date filters and searchQuery may legitimately return zero records for a given channel.
In what formats can I export the data? JSON, CSV, Excel, XML, or RSS via the Apify console, or programmatically through the Apify API.
Where do downloaded media files go?
Into the run's default key-value store (when downloadMedia is enabled), with a storeKey reference added to each media item in the dataset.
Data & lawful use
This Actor reads only what Telegram publishes to logged-out visitors: it does not log in, use cookies or session tokens, create accounts, or reach anything behind a sign-in. Names, handles, bios and engagement figures are public, but they relate to identifiable people, so treat the output as personal data. If you are in the EU or UK you are the data controller for what you do with it: have a lawful basis (usually legitimate interest for research, marketing analytics or B2B prospecting), honour access and deletion requests, and do not use the output for spam or unsolicited messaging.
Under Apify's Standard Actor Contract, which governs your use of this Actor, you are the controller of any personal data in your input and output and scrapesage acts only as your processor: that data is processed solely to run your job, written only to your own Apify storage, never used for any other purpose and never shared onward. If you need help with a data-subject request that involves this Actor's output, open an issue on the Issues tab.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Telegram or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.
"Telegram" and any related marks are the property of their respective owners and are used here only in a descriptive, nominative sense - to identify the publicly accessible website from which this Actor collects data. This Actor is not an official Telegram product, is not authorised or certified by Telegram, and does not distribute Telegram software. It collects only publicly available information; you are responsible for ensuring your use of that data complies with applicable laws, regulations and the terms of the source website.
Need help?
Open an issue on the actor's Issues tab, or visit the Apify help center. Feature requests are welcome — this actor is actively maintained.