Skip to the content

Scraper API

Telegram

telegram.channel_postsAvailable

Telegram channel posts

Its posts, newest first: text, links, photos and videos, views, reactions, time, and what a post was forwarded from or replies to.

Give it a public Telegram channel's name, and optionally how many posts, a post to read back from, or words to look for.

1 unit a record, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a record
Inputs
4, 1 required
Record
20 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/telegram.channel_posts/runs

{
"input": {
"channel": "telegram",
"max_posts": 3
}
}

sent, and answered

a record of the run20 fields

{
id: 460
channel: "telegram"
url: "https://t.me/telegram/460"
text: "For all the info from today's update and a look back at 13 years of Te…
links: [ "https://telegram.org/blog/welcome-messages-buttons-TG-13", "https://…
created_at: "2026-08-26T19:12:34Z"
edited: false
view_count: 2630000
author_signature: null
… 11 more fields

ok1 unit a record

A record this scraper returned for this input. The first 9 of its 20 fields are set down here; the whole record is below.

t.me
The page Telegram channel posts reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Read a channel's posts
The posts of a public channel, newest first: text, links, media, views and reactions.
Follow announcements
Run it on a schedule for the channels you watch and pass on the posts whose id you have not seen.
See what lands
Sort a channel's posts by view_count and read reactions to see which ones its readers responded to.

What you send

A public Telegram channel's name, and optionally how many posts, a post to read back from, or words to look for. These are its 4 inputs, as its schema has them.

channelstring Required
The public channel's name, e.g. durov or @durov, or its address (https://t.me/durov).
max_postsinteger Optional
How many posts to return, newest first: 1 to 200.Default 20
beforeinteger Optional
Return only posts older than the post with this number. To continue an earlier run, pass the number of the oldest post it returned.
querystring Optional
Return only the channel's posts that contain these words.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/telegram.channel_posts/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"channel":"telegram","max_posts":3}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("telegram.channel_posts", {
    "channel": "telegram",
    "max_posts": 3,
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("telegram.channel_posts", {
  channel: "telegram",
  max_posts: 3,
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "telegram.channel_posts", map[string]any{"channel": "telegram", "max_posts": 3})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("telegram.channel_posts", Map.of("channel", "telegram", "max_posts", 3));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run telegram.channel_posts --input channel=telegram --input max_posts=3

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

Its posts, newest first: text, links, photos and videos, views, reactions, time, and what a post was forwarded from or replies to. A record has 20 fields. One we could not read is null, never an empty string or a zero.

A record telegram.channel_posts returned
{
  "id": 460,
  "channel": "telegram",
  "url": "https://t.me/telegram/460",
  "text": "For all the info from today's update and a look back at 13 years of Telegram features — check out our blog:\nhttps://telegram.org/blog/welcome-messages-buttons-TG-13\n\nAugust Features\n1 • 2 • 3 • 4 • 5 • More",
  "links": [
    "https://telegram.org/blog/welcome-messages-buttons-TG-13",
    "https://t.me/telegram/455",
    "https://t.me/telegram/456"
  ],
  "created_at": "2026-08-26T19:12:34Z",
  "edited": false,
  "view_count": 2630000,
  "author_signature": null,
  "forwarded": false,
  "forwarded_from": null,
  "forwarded_from_author": null,
  "forwarded_from_url": null,
  "reply_to_post_id": null,
  "media": [],
  "link_preview": {
    "url": "https://telegram.org/blog/welcome-messages-buttons-TG-13",
    "site_name": "Telegram",
    "title": "Welcome Messages, Buttons in Messages and Signed Gifts",
    "description": "Introducing Welcome Messages to greet new members of groups or channels, Buttons in Messages to make any text interactive, Inline Documents in Messages and much more.",
    "image_url": "https://cdn4.telesco.pe/file/Dkzha6bOuWACw6lfAnFD_5Gw7RCWMBRsZmlf4M3Pa5s-B91xIf8HJ-77WAkB_cM_QbzU_HM6LbVdt5F8P6qlVLLsgvldrnisO7LU2ierVl71IyvV3YVIV7jw4t9peznsnbpUKr2yxp_qpGO8dNqBgW6w7DZHJ6EBJJZ0DsGxS3l5yPD3yCBhuMWyxDfwMjFzZzaQ8Zjhh8eQI-izHU1bpnxWILGPhYgc_kg2-pdm8GjKi7VX7_3kBbVOOmkcCwBS0UNZjXP2Iq-7ZqUdmm70H2LatZgDoYVqr2S9b7PEL5XhgbLTrSXnhBa1lpN-1H029p5s9h-FKNgAUyNTlAKn4g.jpg"
  },
  "reactions": [],
  "buttons": [],
  "service_message": false,
  "fetched_at": "2026-11-19T18:07:41.397508Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: links: 6 items, the first 3 shown.

The fields of a record

idinteger
The post's number in its channel.
channelstring
The channel's name, without the @.
urlstring
The post's address.
textstring or null
The post's text as written, line breaks kept. Null for a post without text.
linkslist of strings
The addresses the text links to, in order, without repeats.
created_atdatetime or null
When the post was published, in UTC.
editedboolean
True when the channel edited the post after publishing it.
view_countinteger or null
Number of views. Telegram prints large counts rounded: 77.2K is returned as 77200.
author_signaturestring or null
The name the post is signed with, on channels that sign their posts.
forwardedboolean
True when the post was forwarded from somewhere else.
forwarded_fromstring or null
The name of the channel or person a forwarded post came from; null when Telegram's page does not name it.
forwarded_from_authorstring or null
The name the original post was signed with, when the page shows one.
forwarded_from_urlstring or null
The address of the original post or channel, when Telegram links it.
reply_to_post_idinteger or null
The number of the post in the same channel this one replies to, when it replies to one.
medialist of objects
The post's photos, videos and files, in order. An album's items are all here.Each holds type, url, thumbnail_url, duration_s, title, details.
link_previewobject or null
The preview card of a link in the post, when it shows one.Holds url, site_name, title, description, image_url.
reactionslist of objects
The reactions under the post, in the order Telegram shows them.Each holds emoji, custom_emoji_id, count.
buttonslist of objects
The link buttons under the post, in order.Each holds text, url.
service_messageboolean
True for a notice Telegram writes itself, such as 'Channel created' or a pinned-post notice.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per record
Billed per record: a run that returns data costs 1 unit for each record it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • Up to 200 posts a run. To go further back, run it again with before set to the oldest post you have.
  • Views and reactions are as Telegram prints them: rounded once they are large.
  • Audio files, documents and long videos come with their title or preview image, without the file's address.
  • Comments under a post are not read.

The bounds its schema sets

max_posts
1 to 200; 20 unless you say otherwise
before
2 to 2,000,000,000

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Telegram channel posts return?

Its posts, newest first: text, links, photos and videos, views, reactions, time, and what a post was forwarded from or replies to. A record has 20 fields, among them id, channel, url, text, links and created_at. A value that could not be read is null, never an empty string or a zero.

What do I send?

A public Telegram channel's name, and optionally how many posts, a post to read back from, or words to look for. The input channel is required. Optional: max_posts, before and query.

How is it counted?

Billed per record: a run that returns data costs 1 unit for each record it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: max_posts 1 to 200 (20 unless you say otherwise); before 2 to 2,000,000,000. A run may take up to 5 minutes.

What does it not do?

Up to 200 posts a run. To go further back, run it again with before set to the oldest post you have. Views and reactions are as Telegram prints them: rounded once they are large. Audio files, documents and long videos come with their title or preview image, without the file's address. Comments under a post are not read.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id telegram.channel_posts and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs Telegram channel posts as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Finance

    Social Sentiment

    How often the tickers and brands you follow are mentioned on social sources, in what tone, and how both moved since the last run.

Telegram

A public Telegram channel and its posts, as anyone can open them on the web without the app.

  • Telegram channel

    telegram.channel

    A public Telegram channel's name, or its address. Its title, description, verification badge, number of subscribers, how many photos, videos, files and links it has posted, and when it last posted.

  • Telegram post

    telegram.post

    The address of a post in a public Telegram channel. Its text, links, photos and videos, views, reactions and time.

Telegram on the line-up

Where
Worldwide

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.