Social Fetch
Telegram

Get Telegram channel

Get metadata for a public Telegram channel or group by username.

Operation

GET/v1/telegram/channels/{handle}
Cost: 1 credit

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

handlestringrequired

Telegram public username (channel or group), with or without leading @.

min 1 chars · max 200 chars

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Domain outcome of the entity lookup. Always check this before reading `entity`.

one of: found, not_found, restricted

dataentity
objectrequirednullable

Entity data when lookupStatus is `found`; null when `not_found` or `restricted`.

dataentityentityType
stringrequired

Whether the handle resolves to a broadcast channel, group, user/bot, or unknown preview page.

one of: channel, group, user_or_bot, unknown

dataentitytitle
stringrequirednullable

Display name.

dataentitydescription
stringrequirednullable

Bio/description text. Line breaks are preserved when Telegram renders them on the public page.

dataentitysubscriberCount
integerrequirednullable

Subscriber count for broadcast channels from Telegram's public page at t.me/{handle}. Null for groups and other entity types.

dataentitymemberCount
integerrequirednullable

Member count for public groups/supergroups. Null for channels and other entity types.

dataentityonlineCount
integerrequirednullable

Currently online member count when Telegram shows it on the public group page. Null for channels and other entity types.

dataentityavatarUrl
stringrequirednullable

URL of the avatar image when Telegram serves a CDN photo.

dataentityisVerified
booleanrequired

Whether the entity has a Telegram verified badge.

dataentityhandle
stringrequired

The canonical username/handle that was looked up.

meta
objectrequired

Metadata describing the request and billing outcome.

metarequestId
stringrequired

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integerrequired

Credits charged for this request.

≥ 0

metaversion
stringrequired

Public API version that served the response.

one of: v1

Code example

Responses

Lookup result. Check `data.lookupStatus` for `found`, `not_found`, or `restricted` before reading `data.entity`. Returns channel or group metadata when `found`.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page