Post
One channel post or group message.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_ā¦.
url?stringThe message's link (https://t.me/durov/574).
id?stringThe message as its chat's name and number (durov/574), instead of url.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
One item, as every single-item endpoint answers: { "data": ⦠}.
data*A channel post or a group message.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.telegram.post({ url: "https://t.me/durov/574" });Example Response
{ "data": { "id": "durov/574", "url": "https://t.me/durov/574", "text": "Telegram gifts are the only NFTs still alive.\n\nš They are up 2.5x since issuance 1ā2 years ago, despite crypto winter.\n\nThis week, P2P gift trading on Telegram moved on-chain:\n\nā Sales & offers run on smart contracts.\n\nā Grams go instantly to sellers' wallets.\n\nā Fees cut from 10% to 2% š", "createdAt": "2026-11-26T15:26:13.000Z", "author": { "id": "durov", "username": "durov", "displayName": "Pavel Durov", "avatarUrl": "https://cdn4.telesco.pe/file/W46-gekaU28l8Ss0QXl0rJ56iEci59GbWVgLp3H4YcQL7g-L8989ny1R95iP6y0sbrQ4qb-Jmohxw0B3uuDhxWSXeZlFYStrC--ZXpepobwj_dAqWbUtIRoPTJcbFM5u66xKGj2HmEABlgmA52CKBWGDv8GgxGHohqghyMvG5qTLJL2WyKDibOgNXQad6PwMbQZ7Vbsrq2-eh6kOPMu0iuPKfa8ymnXsNhYwkaolpktFpSHxTD3SZfCZXGC8u-r5Q3GupbeebKjibSlA9lhBwnOdHfz2cWrn0X3Y2_9dJhqpI59Ngg7c8pGeE_PL2FL9i1trxhuGeclrvpXfgYXriQ.jpg", "verified": false, "url": "https://t.me/durov" }, "stats": { "views": 606000, "likes": 26880, "comments": null, "shares": null, "saves": null, "engagementRate": 0.0444 }, "media": [], "hashtags": [], "mentions": [], "ext": { "channelId": "1006503122", "authorName": "Pavel Durov", "viewsShown": "606K", "reactions": [ { "emoji": null, "customEmojiId": "5373223594484587136", "count": 16200 }, { "emoji": null, "customEmojiId": "5399847211989246390", "count": 6240 }, { "emoji": null, "customEmojiId": "5334575279731909928", "count": 4440 } ], "stars": 6730, "edited": false, "signature": "Pavel Durov", "forwardedFrom": null, "replyTo": null, "linkPreview": null, "links": [], "mediaHidden": false } }}