API de Telegram

API de Telegram: Channel posts

Get a public Telegram channel's posts by username, about 20 per page with a cursor for older pages: text, posting time, views, photo and video links, and reactions.

POST/v1/run/telegram.channel_posts
Disponibilidad
100.00%
30d · 1 llamada
Solicitudes
1
30d
Respuesta
1.2s
mediana · 30d

Precios y proveedores

Precios del endpoint Channel posts 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.

Proveedor
1LemurResponde primeroUS$1.10/1k solic.flat2GiraffeRespaldo 1US$1.20/1k solic.flat3FoxRespaldo 2US$3.60/1k solic.flat
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 Channel posts de Telegram en una sola solicitud

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": {
    "nextCursor": "example",
    "posts": [
      {
        "channel": "example",
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "image": "https://example.com/image.jpg",
        "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-10-19 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • handlestring

    telegram

    Public Telegram channel username, with or without the @ (e.g. "telegram"), or its t.me link.

  • cursorstring

    Opaque pagination cursor from a previous response's nextCursor, for older posts. Omit for the newest page; a page holds about 20 posts.

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

Wrapper holding the posts array and the next-page cursor, or null when nothing was found.

  • nextCursorstring

    Opaque cursor for the next, older page of posts, or null/empty when there are no more. Pass it back as cursor to continue.

each postdata.posts[]

One page of the channel's posts, about 20, from the newest page back. Populated whenever the provider has data for the entity.

  • channelstring

    Username of the channel that published the post.

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

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

  • 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, e.g. https://t.me/telegram/441. Populated whenever the provider has data for the entity.

  • viewsinteger

    View count. Telegram rounds it ("1.2K" becomes 1200). Null when not shown.

each reactiondata.posts[].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 channel's posts were found; false when no public channel has this username or it has no readable posts.

  • 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 Channel posts de la API de Telegram

El endpoint Channel posts de AnyAPI para Telegram devuelve datos de Telegram como JSON normalizado con una sola llamada POST a /v1/run/telegram.channel_posts. Get a public Telegram channel's posts by username, about 20 per page with a cursor for older pages: 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 Channel posts de la API de Telegram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.2 segundos en 1 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 a public Telegram channel's posts by username, about 20 per page with a cursor for older pages: 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 Channel posts de la API de Telegram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 1.2 segundos en 1 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 Channel posts 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.channel_posts 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.