Skip to content
scrapeatlas.Dashboard

Social platforms

Telegram API

Retrieve Telegram profiles, channel posts and individual messages.

5 endpointsx-api-key

Read channel and group metadata, audience and media counts, paginated posts, reactions and media links. Search posts within a channel or retrieve a message by its permalink.

API availability: Available

Base URL · local workerhttp://localhost:3020Public API: https://api.scrapeatlas.com.
Authenticationx-api-keyCustomer key from your account. See Authentication.

Endpoints

GET/v1/telegram/channel

Get a Telegram channel

Read public Telegram channel and group metadata, descriptions, avatars and audience counts. Optionally include photo, video, file and link inventory. The channel and profile routes are equivalent.

Reference
GET/v1/telegram/profile

Get a Telegram profile via /profile

Read public Telegram channel and group metadata, descriptions, avatars and audience counts. Optionally include photo, video, file and link inventory. The channel and profile routes are equivalent.

Reference
GET/v1/telegram/channel/posts

Get Telegram channel posts

Read one page of Telegram channel posts with channel metadata, media inventory, text, media and reactions. Continue older history with cursor or search within the channel with q.

Reference
GET/v1/telegram/profile/posts

Get Telegram posts via /profile/posts

Read one page of Telegram channel posts with channel metadata, media inventory, text, media and reactions. Continue older history with cursor or search within the channel with q.

Reference
GET/v1/telegram/post

Get a Telegram post

Retrieve a Telegram message by permalink, including text, publication time, views, reactions, media and link previews.

Reference

Quick start

Create an API key on your account page, then call the public API. Values below are placeholders.

Terminal
curl "https://api.scrapeatlas.com/v1/telegram/channel?handle=example" \
  -H "x-api-key: YOUR_API_KEY"

Coverage & limits

Coverage notes for this platform are not published yet.

Error codes
10
HTTPfailure.codeMeaning
400invalid_requestMissing, duplicate, unsupported or invalid parameters.
401unauthorizedMissing or invalid service key.
403restricted_pagePublic page explicitly reports restricted access.
404not_foundMissing profile or generic contact fallback.
429upstream_rate_limitedNo automatic retry.
502upstream_challenged unsupported_pageChallenge, unrecognized page or identity mismatch.
502upstream_error unsafe_redirect response_too_large payload_too_complex request_limitBounded retrieval failed.
503busyAll worker slots occupied.
504timeoutDeadline exceeded.
200partialUnknown entity type or unavailable displayed counts.