100 free credits. No credit card required. Get a key

Telegram post API

One public channel post by link: text, views, reactions, media, poll, link preview, forward origin and author signature.

GET /v1/telegram/posts1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/telegram/posts?url=https://t.me/durov/552",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"message": {
"message_id": 552,
"chat": {
"id": -1001006503122,
"type": "channel",
"username": "durov",
"title": "Pavel Durov"
},
"date": 1791730360,
"date_iso": "2026-10-11T14:52:40.000Z",
"is_edited": false,
"author_signature": "Pavel Durov",
"from": null,
"text": "✨ Designers × AI\n\n🆕 The mockup era is over. Today’s AI tools give every designer a superpower: you can now craft your id…",
"text_html": "<tg-emoji emoji-id=\"5325547803936572038\"><i class=\"emoji\" style=\"background-image:url('//telegram.org/img/emoji/40/E29CA…",
"links": [
"https://t.me/designers"
],
"hashtags": [],
"views": 3980000,
"reactions": [
{
"type": "paid",
"emoji": null,
"custom_emoji_id": null,
"total_count": 10900
},
{
"type": "custom_emoji",
"emoji": null,
"custom_emoji_id": "5936157098181135162",
"total_count": 21800
},
"… 2 more"
],
"forward_origin": {
"type": "channel",
"chat": {
"username": "designers",
"title": "Telegram Designers"
},
"message_id": 266,
"sender_name": null,
"url": "https://t.me/designers/266"
},
"reply_to_message": null,
"media": [
{
"url": null,
"thumbnail_url": "https://cdn4.telesco.pe/file/XeC4MvHbgytJjO49Y2ltkhKjLjjDf88qWvFjRmS836sDH4yHXcEoiW1ocXbC82SniBzoyWGH8fd1j9rsnV9SBuMRHZE…",
"width": null,
"height": null,
"duration": 75,
"title": null,
"performer": null,
"file_size": null,
"emoji": null,
"type": "video"
}
],
"poll": null,
"link_preview": null,
"is_service": false,
"url": "https://t.me/durov/552"
}
}

Parameters

NameTypeDescription
urlquery · requiredstringA public post link, https://t.me/<channel>/<id> (or <channel>/<id>). Example: https://t.me/durov/552.
Response fields

200 with a TelegramMessageResponse, in the shape of the Telegram Bot API’s Chat and Message objects.

FieldTypeDescription
messageTelegramMessageA channel post or a comment, after the Bot API Message object.
Status codes
StatusMeaning
200The post.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No public Telegram chat or post by that name.
429Too many requests. Wait for Retry-After seconds.
503Telegram is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

Does it include comments?

No, use the post comments endpoint.

Telegram is a trademark of Telegram FZ-LLC. We are not affiliated with or endorsed by Telegram.