Home / How-to guides / Telegram Channel Scraper
How to scrape a public Telegram channel to JSON
Messages, views and links from public Telegram channels. No account, no API key.
Updated 2026-11-24
The problem
Telegram has no simple export for someone else's channel, and the official API wants an account and an app registration. If all you need is the public posts with their dates and view counts, that is a lot of setup.
Steps
- Open the Actor on Apify. Create a free Apify account if you do not have one. Every account gets free monthly credit, enough to try this on real data. Telegram Channel Scraper ↗
- Fill in the input. The input is a small JSON. These are the first fields and example values:
{
"channels": [
"durov",
"https://t.me/telegram"
],
"maxMessagesPerChannel": 100,
"onlyNewMessages": true
}- Run it. Press Start in the console, or call it from the API, a schedule, n8n, Make or Zapier. See the run guide for code you can copy. Run guide (API, n8n, Make, MCP)
- Take the results. Open the Output tab to preview the dataset and download it as JSON, CSV or Excel. Through the API you read the same dataset items.
A tip for this Actor
Turn on onlyNewMessages before you schedule it. The last message id is stored per channel, so the second run returns only what was posted since the first.
Input fields
| Field | Type | Description |
|---|---|---|
channels | array | Usernames, @usernames or links of public channels. |
maxMessagesPerChannel | integer | Maximum messages per channel, newest first. |
onlyNewMessages | boolean | Return only messages newer than the previous run on your account. |
keywords | array | Keep only messages containing at least one keyword. |
dateFrom | string | Ignore messages older than this date (YYYY-MM-DD). |
Real output sample
First item of 16 from a real run, shortened for display. The full sample is a download on the Actor page.
{
"channel": "durov",
"messageId": 569,
"date": "2026-11-22T22:17:13+00:00",
"text": "The least realistic thing about GTA VI is that Jason and Lucia run a whole criminal operation without a sin…",
"views": 781000,
"url": "https://t.me/durov/569",
"forwardedFrom": null,
"edited": false,
"mediaTypes": [],
"links": [],
"hashtags": [],
"channelTitle": "Pavel Durov",
"channelSubscribers": 9890000
}What it costs
Pay per event: message is charged $0.00 each. Apify platform usage is billed separately and is usually a few cents per run.
| Results | Result events |
|---|---|
| 100 | $0.08 |
| 1,000 | $0.80 |
| 10,000 | $8 |
| 100,000 | $80 |
Limits you should know
- Only channels with a public web preview work. Private channels and groups do not.
- Comments, reactions and the subscriber list are not exposed by the public preview.
- Telegram’s API terms restrict using its data to train AI models. Check them first if that is your plan.
Questions
Do I need a Telegram account or API key?
No. It reads the public web preview of the channel.
How do I get only new messages?
Turn on onlyNewMessages and schedule the Actor. The last message id is stored per channel in your Apify account.
A run returned an item with an error field.
That channel does not exist or has no public preview. Check that https://t.me/s/<channel> opens in your browser.
Rate it on Apify
Used it? A rating or review on Apify helps other people judge it, and tells us what to fix.
More guides
- Actor page: Telegram Channel Scraper
- Compare with other Actors on the Store
- Use cases: Google Sheets
- Use cases: n8n, Make, Zapier
- How to get Greenhouse, Lever and Ashby jobs as JSON
- How to see every ad a competitor runs on Google
- How to scrape Bilibili videos and comments, no login
- How to bulk-check domains for SEO and GPTBot rules