Handles API

Live Telegram posts

GEThttps://api.handlesapi.com/v1/scrape/telegram/posts
2 creditsscrape:liveLive call

The 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_reason protected. An account that exists but publishes no public feed (a Telegram group or chat) is a 200 with items [] and insufficient_reason no_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"

Set HANDLES_API_KEY to a key from your dashboard. Keys start with hk_live_.

Parameters

NameInTypeRequiredDescriptionExample
handlequerystringRequiredPublic channel @username or a t.me link.durov
limitqueryintegerOptionalItems to return, 1 to 50. Default 20.default: 2010
cursorquerystringOptionalOpaque cursor from paging.next_cursor of the previous page. Pass it back verbatim.-

Response

Success is always { data, meta }.

200 OK
{
  "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.

HeaderTypeDescription
X-Request-IdstringQuote this to support.
X-RateLimit-LimitintegerRequests allowed in the current one-minute window.
X-RateLimit-RemainingintegerRequests left in the current one-minute window.
X-RateLimit-ResetintegerUnix seconds at which the current window resets.
X-Credits-CostintegerCredits this call used.
X-Credits-WaivedenumPresent when the call was free although it succeeded: empty_result (no result) or insufficient_data.
X-Credits-RemainingintegerPlan credits left in the current period.
X-Credits-Period-EndstringWhen the current period ends (ISO 8601).

Errors

StatusError codeWhen
401unauthorizedNo key was sent, or the key is unknown or revoked.
402quota_exceededYour 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.
404not_foundThe addressed resource does not exist.
422invalid_requestnot_supported_liveA 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.
429rate_limitedlive_limit_reachedToo 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.
500internal_errorSomething failed on our side. The call was not charged; quote the request_id to support.
503upstream_timeoutupstream_errorupstream_busyupstream_blockedplatform_unavailableservice_unavailableThe 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.