UnifAPI Docs

Get a Telegram channel or group

Returns a public Telegram channel or group by username: title, description, subscriber or member count, online count and avatar. Returns `not_found` when the username does not exist or the entity is restricted.

Pricing — $ · min $0.003

Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.

GET
/telegram/channels/{username}

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Path Parameters

username*string

Public Telegram username of the channel or group, with or without a leading @.

Length1 <= length <= 500

Header Parameters

Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/telegram/channels/string"
{  "request_id": "string",  "data": {    "entity_type": "string",    "title": "string",    "description": "string",    "subscriber_count": 0,    "member_count": 0,    "online_count": 0,    "avatar_url": "string",    "is_verified": true,    "username": "string"  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}