Live Telegram posts
https://api.handlesapi.com/v1/scrape/telegram/postsThe GET /v1/scrape/telegram/posts endpoint of Handles API (Live scrape): Live Telegram posts. One call costs 2 credits (a live read of the platform) and needs the scrape:live scope. A success returns JSON as { data, meta }.
A live read of the latest posts of a public channel of any public Telegram account, in the catalog or not. The profile block and the feed are both read from Telegram at request time, and every platform returns the same item shape, so a client written for one works on the others.
This is a sensitive scope. Keys are not granted it by default, and calls are audited.
Metered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.
- Cost: 2 live units per call (one profile read plus one feed read), drawn against the live-per-minute bucket.
- limit is 1 to 50, default 20. Page with paging.next_cursor until it is null.
- A metric the platform does not publish is null, never 0. A video with no likes is 0; a platform with no like counter is null.
- created_at is ISO 8601 UTC, or null when the source gives no date. id is always a string.
- An account that exists but has nothing to show is a 200 with items [] and insufficient_reason
no_posts. A private or protected account is a 200 with items [] and insufficient_reasonprotected. An account that exists but publishes no public feed (a Telegram group or chat) is a 200 with items [] and insufficient_reasonno_public_feed. - Errors: 404 not_found when the account does not exist; 503 upstream_blocked with Retry-After when the source refuses our reader; 503 upstream_busy with Retry-After when the source has no capacity; 503 upstream_timeout or upstream_error when it is slow or unreachable.
- Public broadcast channels only, read from Telegram's own public web preview. A name nobody has claimed answers 404 not_found. A group, a bot, or a channel whose owner switched the preview off exists but shows no posts: 200 with items [] and insufficient_reason
protected. - views is what the preview prints and is approximate above 1,000 (Telegram abbreviates to three significant figures). reactions is the total of the reaction bar, null when no reaction is shown.
- forwards and comments are not in the preview and are always null. likes, shares, reposts and quotes do not exist on Telegram and are null.
- extra.media is the media kind or null, extra.forwarded and extra.reply flag forwarded and reply messages. Items are newest first and the cursor is the oldest message id of the page.
Request
curl "https://api.handlesapi.com/v1/scrape/telegram/posts?handle=durov" \
-H "Authorization: Bearer $HANDLES_API_KEY"const res = await fetch("https://api.handlesapi.com/v1/scrape/telegram/posts?handle=durov", {
headers: { Authorization: `Bearer ${process.env.HANDLES_API_KEY}` },
});
if (!res.ok) throw new Error((await res.json()).error.code);
const { data, meta } = await res.json();
console.log(data);import os
import requests
res = requests.get(
"https://api.handlesapi.com/v1/scrape/telegram/posts",
params={"handle": "durov"},
headers={"Authorization": f"Bearer {os.environ['HANDLES_API_KEY']}"},
)
res.raise_for_status()
print(res.json()["data"])Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| handle | query | string | Required | Public channel @username or a t.me link. | durov |
| limit | query | integer | Optional | Items to return, 1 to 50. Default 20.default: 20 | 10 |
| cursor | query | string | Optional | Opaque cursor from paging.next_cursor of the previous page. Pass it back verbatim. | - |
Response
Success is always { data, meta }.
{
"data": {
"platform": "telegram",
"handle": "durov",
"profile": {
"exists": true,
"identity": {
"id": "1006503122",
"handle": null,
"name": "Du Rove's Channel",
"avatar_url": null,
"url": "https://t.me/durov",
"object": "channel"
},
"audience": {
"count": 11300000,
"metric": "subscribers",
"precision": "exact"
},
"flags": {
"verified": true,
"private": false,
"nsfw": null
},
"live": {
"state": "live",
"source": "live:telegram_web",
"read_at": "2026-11-28T14:05:31.204Z",
"detail": null,
"secondary": {}
}
},
"items": [
{
"id": "412",
"url": "https://t.me/durov/412",
"created_at": "2026-11-23T08:15:00.000Z",
"type": "post",
"text": "Example channel post text.",
"thumbnail_url": null,
"metrics": {
"views": 3450000,
"likes": null,
"comments": null,
"shares": null,
"reposts": null,
"quotes": null,
"forwards": null,
"reactions": 96400
},
"extra": {
"media": "photo",
"forwarded": false,
"reply": false
}
}
],
"live": null,
"paging": {
"supported": true,
"next_cursor": "eyJwIjoiMiJ9"
},
"insufficient_data": false,
"insufficient_reason": null
},
"meta": {
"request_id": "req_9f2c41a8b3d5",
"generated_at": "2026-08-23T09:14:02.317Z",
"took_ms": 42,
"cache_age_s": 0
}
}Response headers
Every successful response carries these headers.
| Header | Type | Description |
|---|---|---|
| X-Request-Id | string | Quote this to support. |
| X-RateLimit-Limit | integer | Requests allowed in the current one-minute window. |
| X-RateLimit-Remaining | integer | Requests left in the current one-minute window. |
| X-RateLimit-Reset | integer | Unix seconds at which the current window resets. |
| X-Credits-Cost | integer | Credits this call used. |
| X-Credits-Waived | enum | Present when the call was free although it succeeded: empty_result (no result) or insufficient_data. |
| X-Credits-Remaining | integer | Plan credits left in the current period. |
| X-Credits-Period-End | string | When the current period ends (ISO 8601). |
Errors
| Status | Error code | When |
|---|---|---|
| 401 | unauthorized | No key was sent, or the key is unknown or revoked. |
| 402 | quota_exceeded | Your plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard. |
| 404 | not_found | The addressed resource does not exist. |
| 422 | invalid_requestnot_supported_live | A parameter is malformed, out of range or mutually exclusive with another (invalid_request). details names the offending fields, for example cursor: not_supported on a live posts platform that only serves its latest page. not_supported_live is a documented limit rather than a bad parameter: the platform publishes nothing this route can read live (LinkedIn posts), so do not retry. |
| 429 | rate_limitedlive_limit_reached | Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.Also sends Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. |
| 500 | internal_error | Something failed on our side. The call was not charged; quote the request_id to support. |
| 503 | upstream_timeoutupstream_errorupstream_busyupstream_blockedplatform_unavailableservice_unavailable | The call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. upstream_busy / upstream_blocked: live capacity is busy or the platform is refusing reads, wait Retry-After. platform_unavailable: that platform cannot be read right now. service_unavailable: retry shortly. |
Failures use the error envelope. Branch on error.code, never on the message.