TikTok-API

TikTok-Videokommentare-API

Liste die Kommentare zu einem Video per URL mit Cursor-Paginierung auf: Text, Autor, Likes und Antwortzahl.

0,60 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.

@cristiano on TikTok
tiktok.com/@cristiano/video/7375000000000000000

@cristiano

Follow

Comments

footyfan

GOAT 🐐

Jun 12, 2024Reply

1,240
Add comment...
Was die API zurückgegeben hatcomments[0]
{
"id": "7517114944362499999",
"text": "GOAT 🐐",
"author": "footyfan",
"likes": 1240,
"replies": 12,
"createdAt": 1718200000,
"authorImage": string,
"authorName": string,
... 4 weitere Felder
}
Verfügbarkeit
99,28%
30d · 375.897 Aufrufe
Anfragen
377.763
30 T · wöchentlich, letzte 12 Wochen
Antwort
0,4s
Median · 30d

Preise und Anbieter

Preise der TikTok-Videokommentare-API: eine API, 6 austauschbare Anbieter

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

Du zahlst
6,00 USD
0,60 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 166 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

TikTok Videokommentare 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 `authorUserId` or `language`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.

Dieses Beispiel zeigt 9 von 16 Feldern. Alle Felder ansehen

{
  "found": true,
  "data": {
    "nextCursor": "20",
    "comments": [
      {
        "id": "7517114944362499999",
        "text": "GOAT 🐐",
        "author": "footyfan",
        "likes": 1240,
        "replies": 12,
        "createdAt": 1718200000
      }
    ]
  }
}

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

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • urlstring

    https://www.tiktok.com/@cristiano/video/7375000000000000000

    TikTok post URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com or vt.tiktok.com short link. A profile link (https://www.tiktok.com/@<user>), a video file link (tiktokcdn.com) or a link to any other site is refused as invalid input, with no charge.

  • cursorstring

    Paginierungs-Cursor aus dem nextCursor einer vorherigen Antwort.

  • 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 `authorUserId` or `language`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.

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

Antwort

JSON, ein Beispielwert pro Feld.

each commentdata.comments[]
  • authorstring

    footyfan

    Populated whenever the provider has data for the entity.

  • authorImagestring

    Comment author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact.

  • authorNamestring

    Comment author's display name.

  • authorUserIdstringkann erfordern

    Comment author's numeric TikTok user id. Null when the serving source does not report it.

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • idstring

    7517114944362499999

    Populated whenever the provider has data for the entity.

  • languagestringkann erfordern

    Language TikTok detected for the comment text, as a code such as en. Null when the serving source does not report it.

  • likesinteger

    1240

  • repliesinteger

    12

  • textstring

    GOAT 🐐

    Populated whenever the provider has data for the entity.

  • videoIdstring

    Identifier of the video the comment belongs to.

datadata
  • nextCursorstring

    20

    Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue.

top level
  • foundboolean

    true

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

Du verkaufst diese API? Hier ist das vollständige Schema, das dein Endpoint zurückgeben muss.

FAQ

Über die TikTok-Videokommentare-API

Die AnyAPI-TikTok-Videokommentare-API liefert TikTok-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/tiktok.video_comments. Liste die Kommentare zu einem Video per URL mit Cursor-Paginierung auf: Text, Autor, Likes und Antwortzahl. AnyAPI routet jede Anfrage über 6 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 0,60 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 99,3% der TikTok Videokommentare-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 0,4 Sekunden über 375.897 gemessene Aufrufe.

Sie kostet ab 0,60 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.

Liste die Kommentare zu einem Video per URL mit Cursor-Paginierung auf: Text, Autor, Likes und Antwortzahl. 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 99,3% der TikTok Videokommentare-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 0,4 Sekunden über 375.897 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 166 TikTok-Videokommentare-Aufrufe zu je 0,0006 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 6 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/tiktok.video_comments 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.