/v1/telegram/channelChannel or group
1 request
Returns metadata for a public Telegram channel or group: name, description, avatar, verified flag, subscriber or member count, and the public media counters. Covers public channels and groups by username; private and invite-only ones are not included.
Query parameters
handlestringrequired | Public channel handle, with or without @, or a t.me link. |
cache_max_agestring | Accept a stored response up to this age. Inside that window the answer is free and comes back with cached: true and a cached_at time; past it, the request runs live for 1 request.
|
curl "https://api.pandorlabs.com/v1/telegram/channel?handle=telegram" \ -H "Authorization: Bearer $PANDORLABS_KEY"Example response
Response
{
"success": true,
"credits_charged": 1,
"handle": "telegram",
"name": "Telegram News",
"description": "The official Telegram on Telegram. Much recursion. Very Telegram. Wow.",
"url": "https://t.me/telegram",
"avatar_url": "https://cdn1.telesco.pe/file/...",
"is_verified": true,
"subscriber_count": 9780000,
"subscriber_count_text": "9.78M",
"member_count": null,
"member_count_text": null,
"photo_count": 14,
"video_count": 225,
"file_count": null,
"link_count": 372
}