# Export Telegram channel posts from a date range

**Use case:** 

Exports every post a public Telegram channel published between two dates, as JSON, CSV or Excel. The Actor jumps straight to the period you ask for instead of reading everything newer, so old periods stay fast and cheap. The example exports the first half of 2026 from one channel, up to 200 posts.

## Input

```json
{
  "channels": [
    "durov"
  ],
  "maxPostsPerChannel": 200,
  "onlyNewPosts": false,
  "resetMonitor": false,
  "keywordMode": "any",
  "matchWholeWords": false,
  "postedAfter": "2026-01-01",
  "postedBefore": "2026-07-01",
  "includeServiceMessages": false,
  "detectLanguage": true,
  "compactOutput": false,
  "exactSubscriberCount": false,
  "maxPostsToScanPerChannel": 5000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "channelUsername": {
    "label": "Channel",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "reactionsTotal": {
    "label": "Reactions",
    "format": "integer"
  },
  "type": {
    "label": "Type",
    "format": "string"
  },
  "language": {
    "label": "Lang",
    "format": "string"
  },
  "matchedKeywords": {
    "label": "Matched keywords",
    "format": "array"
  },
  "url": {
    "label": "Link",
    "format": "string"
  }
}
```

## How it works

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

The Telegram Channel Scraper: Posts, Keywords, OSINT | TeleScope Actor is ready to run with the inputs already set for "Export Telegram channel posts from a date range". [Sign up or log in](https://console.apify.com/create-task-from-example/DsUlghVa0cpd9pvYL) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export Telegram channel posts from a date range" task

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

### 3. Receive the "Export Telegram channel posts from a date range" 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, published, 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 Telegram channel posts from a date range" task via API](https://apify.com/osint-forge/telegram-channel-scraper.md).

## FAQ

### What does the Telegram date-range export task return?

The Telegram date-range export task returns one record per Telegram post: channel, publication time, text, views, reactions, media and link addresses, and the post URL, as JSON, CSV or Excel.

### Do I need a Telegram account or an API key?

No. The Telegram date-range export task reads only the public web preview of public Telegram channels. It needs no Telegram account, phone number, API key or proxy.

### How much does the Telegram date-range export task cost?

The Telegram date-range export task bills $0.001 per run, $0.0005 to $0.0008 per post delivered and $0.00004 per Telegram page read. A run that returns 20 posts costs about $0.017.

### Can an AI agent run the Telegram date-range export task?

Yes. The Telegram date-range export task runs on an Actor with limited permissions that is available through the Apify MCP server and accepts agentic payments.

## About this Actor

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