One public Telegram channel post by its t.me link: text, time, views, reactions, media and link preview.
1 credit/ call
Never more than 2 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/telegram.post" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://t.me/telegram/445"}'{
"output": {
"found": true,
"data": {
"views": 3070000,
"edited": false,
"channel": "telegram",
"text": "For all the features from this upda…", …
}
},
"credits": 1
}Input and output
1 field
https://t.me/telegram/445.17 fields
Good to know
Private (/c/) and invite-only posts are not supported.
Unknown URL? It comes back as not found, not as an error.
Terms of use. Returns a public post that can contain personal data. Callers need a lawful basis under GDPR/CCPA and must honour deletion requests.
More from Telegram. Same key, same credits.
The same key and credits work for every API.