Try it
Run a live Telegram request
One real call, no signup and no key. Type a channel name and read the JSON we hand back.
Endpoint & Pricing
One Endpoint, Five Price Tiers
One call is one page of up to 20 posts. The rate falls as your deposit tier rises; there is no monthly plan.
Channel posts
GET /api/telegram/channel—channelrequired- Up to 20 posts per call, newest first
beforepages back to older posts- Title, description and subscribers on every call
Pay as you go, no subscription. A full page of 20 posts costs $0.001 on Default and $0.0003 on Enterprise Plus, which is $0.05 and $0.015 per 1,000 posts. Growth takes one qualifying $100 deposit, Scale $500, Enterprise $1,000 and Enterprise Plus $1,250 for new credit. The deposit is spendable balance rather than a fee; existing credit keeps its original schedule. Refunded or charged-back amounts don’t count toward your tier. Every account starts with 10 free API calls, shared across all endpoints, and this endpoint can spend them.
Quick Start
A Channel’s Latest Posts in One Request
One header and a query string. The answer is a flat object, so the posts are one field read away.
# Newest 20 posts of a public channel. A name, @name or t.me link all work. curl "https://apiserpent.com/api/telegram/channel?channel=durov" \ -H "X-API-Key: sk_live_your_api_key" # The 20 posts older than post 546 (the next_before from the answer above). curl -G "https://apiserpent.com/api/telegram/channel" \ --data-urlencode "channel=@durov" \ --data-urlencode "before=546" \ -H "X-API-Key: sk_live_your_api_key"
import requests API_KEY = 'sk_live_your_api_key' BASE = 'https://apiserpent.com' HEADERS = {'X-API-Key': API_KEY} resp = requests.get( f'{BASE}/api/telegram/channel', headers=HEADERS, params={'channel': 'durov'}, timeout=60, ) data = resp.json() print(data['title'], '|', data['subscribers'], 'subscribers') for post in data['posts'][:5]: print(post['date'][:10], post['views'], post['text'][:60].replace('\n', ' '))
import requests HEADERS = {'X-API-Key': 'sk_live_your_api_key'} URL = 'https://apiserpent.com/api/telegram/channel' posts, before = [], None for _ in range(5): params = {'channel': 'durov'} if before: params['before'] = before data = requests.get(URL, headers=HEADERS, params=params, timeout=60).json() posts.extend(data['posts']) before = data['next_before'] if before is None: break print(len(posts), 'posts, oldest id', posts[-1]['id']) # Each call returns the next 20 older posts, so five calls reach back 100 posts.
(async () => { const params = new URLSearchParams({ channel: 'bloomberg' }); const res = await fetch( 'https://apiserpent.com/api/telegram/channel?' + params, { headers: { 'X-API-Key': 'sk_live_your_api_key' } } ); const data = await res.json(); const top = [...data.posts].sort((a, b) => b.views - a.views).slice(0, 3); for (const p of top) console.log(p.views, p.url); })();
{
"success": true,
"channel": "durov",
"title": "Pavel Durov",
"description": "Founder of Telegram.",
"subscribers": 9910000,
"photo_url": "https://cdn4.telesco.pe/file/I0Afn6tS9hfAx...jpg",
"preview_enabled": true,
"posts": [
{
"id": 567,
"url": "https://t.me/durov/567",
"date": "2026-11-20T20:47:30+00:00",
"text": "I was offered $256,000 for the @pride username on Telegram.\n\nI don’t need the username.\n\nBut if I sell, does that mean I sold my pride? 🤔",
"views": 789000,
"edited": true,
"author": "Pavel Durov",
"forwarded_from": "",
"reply_to_id": null,
"photos": [],
"videos": [],
"documents": [],
"link_preview": null,
"reactions": [
{ "emoji": "⭐", "custom_emoji_id": "", "count": 18400 },
{ "emoji": "", "custom_emoji_id": "5399847211989246390", "count": 34600 }
// ...2 more reactions
]
},
{
"id": 566,
"url": "https://t.me/durov/566",
"date": "2026-11-19T22:12:20+00:00",
"text": "Apple finally made a phone that’s both too big and too small. ...",
"views": 1080000,
"videos": [ "https://cdn4.telesco.pe/file/d9d6cc9bd0.mp4?token=..." ]
// ...the other post fields, same as above
}
// ...18 more posts
],
"next_before": 546
}
// GET /api/telegram/channel?channel=rian_ru { "success": true, "channel": "rian_ru", "title": "РИА Новости", "subscribers": 3020000, "preview_enabled": true, "posts": [ { "id": 350244, "url": "https://t.me/rian_ru/350244", "date": "2026-11-21T18:37:06+00:00", "text": "Иран не будет обсуждать открытие Ормуза, пока США не выполнят требования исламской республики, заявил Аракчи. ...", "views": 33700, "edited": true, "reply_to_id": 350201, "photos": [ "https://cdn4.telesco.pe/file/ZUH9g2E0PEcX4...jpg" ], "reactions": [ { "emoji": "👍", "custom_emoji_id": "", "count": 206 }, { "emoji": "👎", "custom_emoji_id": "", "count": 22 } ] // ...the other post fields } // ...18 more posts ], "next_before": 350226 }
{
"success": true,
"channel": "coindesk",
"title": "Crypto news feed",
"description": "",
"subscribers": 11202,
"photo_url": "https://cdn4.telesco.pe/file/nePSWW46UZDIi...jpg",
"preview_enabled": false,
"posts": [],
"next_before": null
}
All three are real answers, captured on 21 November 2026 and trimmed for length; each ... marks a cut. A channel whose owner turned off public viewing of its posts still returns its title and subscriber count, with preview_enabled false and no posts. The response shape is the same on every call.
Parameters & Fields
Every Parameter and Field
Two request parameters and nine response fields, all at one flat level and named the same on every call.
| Parameter | Type | Required | What it does |
|---|---|---|---|
channel |
string | Yes | Public channel username, with or without @ or a t.me/ link, for example durov. 4 to 32 letters, digits or underscores, starting with a letter. Up to 64 characters in all. |
before |
integer | No | Return the posts older than this post id. Use next_before from the previous answer to page back. Default: the newest posts. Accepts 2 to 100,000,000. |
| Field | Type | When empty | What it holds |
|---|---|---|---|
success | boolean | always true | true when the call was answered. |
channel | string | empty string | The channel username. |
title | string | empty string | The channel’s display name. |
description | string | empty string | The channel’s description as shown. |
subscribers | integer | null | Subscriber count as shown on the channel page; null when not shown. |
photo_url | string | empty string | The channel picture URL as published by Telegram. |
preview_enabled | boolean | null | false when the channel exists but its owner turned off the public preview; posts is then empty. |
posts | array | empty list | Up to 20 posts, newest first. Fields of each post are listed below. |
next_before | integer | null | Pass this as before to get the next older page; null when there is nothing older. |
Fields of each post
- id, url, date (ISO 8601)
- text, views, edited
- author (signature), forwarded_from
- reply_to_id
- photos[], videos[] (URLs), documents[] (names)
- link_preview (url, title)
- reactions[] (emoji, custom_emoji_id, count)
Reactions, standard and custom
Each reaction carries an emoji, a custom_emoji_id and a count. A standard emoji has an empty id; a custom emoji has an empty emoji and its id.
Counts are the ones Telegram shows on the post, so they match what a reader sees.
Links and names, not files. Photos and videos come back as URLs as Telegram publishes them, documents as names, and a link preview as its address and title. Pass next_before back as before to read as far back as you need, one call per page.
Why a channel API
What is a Telegram channel API, and why teams use it
A public channel is a feed anyone can read. An API turns that feed into rows you can store, count and search.
Posts with their numbers
Every post comes with its date, view count, edited flag and reactions, so you can rank posts by reach and watch how an audience responds.
The channel’s subscriber count is on every call, so one request gives you the audience and its latest content together.
Any language, as written
The text comes back as the channel wrote it. The Russian-language news channel in the sample above arrives in Cyrillic, with emoji intact.
Run the text through your own translation or language tools without any cleanup step first.
Media links and link previews
Photos and videos arrive as URLs, documents as names, and a shared link as its address and title.
You decide which media to fetch and keep.
History, one page at a time
Each answer ends with next_before. Pass it back as before and you get the next 20 older posts, until it comes back null.
A quiet channel can span months in one page; a busy one can span a day.
Price comparison
What Telegram Channel Posts Cost, Everywhere
The lowest published rate for 1,000 posts at each service we compared, in the same unit, with what it takes to reach it.
| Provider | Unit charged | Cost per 1,000 posts | What the lowest rate requires | Free tier |
|---|---|---|---|---|
| Serpent | per call, up to 20 posts | $0.015 ($0.30/1K calls) | Enterprise Plus tier, $1,250 deposit that stays as spendable balance. Pay as you go from $0.05 per 1,000 posts ($1.00/1K calls) with no subscription. | 10 free API calls |
| Apify fetch_cat actor (92 users) | per post saved | $0.109 | Apify’s Diamond tier. $0.233 on the Business plan ($999/month); $0.447 on the free plan. | Apify free-plan credit |
| Apify tri_angle actor (151 users) | per result | $0.50 | Apify’s Diamond tier. $1.25 on the Business plan; $5.00 on the free plan. | Apify free-plan credit |
| Apify truefetch actor (97 users) | per result; stored media files extra | $0.56 | Apify Business plan or above. $0.75 on the free plan; $0.64 per 1,000 media files on top. | Apify free-plan credit |
| Apify automation-lab actor (316 users) | per message or comment; channel info extra | $0.696 | Apify Business plan or above, price from 22 Nov 2026. $0.87 on the free plan; $0.005 per run and $0.001392 per channel on top. | Apify free-plan credit |
| Apify tugelbay actor (42 users) | per dataset item | $1.20 | Apify Business plan or above. $2.00 on the free plan. Under 50 users in 30 days, so not counted for our claim. | Apify free-plan credit |
| Apify khadinakbar actor (42 users) | per message; channel info extra | $1.50 | Apify Business plan or above. $2.00 on the free plan. Under 50 users in 30 days, so not counted for our claim. | Apify free-plan credit |
| Apify webfinity v2 actor (54 users) | per post | $10.00 | Flat rate, no volume tiers. | Apify free-plan credit |
Prices checked 22 November 2026; user counts are users in the last 30 days from Apify’s public listing. Apify prices depend on the buyer’s Apify plan, and Apify’s own plan fees are not included. Our figure is the Enterprise Plus rate converted at a full page of 20 posts per call, so every competitor cell shows that service’s lowest published rate too, not its entry rate; the entry rate sits in the requirements column. A channel with fewer posts per page returns fewer posts for the same call. TGStat’s API is priced in rubles for a statistics database and does not state posts per request, so it is not converted. Our entry rate is $0.05 per 1,000 posts ($1.00/1K calls).
Use cases
What Teams Build With Channel Data
Four jobs that account for most channel-data traffic, and the fields each one leans on.
News and market monitoring
Poll the channels that break news in your market every few minutes. Keep the newest id you have seen and store only the posts above it.
Crypto, finance and regional-news teams use the text and link previews as an early feed.
Brand and competitor tracking
Watch the channels of competitors, partners and communities that talk about you. Search the stored text for your names and products.
Reactions show which announcements land, not only which ones were sent.
Channel analytics
Log subscribers once a day and the views of each new post, and you have growth and reach over time for any public channel.
Rank channels in a niche by audience, posting rhythm and average views.
Datasets and AI summaries
Page back through a channel’s history with next_before, chunk the text by post and feed it to a model that summarises a week of a channel.
Each post keeps its url, so a summary can link to the source.
Tested on real channels
Measured on 60 Real Channel Names
We drew the list before we measured anything, so the results reflect names people actually type.
Every public channel with its preview on returned its posts. That was 31 of the 60 names on page one, and all 10 we asked for a second page returned older posts. The median call took about 3.0 seconds, and nine in ten finished within 6.4 seconds. Across 564 posts, every post had an id and a date and 557 had a view count; 259 carried photos, 119 video, 87 a link preview and 48 were forwards.
Fixed set of 60 names chosen before measuring, run 21 November 2026. Names that were not public channels, or had public viewing off, were counted separately and are not in the 31.
FAQ
Telegram Channel API Questions
Start using the Telegram Channel API
10 free API calls, shared across every free-eligible endpoint. No card, no subscription, no monthly plan. From $0.30 per 1,000 calls.
Try for Free







