Telegram-API

Telegram-Beitrag-API

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
Verfügbarkeit
100,00%
30d · 37 Aufrufe
Anfragen
156
30 T · wöchentlich, letzte 12 Wochen
Antwort
0,5s
Median · 30d

Status

Status wird geladen...

Ausfall-E-Mails für diesen Endpoint erhalten

Alle Endpoints auf der Statusseite ansehen

Preise und Anbieter

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

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

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 Beitrag 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 `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.
Ö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": {
    "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"
}

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-12-03 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

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

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

  • editedbooleankann erfordern

    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.

  • linkPreviewDescriptionstringkann erfordern

    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.

  • linkPreviewTitlestringkann erfordern

    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.

  • linkPreviewUrlstringkann erfordern

    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.

  • durationSecondsnumberkann erfordern

    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.

  • typestringkann erfordern

    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.

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

FAQ

Über die Telegram-Beitrag-API

Die AnyAPI-Telegram-Beitrag-API liefert Telegram-Daten als normalisiertes JSON aus einem POST-Aufruf an /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 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 Beitrag-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 0,5 Sekunden über 37 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 one public Telegram channel post by its t.me link: text, posting time, views, photo and video links, and reactions. 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 Beitrag-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 0,5 Sekunden über 37 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-Beitrag-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.post 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.