/getMediumInfo
Look up a single public channel or group by username. Returns title, description, photo, subscribers, last post, and related stats.
username
required
apikey
required
live=1
optional · +1 credit
username is the public handle without @. live=1 fetches fresh Telegram data; otherwise results use our daily cache.
GET /api/getMediumInfo?username=dailychannels&apikey=YOURKEY HTTP/1.1
Host: telegramchannels.me
{
"status": true,
"data": {
"username": "dailychannels",
"type": "channel",
"title": "Daily Channels",
"description": "Best Telegram Channels...",
"photo_url": "https://...",
"subscribers": 29309,
"photos": 1350,
"videos": 2,
"files": 0,
"links": 2790,
"last_message": {
"id": 4157,
"time": "2023-05-08T05:55:38+00:00",
"views": 453
},
"average_views": 4177,
"is_verified": false,
"is_restricted": false,
"is_nsfw": false,
"language": "en"
}
}
{
"status": false,
"reason": "not-available",
"message": "Username [@testchannel3] is not available."
}
Notes
- reason: was-available, not-available, restricted, invalid-username, low-credit, auth-failed, unknown
- When is_restricted is true, counters and last_message fields are null.
- photo_url may be a URL or a base64 string.