Telegram-API

Telegram-Kanal-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
Verfügbarkeit
100,00%
30d · 2 Aufrufe
Anfragen
2
30d
Antwort
1,1s
Median · 30d

Preise und Anbieter

Preise der Telegram-Kanal-API: eine API, 3 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Anbieter
1LemurBedient zuerst1,10 USD/1k Anfr.flat2GiraffeErsatz 11,20 USD/1k Anfr.flat3FoxErsatz 23,60 USD/1k Anfr.flat
Du zahlst
11,00 USD
1,10 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 90 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

Telegram Kanal mit einer Anfrage abrufen

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.
Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.
{
  "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"
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-10-19 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

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

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

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.

  • fileCountintegerkann erfordern

    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.

  • linkCountintegerkann erfordern

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

  • photoCountintegerkann erfordern

    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.

  • videoCountintegerkann erfordern

    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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die Telegram-Kanal-API

Die AnyAPI-Telegram-Kanal-API liefert Telegram-Daten als normalisiertes JSON aus einem POST-Aufruf an /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 routet jede Anfrage über 3 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 1,10 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 100,0% der Telegram Kanal-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 2 gemessene Aufrufe.

Sie kostet ab 1,10 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

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. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 100,0% der Telegram Kanal-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 1,1 Sekunden über 2 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 90 Telegram-Kanal-Aufrufe zu je 0,0011 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 3 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/telegram.channel mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.