# Telegram Channel Scraper API

> Public Telegram channels as JSON: posts, views, reactions, media, search and an AI digest.

**Monitor news, crypto and brand channels without a Telegram account, a phone number or an MTProto session.** Send a channel username and get its **posts** with **views**, **reactions**, **photos and videos**, **links**, **hashtags**, **polls**, **forwards** and **replies**, plus the channel's **exact subscriber count**. Search inside a channel, page back through its history, poll it for new posts, and let the AI write a **digest** of what it said: topics, key facts, sentiment and the links that matter, in **your language**. From **$0.0005 per call of 20 posts**: half the price of the popular Telegram APIs.

- Host: `telegram-channel-scraper-posts-ai-digest.p.rapidapi.com`
- Base URL: `https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram`
- Auth: headers `X-RapidAPI-Key` and `X-RapidAPI-Host`
- OpenAPI: https://helenis-api.com/docs/telegram/openapi.json

## Endpoints

### Channels

Channel profile, exact subscribers and activity, one or up to 20.

#### Get Channel Info

`GET /v1/telegram/channel`

Channel profile: title, description, exact subscribers, activity. Check how big and active a public channel is: title, description, picture, verified badge, exact subscribers, media counters and newest post date. 404 `channel_not_found` (unknown or private), 400 `not_a_channel` (groups, bots, people), neither billed. 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | query | `string` | yes | Public channel: username, @handle or t.me link. | `durov` |

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/channel" \
  --data-urlencode "channel=durov" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

#### Get Channels in Bulk

`POST /v1/telegram/channels`

Profiles of up to 20 channels in one call. The same profile for up to 20 channels, in order: shortlist channels by audience and activity. A channel that cannot be read gets its error code and is not billed. 1 credit per channel found.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channels` | body | `string[]` | yes | Up to 20 channels: usernames, @handles or t.me links. | `["durov", "@telegram", "https://t.me/s/bbcrussian"]` |

```bash
curl -X POST "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/channels" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  -d '{
    "channels": [
      "durov",
      "@telegram",
      "https://t.me/s/bbcrussian"
    ]
  }'
```

### Posts

Posts with views, reactions, media and links; paging and search.

#### Get Channel Posts

`GET /v1/telegram/posts`

Latest posts of a channel, with paging. Read a public channel's latest posts, newest first: text, date, views, reactions, media links, documents, polls, links, buttons, forwards and replies. Page back with `before` = `next_before`; poll for new posts with `after`. 1 credit per 20 posts returned (1 minimum).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | query | `string` | yes | Public channel: username, @handle or t.me link. | `durov` |
| `limit` | query | `integer` | no | Posts to return, 1-100. Default `20`. |  |
| `before` | query | `integer` | no | Only posts older than this post id (the `next_before` of the previous page). | `531` |
| `after` | query | `integer` | no | Only posts newer than this id: poll a channel with the newest id you already have, then follow `next_after` while it is set. Not with `before`, e.g. after=540. |  |
| `since` | query | `string` | no | Stop at posts older than this date (2026-11-01) or ISO date-time. | `2026-11-01` |

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/posts" \
  --data-urlencode "channel=durov" \
  --data-urlencode "limit=5" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

#### Get Single Post

`GET /v1/telegram/post`

One post by its link or id. One post with everything Get Channel Posts returns, from its link (t.me/durov/551) or channel + id. 404 `post_not_found` when it was deleted (not billed). 1 credit.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | query | `string` | yes | Channel username, or the post's link (t.me/durov/551). | `https://t.me/durov/551` |
| `id` | query | `integer` | no | Post id, when `channel` is not a post link. | `551` |

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/post" \
  --data-urlencode "channel=https://t.me/durov/551" \
  --data-urlencode "id=551" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

#### Search Channel Posts

`GET /v1/telegram/search`

Search a channel's posts by keyword or hashtag. Telegram's own search inside one channel, newest first, with the same post fields as Get Channel Posts. Page back with `before` = `next_before`. 1 credit per 20 posts returned (1 minimum).

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | query | `string` | yes | Public channel: username, @handle or t.me link. | `durov` |
| `q` | query | `string` | yes | Words or a #hashtag, any language. | `TON` |
| `limit` | query | `integer` | no | Posts to return, 1-100. Default `20`. |  |
| `before` | query | `integer` | no | Only posts older than this post id (the `next_before` of the previous page). | `531` |

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/search" \
  --data-urlencode "channel=durov" \
  --data-urlencode "q=TON" \
  --data-urlencode "before=531" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

