Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Douyin Comment Replies

API-Dokumentation
https://api.sandbase.ai/v1/api/douyin/video-sub-comment

Get replies to a top-level Douyin (TikTok China) video comment with page-based pagination. Use it to inspect threaded discussions and review feedback under a known comment.

Preis
$0.014286USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
The unique identifier of the top-level comment.
Page number (starting from 1).
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Douyin Comment Replies API

Returns replies to one top-level Douyin comment. It needs the commentId of that comment and takes an optional page number. Each reply includes its text, timestamp, like count and the video it belongs to.

Use cases

  • Read the full thread under a popular comment to see how viewers respond to it.
  • Collect reply text under a known comment for sentiment or feedback review.
  • Count replies and likes on a comment to find threads with active discussion.
  • Link each reply back to its video and parent comment to rebuild a comment tree.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/video-sub-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"commentId": "7373626964752450315"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
commentIdstringYesThe unique identifier of the top-level comment.
pageintegerNoPage number (starting from 1).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "comments": [
    {
      "aweme_id": "7372484719365098803",
      "can_collect": false,
      "cid": "7373632254276944680",
      "comment_reply_total": 6,
      "content_type": 1,
      "create_time": 1716807549,
      "decorated_emoji_info": null,
      "digg_count": 0,
      "image_list": null,
      "is_author_digged": false,
      "is_folded": false,
      "is_hot": false
    }
  ],
  "cursor": 10,
  "extra": {
    "fatal_item_ids": null,
    "now": 1793691144000,
    "scenes": null
  },
  "has_more": 0,
  "log_pb": {
    "impr_id": "202611031532243E3D7BB70E367D24D5ED"
  },
  "merge_cursor": "",
  "status_code": 0,
  "total": 6
}

Response fields

FieldMeaning
comments[].cidID of the reply. Use it as a unique key for each reply.
comments[].textText of the reply. Emoji appear as bracket tags such as [玫瑰].
comments[].create_timeTime the reply was posted, as a Unix timestamp in seconds.
comments[].digg_countNumber of likes on the reply.
comments[].reply_idID of the top-level comment that this reply belongs to. It matches the commentId you sent.
comments[].reply_to_reply_idID of the reply this reply answers. The value 0 means it answers the top-level comment directly.
comments[].aweme_idID of the video that holds the comment thread.
comments[].comment_reply_totalReply count shown on each reply item. It matches total in this response.
comments[].userProfile object of the reply author. It holds avatar image objects and account flags.
has_more / cursor / totalhas_more is 0 when no further page exists. cursor is the paging offset returned by the platform. total is the number of replies to the comment.

Notes

  • Get commentId from the cid field of a top-level comment. The Douyin Video Comments API lists those comments for a video.
  • Set page to 1, 2, 3 and so on. Keep requesting the next page while has_more is 1.
  • Some avatar_* objects come back with an empty url_list, so do not rely on them for images.
  • An alternative reply endpoint is Douyin Video Comment Replies (App V3).

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Douyin$0.014286 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON
Douyin$0.001 pro AufrufJSON

Anleitungen:Best Douyin API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Douyin Comment Replies API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/video-sub-comment mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Douyin Comment Replies API?

$0.014286 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Douyin Comment Replies API?

Erforderlich: commentId (string). Optional: page (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Douyin Comment Replies API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Douyin-Entwicklerkonto oder einen API-Schlüssel?

Nein. Douyin Comment Replies läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.