API · Telegram
GET /telegram/channels/{handle}
A public Telegram channel, group or bot: title, bio, exact subscribers, media counts.
| Request | GET /v1/telegram/channels/{handle} |
| Operation id | telegram.channel.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A public Telegram channel, group or bot: title, bio, exact subscribers, media counts.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | yes | Channel username, with or without the @, or a t.me link. Example: durov. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The chat. | TelegramChatResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No public Telegram chat or post by that name. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Telegram is temporarily unavailable. Retryable; nothing was charged. | Error |
TelegramChatResponse fields
| Field | Type | Description |
|---|---|---|
chat | TelegramChat |
Errors use one shape everywhere; see Errors for every code and what to do.