# Export posts from public Telegram channels

**Use case:** 

Get posts from any public Telegram channel without logging in: text, date, views, reactions, author, forwards, photos, links, hashtags and link previews, plus channel title, description and subscriber count. Filter by date and keywords. Schedule it to monitor channels for new posts. Export to CSV, JSON or Excel.

## Input

```json
{
  "channels": [
    "durov",
    "telegram"
  ],
  "maxPostsPerChannel": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrency": 5
}
```

## Output

```json
{
  "channel": {
    "label": "Channel",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "reactionsTotal": {
    "label": "ReactionsTotal",
    "format": "integer"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "channelSubscribers": {
    "label": "ChannelSubscribers",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Telegram Channel Scraper Actor is ready to run with the inputs already set for "Export posts from public Telegram channels". [Sign up or log in](https://console.apify.com/create-task-from-example/T8Vvhxyg3ksZop2gY) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export posts from public Telegram channels" task

The Telegram Channel Scraper Actor will start running based on the input automatically. You can also change all the input fields, like channels, max posts per channel, and more, to match your specific use case.

### 3. Receive the "Export posts from public Telegram channels" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as channel, date, text, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export posts from public Telegram channels" task via API](https://apify.com/rakish_bobby_gwr/telegram-channel-scraper.md).

## FAQ

### What data does this task return from Telegram channels?

The Export posts from public Telegram channels task returns channel username, post date, text, view count, total reactions, post URL, and channel subscribers.

### Can I filter which posts to scrape using this task?

The task allows filtering of posts by date and keywords to refine the output.

### How can I schedule this task to run automatically?

This task can be scheduled to run automatically in the Apify Console at chosen intervals.

### Does this task require a Telegram account to run?

The task scrapes posts from public Telegram channels without needing a Telegram account, login, or phone number.

### What is the cost to use this task?

You pay $1.00 per 1,000 posts returned, plus a tiny per-run start fee. Errors and empty results are not charged.

### What output formats are available for the scraped data?

The task can export the scraped data to CSV, JSON, or Excel formats.

### How does the task handle reactions to posts?

Each post includes its reactions per emoji with counts, plus a reactionsTotal field you can sort by.

### Is there a limit to how many posts I can scrape per channel?

This example stops at 100 posts per channel. Raise Max posts per channel to go further back, or set Posted after to stop at a date.

## About this Actor

This example demonstrates how to use [Telegram Channel Scraper](https://apify.com/rakish_bobby_gwr/telegram-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rakish_bobby_gwr/telegram-channel-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/rakish_bobby_gwr/telegram-channel-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
