Telegram Публикация API
Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions.
Цены и поставщики
Цена API Telegram Публикация: один API, поставщиков 3, и любой может заменить другого
Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.
Попробовать
Получите Telegram Публикация одним запросом
{
"data": {
"channel": "example",
"createdUtc": 12.5,
"edited": true,
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkPreviewDescription": "https://example.com/page",
"linkPreviewTitle": "https://example.com/page",
"linkPreviewUrl": "https://example.com/page",
"media": [
{
"durationSeconds": 12.5,
"image": "https://example.com/image.jpg",
"type": "general",
"url": "https://example.com/page"
}
],
"mediaUrls": [
"https://example.com/page"
],
"reactions": [
{
"count": 12500,
"emoji": "example"
}
],
"text": "A short example description of this item.",
"url": "https://example.com/page",
"views": 12500
},
"found": true,
"reason": "not_found"
}Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.
Справочник
Один запрос, один формат ответа.
Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.
Проверено 2026-12-04 · доступность и задержка измерены за 30d
Тело запроса
JSON, отправляется на этот эндпоинт.
- urlstring
https://t.me/telegram/460
Link to one public channel post, e.g. https://t.me/telegram/460 (t.me/s/ links work too).
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `linkPreviewUrl` or `edited`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Ответ
JSON, по одному примеру значения на поле.
The post record, or null when nothing was found.
- channelstring
Username of the channel that published the post. Populated whenever the provider has data for the entity.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- editedbooleanможет потребовать
True when the post was edited after it was published. Null when this source does not report it.
- idstring
Post number, unique within the channel. Posts are numbered in order. Populated whenever the provider has data for the entity.
- imagestring
Thumbnail image URL for the post's photo, video or link preview; null when it has none. Temporary: Telegram's CDN link expires.
- linkPreviewDescriptionstringможет потребовать
Description on the post's link preview card. Null when the post has no link preview, the card has no description, or this source does not report it.
- linkPreviewTitlestringможет потребовать
Title on the post's link preview card. Null when the post has no link preview, the card has no title, or this source does not report it.
- linkPreviewUrlstringможет потребовать
URL of the page the post's link preview card shows. Null when the post has no link preview or this source does not report it.
- mediaUrlsstring[]
Direct URLs of the post's photos and videos. Temporary and signed: keep the query string. Empty when the post has no media or Telegram withholds a large video's file.
- textstring
Post text or media caption, plain. Empty when the post has none. Some sources collapse line breaks into spaces. Populated whenever the provider has data for the entity.
- urlstring
The post's t.me link. Populated whenever the provider has data for the entity.
- viewsinteger
View count. Telegram rounds it ("1.2K" becomes 1200). Null when not shown.
The post's attachments in order, each with its kind, file URL, preview image and length. Empty when the post has none; null when this source does not report them.
- durationSecondsnumberможет потребовать
Video length in seconds; null for other attachments.
- imagestring
Preview image URL (the photo itself for a photo). Temporary: Telegram's CDN link expires. Null when there is none.
- typestringможет потребовать
Attachment kind as Telegram labels it, e.g. photo or video.
- urlstring
Direct file URL. Temporary and signed: keep the query string. Null when Telegram withholds the file, as for a large video.
Reactions on the post and how many of each. Empty when the post has none or the channel hides them.
- countinteger
How many times it was given. Telegram rounds large counts.
- emojistring
The reaction's emoji; null for a custom emoji, and on some sources for a paid star reaction.
- foundboolean
True when the post was found; false when it was deleted, never existed, or its channel is not public.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
Вопросы и ответы
Об API Telegram Публикация
AnyAPI Telegram Публикация API возвращает данные Telegram в виде нормализованного JSON одним вызовом POST к /v1/run/telegram.post. Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions. AnyAPI направляет каждый запрос по источникам (их 3) и автоматически переключается, если один из них отказывает. Это стоит от 1,10 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Telegram Публикация через AnyAPI завершились успешно, медианное время ответа 0,5 с, измерено вызовов: 37.