API di Telegram

Telegram Canale API

Get a public Telegram channel by username: name, bio, photo, verified badge, exact subscriber count, and how many photos, videos, files and links it has posted.

POST/v1/run/telegram.channel
Disponibilità
100,00%
30d · 2 chiamate
Richieste
2
30d
Risposta
1,1s
mediana · 30d

Prezzi e provider

Prezzi dell'API Telegram Canale: una sola API, 3 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Provider
1LemurServe per primo1,10 USD/1k richiesteflat2GiraffeRiserva 11,20 USD/1k richiesteflat3FoxRiserva 23,60 USD/1k richiesteflat
Paghi
11,00 USD
1,10 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 90 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Telegram Canale in una sola richiesta

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 `photoCount`, 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 channel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.
{
  "data": {
    "avatarUrl": "https://example.com/image.jpg",
    "description": "A short example description of this item.",
    "fileCount": 12500,
    "handle": "alex_rivera",
    "linkCount": 12500,
    "photoCount": 12500,
    "subscribers": 12500,
    "title": "Example title",
    "url": "https://example.com/page",
    "verified": true,
    "videoCount": 12500
  },
  "found": true,
  "reason": "not_found"
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-10-19 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • handlestring

    telegram

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

  • 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 `photoCount`, 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 channel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata

The channel record, or null when nothing was found.

  • avatarUrlstring

    Channel photo URL. Temporary: Telegram's CDN link expires.

  • descriptionstring

    Channel bio as plain text; null when the channel has none.

  • fileCountintegerpuò richiedere

    Files the channel has posted, rounded by Telegram. Null when not shown or when this source does not report it.

  • handlestring

    Channel username, without the @. Populated whenever the provider has data for the entity.

  • linkCountintegerpuò richiedere

    Links the channel has posted, rounded by Telegram. Null when not shown or when this source does not report it.

  • photoCountintegerpuò richiedere

    Photos the channel has posted. Telegram rounds this count ("1.2K" becomes 1200). Null when not shown or when this source does not report it.

  • subscribersinteger

    Exact subscriber count, read from the channel's public t.me page. Null when Telegram does not show it. Populated whenever the provider has data for the entity.

  • titlestring

    Channel name. Populated whenever the provider has data for the entity.

  • urlstring

    The channel's t.me link.

  • verifiedboolean

    True when the channel carries Telegram's verified badge. Null when this source does not report it.

  • videoCountintegerpuò richiedere

    Videos the channel has posted, rounded by Telegram. Null when not shown or when this source does not report it.

top level
  • foundboolean

    True when the channel was found; false when no public channel has this username.

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

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Telegram Canale

L'API Telegram Canale di AnyAPI restituisce dati Telegram come JSON normalizzato da una sola chiamata POST a /v1/run/telegram.channel. Get a public Telegram channel by username: name, bio, photo, verified badge, exact subscriber count, and how many photos, videos, files and links it has posted. AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 1,10 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Telegram Canale tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,1 secondi su 2 chiamate misurate.

Costa da 1,10 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Get a public Telegram channel by username: name, bio, photo, verified badge, exact subscriber count, and how many photos, videos, files and links it has posted. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate Telegram Canale tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,1 secondi su 2 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 90 chiamate Telegram Canale a 0,0011 USD ciascuna.

AnyAPI interroga la successiva delle sue 3 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/telegram.channel con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.