# Export the Last 7 Days of a Telegram Channel

**Use case:** 

Export all posts a public Telegram channel published in the last 7 days, with views, reactions and media. Paging stops at the date, so you pay only for that week.

## Input

```json
{
  "channels": [
    "tginfo"
  ],
  "maxPostsPerChannel": 500,
  "maxItems": 500,
  "postsNewerThan": "7 days",
  "includeChannelInfo": true,
  "includeHtml": false,
  "includeServiceMessages": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "channel": {
    "label": "Channel",
    "format": "text"
  },
  "id": {
    "label": "Post ID",
    "format": "number"
  },
  "date": {
    "label": "Date",
    "format": "date"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "views": {
    "label": "Views",
    "format": "number"
  },
  "reactionsTotal": {
    "label": "Reactions",
    "format": "number"
  },
  "reactions": {
    "label": "Reaction breakdown",
    "format": "object"
  },
  "media": {
    "label": "Media",
    "format": "array"
  },
  "poll": {
    "label": "Poll",
    "format": "object"
  },
  "forwardedFrom": {
    "label": "Forwarded from",
    "format": "object"
  },
  "replyTo": {
    "label": "Reply to",
    "format": "object"
  },
  "linkPreview": {
    "label": "Link preview",
    "format": "object"
  },
  "links": {
    "label": "Links",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "isEdited": {
    "label": "Edited",
    "format": "boolean"
  },
  "authorSignature": {
    "label": "Author signature",
    "format": "text"
  },
  "searchQuery": {
    "label": "Search keyword",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

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

The Telegram Channel Scraper - Posts, Views, Reactions & Search Actor is ready to run with the inputs already set for "Export the Last 7 Days of a Telegram Channel". [Sign up or log in](https://console.apify.com/create-task-from-example/q8FnStHV7N99ueWuU) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export the Last 7 Days of a Telegram Channel" task

The Telegram Channel Scraper - Posts, Views, Reactions & Search Actor will start running based on the input automatically. You can also change all the input fields, like channels (usernames or links), posts per channel, and more, to match your specific use case.

### 3. Receive the "Export the Last 7 Days of a Telegram Channel" 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, post id, date, 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 the Last 7 Days of a Telegram Channel" task via API](https://apify.com/nexuscortex/telegram-channel-scraper.md).

## FAQ

### How much does this cost?

The Actor charges $0.0008 per post plus a tiny start fee per run. Apify subscribers get tier discounts, and the free plan's monthly credits cover small runs. You can cap the cost of each run in the run options.

### Do I need an account or API key for the target site?

No. The Actor only collects data that is publicly visible without logging in, so you do not need an account, cookies or an API key. Change the input fields to your own targets and run it.

## About this Actor

This example demonstrates how to use [Telegram Channel Scraper - Posts, Views, Reactions & Search](https://apify.com/nexuscortex/telegram-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nexuscortex/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/nexuscortex/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`).