### AI Digest

Topics, key facts, sentiment and links of recent posts, by AI.

#### Get Channel Digest

`GET /v1/telegram/digest`

AI digest of a channel's recent posts: topics, facts, sentiment. Summarize what a channel has been posting: an AI digest in your language with summary, topics, key facts, sentiment, links and stats, every point tied to a real post. 400 `no_posts` for an empty channel or search (not billed). 30 credits per digest, whatever the number of posts.

| Parameter | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| `channel` | query | `string` | yes | Public channel: username, @handle or t.me link. | `durov` |
| `posts` | query | `integer` | no | Latest posts to read, 5-100. Default `30`. |  |
| `language` | query | `string` | no | Language of the digest, whatever the channel's: English, French, es, Deutsch... Default `English`. |  |
| `q` | query | `string` | no | Only posts matching this search (what does the channel say about X?). | `TON` |
| `before` | query | `integer` | no | Only posts older than this post id (the `next_before` of the previous page). | `531` |

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/digest" \
  --data-urlencode "channel=durov" \
  --data-urlencode "q=TON" \
  --data-urlencode "before=531" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

## Sample call

Get Channel Posts: `GET /v1/telegram/posts`.

```bash
curl -G "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/posts" \
  --data-urlencode "channel=durov" \
  --data-urlencode "limit=5" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

## Response

```json
{
  "channel": {
    "username": "durov",
    "title": "Pavel Durov",
    "url": "https://t.me/durov",
    "description": "Founder/CEO/Owner of Telegram.\n\nFounder of TON/Gram.\n\nHalf-part troll.",
    "photo": "https://cdn4.telesco.pe/file/dlY-pWv1M0zHrFRk5ZyAURHmcT...",
    "verified": true,
    "subscribers": 9880000,
    "subscribers_exact": false,
    "counters": { "photos": 106, "videos": 47, "links": 203 },
    "preview_available": true,
    "last_post": { "id": 570, "date": "2026-11-23T21:00:12+00:00" }
  },
  "count": 5,
  "posts": [
    {
      "id": 570,
      "url": "https://t.me/durov/570",
      "date": "2026-11-23T21:00:12+00:00",
      "edited": true,
      "text": "🎉 Jensen's back.\n\nNvidia's board finally understood that a CEO has to evaluate Chinese models personally.\n\nYou can't delegate that.",
      "views": 780000,
      "reactions": [
        { "emoji": "⭐", "paid": true, "count": 6550 },
        { "custom_emoji_id": "5334575279731909928", "paid": false, "count": 36300 },
        { "custom_emoji_id": "5399847211989246390", "paid": false, "count": 11400 },
        { "custom_emoji_id": "5373223594484587136", "paid": false, "count": 10100 }
      ],
      "reactions_total": 64350,
      "media": [],
      "links": [],
      "hashtags": [],
      "buttons": [],
      "unsupported": false
    },
    {
      "id": 568,
      "url": "https://t.me/durov/568",
      "date": "2026-11-21T22:48:52+00:00",
      "edited": false,
      "text": "You won't look professional in 2027 if your QR is unpimped.",
      "views": 1260000,
      "reactions": [
        { "emoji": "⭐", "paid": true, "count": 1850 },
        { "custom_emoji_id": "5373223594484587136", "paid": false, "count": 20500 },
        { "custom_emoji_id": "5399847211989246390", "paid": false, "count": 6560 },
        { "custom_emoji_id": "5334575279731909928", "paid": false, "count": 5410 }
      ],
      "reactions_total": 34320,
      "media": [
        {
          "type": "video",
          "url": "https://cdn4.telesco.pe/file/e865fee2c6.mp4?token=clU6Un2qxa...",
          "thumbnail": "https://cdn4.telesco.pe/file/VhQ0d7isXj5O5Kx_rO8FK37Z6oXnk2X...",
          "duration": 24
        }
      ],
      "links": [],
      "hashtags": [],
      "buttons": [],
      "unsupported": false
    }
  ],
  "next_before": 566,
  "credits": 1
}
```

*From a real response, shortened* (2 of the 5 posts, CDN links cut). `next_before` is the cursor to older posts. In post listings `subscribers` is Telegram's rounded figure; **Get Channel Info** returns the exact one (`9879809`).

## Why developers pick this API

- 🔓 **No login, no ban risk:** reads the public web preview Telegram itself publishes (t.me/s/), so there is no account to get banned and no session to keep alive.
- 🧠 **The only digest on the market:** other Telegram APIs stop at raw messages. Here one call turns 5 to 100 posts in Russian, Arabic, Persian or Spanish into an English (or French, or German...) briefing, where every fact and link points to a real post.
- 💸 **Half the price:** $0.0005 per call on PRO, for up to 20 posts, where the popular Telegram APIs charge $0.001 to $0.0015 per request. A digest is $0.015. Failed calls (4xx, 5xx) use 0 credits.
- 🎯 **Exact numbers:** the real subscriber count (9,879,809, not "9.88M"), real view and reaction counts, ISO dates.
- 🧭 **Clear errors:** an unknown name, a private invite link, a group or a bot each get their own error code, never billed.

## AI digest

```bash
curl "https://telegram-channel-scraper-posts-ai-digest.p.rapidapi.com/v1/telegram/digest?channel=bbcrussian&posts=30&language=English" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" -H "X-RapidAPI-Host: telegram-channel-scraper-posts-ai-digest.p.rapidapi.com"
```

```json
{
  "language": "English",
  "channel_language": "ru",
  "summary": "The channel covers ongoing military developments in the Russia-Ukraine war, including attacks on infrastructure and diplomatic efforts for peace. It also reports on significant political changes in Russia, such as the exclusion of Alexander Sokurov from the Human Rights Council. Additionally, the channel highlights international news, including incidents involving the British royal family and cultural updates like the Booker Prize for children.",
  "topics": [
    {
      "name": "Russia-Ukraine War",
      "summary": "The conflict continues with reports on drone attacks, naval engagements, and diplomatic discussions regarding potential peace agreements.",
      "post_ids": [101774, 101776, 101781, 101782, 101783, 101786, 101792, 101796, 101799, 101800]
    },
    {
      "name": "Russian Domestic Politics",
      "summary": "Key political figures are being removed from advisory councils, and there is ongoing scrutiny of state statistics regarding war casualties.",
      "post_ids": [101779, 101791, 101794, 101797]
    }
  ],
  "key_facts": [
    {
      "fact": "Ukraine is awaiting delivery of approximately 60 Patriot interceptor missiles, which are currently delayed by the Pentagon.",
      "post_id": 101772
    },
    {
      "fact": "President Zelensky confirmed that Ukrainian forces were responsible for the attack on the Russian cargo ship 'Sparta II' in the Gulf of Finland.",
      "post_id": 101776
    }
  ],
  "sentiment": {
    "label": "negative",
    "score": -0.8,
    "rationale": "The majority of the content focuses on war casualties, military strikes, sabotage threats, and political repression, creating a somber and tense tone."
  },
  "important_links": [
    {
      "url": "https://www.reuters.com/world/uk-warns-russian-sabotage-threat-companies-that-supply-ukraine-2026-11-24/",
      "why": "Official warning from UK authorities regarding Russian sabotage threats against companies supplying Ukraine.",
      "post_id": 101789
    }
  ],
  "stats": {
    "posts": 30,
    "posts_read": 30,
    "first_date": "2026-11-24T07:54:31+00:00",
    "last_date": "2026-11-24T19:53:12+00:00",
    "posts_per_day": 60.1,
    "average_views": 31091,
    "with_media": 11,
    "top_posts": [
      { "id": 101774, "url": "https://t.me/bbcrussian/101774", "views": 63700, "reactions": 0, "excerpt": "Российский дрон ударил по железнодорожной станции в Житомирской области..." }
    ]
  },
  "credits": 30
}
```

*From a real response, shortened* (5 topics, 7 facts and 3 links in full). Add `q=Bitcoin` to digest only the posts about one subject: "what did @cointelegraph say about Bitcoin this week, in Spanish?" is one call.

## Paging and monitoring

- **History:** call `/posts`, then again with `before` set to that `next_before`, until `next_before` is gone. `limit` goes up to 100 per call.
- **New posts only:** keep the newest id you have and call `/posts` with `after` set to it; follow `next_after` while it is set. Cheap polling for alerts and feeds.
- **A time window:** `since=2026-11-01` stops at older posts.

## Errors

| Status | `code` | Meaning |
|---|---|---|
| 400 | `invalid_channel` | Not a Telegram username (4-32 letters, digits or _), handle or t.me link. |
| 400 | `private_channel` | An invite link (t.me/+..., joinchat): private chats cannot be read. |
| 400 | `not_a_channel` | A group, a bot or a person: Telegram publishes no posts of these. |
| 400 | `preview_unavailable` | A channel whose owner turned the web preview off: its profile works, its posts do not. |
| 400 | `no_posts` | Nothing to digest (empty channel or search). |
| 400 | `invalid_request` / `invalid_language` | A parameter is out of range. |
| 404 | `channel_not_found` | No public channel with this name. |
| 404 | `post_not_found` | The post was deleted or never existed. |
| 429 | `daily_limit_reached` | Daily safety limit of your plan; resets at 00:00 UTC. |
| 503 | `source_unavailable` | Telegram did not answer; retry. |
| 503 | `ai_error` / `capacity_exhausted` | The AI did not answer; retry. |

None of these is billed.

## Limits

- Comments, member lists and private chats are not on the public preview, so they are not in this API.
- Custom emoji reactions come as an id (`custom_emoji_id`) rather than a picture.
- Very long histories are read 20 message ids per page: a channel full of photo albums takes more pages for the same number of posts (you still pay per post returned, not per page).

## Pricing

1 credit per channel or per 20 posts; an AI digest 30. Failed calls are never billed.

| Plan | Price | Credits included | Above the quota |
|---|---|---|---|
| BASIC | Free | 40 / day | resets every day |
| PRO | $4.99/month | 10,000 / month | $0.005 per credit |
| ULTRA | $14.99/month | 30,000 / month | $0.005 per credit |
| MEGA | $49.99/month | 100,000 / month | $0.005 per credit |

Apify actor **Telegram Channel Scraper - Posts, Search & AI Digest**: billed per event; free-plan users get 100 posts and 1 AI digest per run.

| Event | Charged for | Price |
|---|---|---|
| `channel-info` | each channel profile | $0.0008 |
| `post` | each post scraped | $0.0004 |
| `ai-digest` | each AI digest of a channel | $0.015 |

## Links

- API reference (HTML): https://helenis-api.com/docs/telegram
- OpenAPI: https://helenis-api.com/docs/telegram/openapi.json
- Overview and pricing: https://helenis-api.com/apis/telegram/
- RapidAPI listing: https://rapidapi.com/helenis-api-helenis-api-data/api/telegram-channel-scraper-posts-ai-digest?utm_source=helenis&utm_medium=site&utm_campaign=telegram&utm_content=markdown
- Apify actor: https://apify.com/helenisapi/telegram-channel-scraper?utm_source=helenis&utm_medium=site&utm_campaign=telegram&utm_content=markdown
- MCP server (Apify): https://mcp.apify.com?tools=helenisapi/telegram-channel-scraper

MCP: Works in Claude, Cursor, VS Code and any MCP client; billed per event through Apify (your Apify token).

## Conventions (every Helenis API)

- Auth: two headers on every call, `X-RapidAPI-Key` (your key) and `X-RapidAPI-Host` (the API's host). One RapidAPI key works for every API you subscribe to.
- Billing in credits: one for a simple call, more for heavier work (a minute of audio, a page read by AI). Each API states its rule.
- Failed calls are never billed: a `4xx` bills zero credits and a `5xx` is never counted.
- Errors share one envelope: `{"error": {"status", "code", "message"}}` with a stable machine-readable `code`.
- `400`: fix the input (validation errors are always 400, never 422); not billed.
- `429`: rate limit; wait for `Retry-After`. `503`: temporary upstream or AI failure (`ai_error`, `upstream_timeout`); retry later, not billed.
- Values the source does not give come back as `null`, never invented.
