Public Telegram channel profile: title, description, avatar, verified badge, subscriber count and media counters.
1 credit/ call
Never more than 3 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/telegram.channel" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"telegram"}'{
"output": {
"found": true,
"data": {
"handle": "telegram",
"title": "Telegram News",
"subscribers": 9215986,
"verified": true, …
}
},
"credits": 1
}Input and output
1 field
telegram.12 fields
Good to know
Private channels, invite links. Personal accounts and channels without a public preview are not covered.
Unknown handle? It comes back as not found, not as an error.
Terms of use. Public channel metadata; channel titles and descriptions can identify people. Callers need a lawful basis under GDPR/CCPA.
More from Telegram. Same key, same credits.
The same key and credits work for every API.