# Telegram Keyword Monitor & Alerts (`kil_station/telegram-keyword-monitor`) Actor

Watch public Telegram channels for keywords, $tickers or Solana/EVM contract addresses. Get only new matching posts with instant alerts to Telegram, Slack, Discord or webhook. Any language, regex, no duplicates. No login.

- **URL**: https://apify.com/kil_station/telegram-keyword-monitor.md
- **Developed by:** [Oleg Yasenev](https://apify.com/kil_station) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 matching posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Telegram Keyword Monitor & Alerts

Watch any list of **public Telegram channels** for keywords, tickers, brand names or crypto contract addresses. Each run returns **only new posts** that match, and can alert you instantly in **Telegram, Slack, Discord** or your own **webhook**.

No Telegram account, no phone number, no API keys from Telegram.

### Why use it

- **Crypto traders.** Watch call and alpha channels for `$TICKER`, "launch", "presale" or any Solana / EVM contract address. Addresses are pulled out of the text and out of links such as pump.fun or dexscreener, so you can act in seconds.
- **Brands and PR.** Get notified when your brand, product or CEO is mentioned in news and community channels.
- **Analysts and OSINT.** Track topics across dozens of channels in any language, including Cyrillic.
- **Marketers.** Find posts about competitors, giveaways or ad offers.

### How it works

1. Add channels and keywords.
2. Run once to search the last N hours (24 by default).
3. Add a **schedule** (for example every 10 minutes). In monitor mode the Actor remembers the last post seen in each channel, so later runs return and alert **only new posts**. No duplicates.

### Keyword features

- Any language, phrases with spaces, tickers like `$SOL`.
- **Whole words** by default: `air` does not match `airdrop`.
- **Any / All** match mode.
- **Exclude** words to cut noise, for example `scam` or `giveaway`.
- **Regex**: wrap a keyword in slashes, for example `/pump\.fun/`.
- Leave keywords empty to get **every new post** from the channels.
- **Only posts with a contract address** switch for crypto use.

### Alerts

| Channel | What you need |
|---|---|
| Telegram | A bot token from @BotFather and your chat ID (send /start to your bot first) |
| Slack | Incoming Webhook URL |
| Discord | Channel webhook URL |
| Webhook | Any URL; each match is POSTed as JSON |

Tokens and webhook URLs are stored encrypted. `Max alerts per run` protects your chat from floods; all matches are still saved to the dataset.

### Output (one row per matching post)

```json
{
  "channel": "somechannel",
  "channelTitle": "Some Channel",
  "channelSubscribers": 125000,
  "url": "https://t.me/somechannel/1234",
  "date": "2026-11-23T10:15:00+00:00",
  "matchedKeywords": ["$SOL"],
  "text": "Post text...",
  "views": 15400,
  "reactionsTotal": 210,
  "links": ["https://pump.fun/coin/..."],
  "contractAddresses": { "solana": ["..."], "evm": [] }
}
```

### Pricing

Pay per use:

- per channel checked in a run;
- per matching post found.

Channels that are private or not found are free. A run with no new matches costs only the channel checks.

### Notes

- Works with **public channels** that have web preview enabled (`t.me/s/<channel>`). Private channels and groups are not supported.
- Dates are in UTC.
- To run several different monitors on the same channels, give each one its own **Monitor ID**.

# Actor input Schema

## `channels` (type: `array`):

Public channels: @username, username or t.me link.

## `keywords` (type: `array`):

Post matches if it contains any of these (or all, see Match mode). Works with any language, tickers like $SOL, phrases, and /regex/. Leave empty to get every new post.

## `excludeKeywords` (type: `array`):

Skip posts that contain any of these words.

## `matchMode` (type: `string`):

Any: at least one keyword. All: every keyword must be in the post.

## `wholeWord` (type: `boolean`):

'air' will not match 'airdrop'.

## `caseSensitive` (type: `boolean`):

Treat upper and lower case as different.

## `onlyPostsWithContractAddress` (type: `boolean`):

Keep only matches that contain a Solana or EVM (0x...) token address, in the text or in links like pump.fun or dexscreener.

## `monitorMode` (type: `boolean`):

Remembers the last post seen in each channel, so scheduled runs return and alert only new posts. Turn off for a one-time search.

## `lookbackHours` (type: `integer`):

How far back to search on the first run (or every run when monitor mode is off).

## `maxPostsPerChannel` (type: `integer`):

Safety limit for very busy channels.

## `telegramBotToken` (type: `string`):

Create a bot with @BotFather and paste its token. Stored encrypted.

## `telegramChatId` (type: `string`):

Your user ID, group ID or @channelusername where the bot is admin. Send /start to your bot first.

## `slackWebhookUrl` (type: `string`):

Slack Incoming Webhook URL.

## `discordWebhookUrl` (type: `string`):

Discord channel webhook URL.

## `webhookUrl` (type: `string`):

Each match is POSTed here as JSON.

## `maxAlertsPerRun` (type: `integer`):

Protects your chat from floods. All matches are still saved in the dataset.

## `monitorId` (type: `string`):

Optional name for this monitor's memory. Runs with the same ID share the 'last seen' state. By default it is built from your channels and keywords.

## `maxConcurrency` (type: `integer`):

How many channels to check at the same time.

## `proxyConfiguration` (type: `object`):

Recommended for many channels.

## Actor input object example

```json
{
  "channels": [
    "cointelegraph",
    "wublockchainenglish",
    "whale_alert_io"
  ],
  "keywords": [
    "Bitcoin",
    "BTC",
    "ETH",
    "$SOL"
  ],
  "matchMode": "any",
  "wholeWord": true,
  "caseSensitive": false,
  "onlyPostsWithContractAddress": false,
  "monitorMode": true,
  "lookbackHours": 24,
  "maxPostsPerChannel": 100,
  "maxAlertsPerRun": 50,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channels": [
        "cointelegraph",
        "wublockchainenglish",
        "whale_alert_io"
    ],
    "keywords": [
        "Bitcoin",
        "BTC",
        "ETH",
        "$SOL"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kil_station/telegram-keyword-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "channels": [
        "cointelegraph",
        "wublockchainenglish",
        "whale_alert_io",
    ],
    "keywords": [
        "Bitcoin",
        "BTC",
        "ETH",
        "$SOL",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("kil_station/telegram-keyword-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channels": [
    "cointelegraph",
    "wublockchainenglish",
    "whale_alert_io"
  ],
  "keywords": [
    "Bitcoin",
    "BTC",
    "ETH",
    "$SOL"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call kil_station/telegram-keyword-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kil_station/telegram-keyword-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uaJFrG6tuck1ynqpb/builds/zBJF2XhGZ36iaaHLX/openapi.json
