Skip to Content

Post

One channel post or group message.

GET
/v1/telegram/post

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

url?string

The message's link (https://t.me/durov/574).

id?string

The message as its chat's name and number (durov/574), instead of url.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A channel post or a group message.

Example Request
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    }  }}