# Search Telegram posts by keyword (newest 50)

**Use case:** 

Type a keyword and get the newest public Telegram posts that contain it, from every channel found: text, date, views, reactions, media link, channel name, numeric ID and subscriber count. No Telegram account, phone number or API key.

## Input

```json
{
  "keywords": [
    "bitcoin ETF"
  ],
  "maxResultsPerKeyword": 50,
  "channelMaxMessages": 50,
  "maxChannelsPerKeyword": 20,
  "exactPhrase": false,
  "matchAllWords": true,
  "countryCode": "us",
  "languageCode": "en"
}
```

## Output

```json
{
  "source_name": {
    "label": "Channel",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "view_count": {
    "label": "Views",
    "format": "integer"
  },
  "reactions": {
    "label": "Reactions",
    "format": "object"
  },
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "post_url": {
    "label": "Post",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Telegram Search & Channel Scraper — Keywords, Posts, No Login Actor is ready to run with the inputs already set for "Search Telegram posts by keyword (newest 50)". [Sign up or log in](https://console.apify.com/create-task-from-example/sEXHpd7GWv3KdX5aI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Search Telegram posts by keyword (newest 50)" task

The Telegram Search & Channel Scraper — Keywords, Posts, No Login Actor will start running based on the input automatically. You can also change all the input fields, like keywords, max messages per keyword, and more, to match your specific use case.

### 3. Receive the "Search Telegram posts by keyword (newest 50)" 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 "Search Telegram posts by keyword (newest 50)" task via API](https://apify.com/sherwood/telegram-keyword-search-scraper.md).

## FAQ

### What does a Telegram keyword search cost?

This Telegram keyword search task costs $0.60 per 1,000 messages on the free plan, from $0.36 on paid plans, plus $0.01 per keyword that returned a post. 100 posts for one keyword cost $0.06 on Bronze.

### Does every Telegram post returned contain my keyword?

Every post from the Telegram keyword search contains every word of the keyword by default; loose matches are dropped (125 on 3 keywords in tests). Set matchAllWords to false to keep them, exactPhrase for the phrase.

### Which Telegram channels does the keyword search reach?

The Telegram keyword search finds channels through Google (site:t.me), so it reaches only channels Google has indexed, and results change between runs. Private channels, groups and comments are not available.

### How fast is it, and how does an AI agent call it?

The default Telegram keyword search, bitcoin ETF with 50 messages, runs in about 10 seconds. AI agents call sherwood/telegram-keyword-search-scraper through the Apify MCP server with keywords only.

## About this Actor

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