Telegram Channel API: public channel details and posts as JSON

You can read a public Telegram channel or group by its handle and get its name, description, avatar and verification status as JSON. A second endpoint returns the public web-preview posts of the channel with text, publish date and views, and a third reads one post by URL. You do not need a Telegram bot, a phone number login or a Python client library, and each successful call is billed on its own.

Buy credits

Use cases

Endpoints and cost

EndpointWhat it returnsCredits/callUSD/call (Freelance plan)
/v1/telegram/channelChannel Details1$0.0017
/v1/telegram/channel_postsChannel Posts1$0.0017
/v1/telegram/postPost Details1$0.0017

Endpoint details

/v1/telegram/channel

Channel Details 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringyesPublic Telegram handle, @handle, or t.me channel URL.
cache_max_agestringnoIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp).

Sample response (trimmed):

{
 "handle": "telegram",
 "name": "Telegram News",
 "description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
 "url": "https://t.me/telegram",
 "avatar_url": "https://cdn1.telesco.pe/file/...",
 "is_verified": true,
 "subscriber_count": 9780000,
 "subscriber_count_text": "9.78M",
 "member_count": null,
 "member_count_text": null,
 "photo_count": 14,
 "video_count": 225,
 "file_count": null,
 "link_count": 372
}

/v1/telegram/channel_posts

Channel Posts 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
handlestringyesPublic Telegram handle, @handle, or t.me channel URL.
cache_max_agestringnoIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp).
next_cursorstringnoNumeric cursor returned by the previous page. Omit it for the latest posts.

/v1/telegram/post

Post Details 1,000 calls = 1,000 credits = $1.67 on the Freelance plan.

ParameterTypeRequiredDescription
urlstringyesPublic Telegram post URL.
cache_max_agestringnoIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp).

Example: curl

curl -H "X-Scapi-Key: $SCAPI_KEY" "https://api.scrapall.bipsport.com/scapi/v1/telegram/channel"

Example: Python

import os, requests
r = requests.get("https://api.scrapall.bipsport.com/scapi/v1/telegram/channel",
    headers={"X-Scapi-Key": os.environ["SCAPI_KEY"]})
print(r.json())

FAQ

Can I scrape a public Telegram channel without a bot or account?

Yes. The channel endpoints take the public handle and read the web preview of the channel. You only need a Scrapall API key, not a Telegram account, a bot token or an API ID.

What does the channel details endpoint return?

It returns public metadata for a channel or group, including its name, description, avatar and verification status. Use cache_max_age when a recent cached copy is good enough.

How do I get the posts of a channel?

Call the channel posts endpoint with the handle. Each call returns one web-preview page of posts with text, publish date, views and reactions when Telegram exposes them. Pass next_cursor to load older posts.

Can I read a single Telegram post?

Yes. The post endpoint takes the public post URL and returns its text, publish date, views, reactions when exposed and the forward source when the post was forwarded.

How is it billed?

Each successful call is billed from your credit balance. The exact cost per endpoint is shown in the cost table on this page and comes from the live price list.

How do I pay and get my API key?

Open the Buy page, pick the Freelance plan and pay in USDT on TRC20 or ERC20. The key is shown once, right after the payment is confirmed on-chain.

How many credits does one call use?

The cost table on this page lists credits per call for each endpoint. The Freelance plan is $45 for 27,000 credits per 30 days.

Get an API key and credits

Full reference: all telegram endpoints.