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.

Open on Apify ↗Actor page

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

  1. 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 ↗
  2. Fill in the input. The input is a small JSON. These are the first fields and example values:
input.json
{
  "channels": [
    "durov",
    "https://t.me/telegram"
  ],
  "maxMessagesPerChannel": 100,
  "onlyNewMessages": true
}
  1. 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)
  2. 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

FieldTypeDescription
channelsarrayUsernames, @usernames or links of public channels.
maxMessagesPerChannelintegerMaximum messages per channel, newest first.
onlyNewMessagesbooleanReturn only messages newer than the previous run on your account.
keywordsarrayKeep only messages containing at least one keyword.
dateFromstringIgnore 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.

telegram-channel-scraper.json
{
  "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.

ResultsResult 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.

Rate it on Apify ↗

More guides