API de Telegram

API de Telegram: Publicación

Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions.

POST/v1/run/telegram.post
Disponibilidad
100.00%
30d · 37 llamadas
Solicitudes
156
30d · semanal, últimas 12 sem.
Respuesta
0.5s
mediana · 30d

Estado

Cargando estado...

Recibe correos de fallas de este endpoint

Ver todos los endpoints en la página de estado

Precios y proveedores

Precios del endpoint Publicación de la API de Telegram: una API, 3 proveedores intercambiables

El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.

Pagas
US$11.00
US$1.10/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 90 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Publicación de Telegram en una sola solicitud

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.
Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta completa.
{
  "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"
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-12-03 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • 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.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por campo.

datadata

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.

  • editedbooleanse puede exigir

    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.

  • linkPreviewDescriptionstringse puede exigir

    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.

  • linkPreviewTitlestringse puede exigir

    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.

  • linkPreviewUrlstringse puede exigir

    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.

each mediadata.media[]

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.

  • durationSecondsnumberse puede exigir

    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.

  • typestringse puede exigir

    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.

each reactiondata.reactions[]

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.

top level
  • 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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Publicación de la API de Telegram

El endpoint Publicación de AnyAPI para Telegram devuelve datos de Telegram como JSON normalizado con una sola llamada POST a /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 enruta cada solicitud entre 3 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$1.10 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Publicación de la API de Telegram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 0.5 segundos en 37 llamadas medidas.

Cuesta desde US$1.10 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

Get one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 100.0% de las llamadas al endpoint Publicación de la API de Telegram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 0.5 segundos en 37 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 90 llamadas a Publicación de Telegram a US$0.0011 cada una.

AnyAPI consulta la siguiente de sus 3 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/telegram.post con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.