Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Video Comment Replies (App V3)

API 文件
https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies

Returns reply comments for a specific comment on a Douyin video based on the video ID and comment ID, with support for cursor-based pagination.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
2 個必填 · 2 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Comment id
Video id
Number Please keep the default, otherwise there will be BUG.
Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
輸出範例
回應outputs · 356 B · 20 行
[
  {
    "data": {
      "comments": null,
      "cursor": 0,
      "extra": {
        "fatal_item_ids": null,
        "now": 1787219150000,
        "scenes": null
      },
      "has_more": 0,
      "log_pb": {
        "impr_id": "202608201745503DFA256C2818C925E1B7"
      },
      "merge_cursor": "",
      "status_code": 0,
      "total": 0
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Video Comment Replies (App V3) API

Returns the reply comments under one comment on a Douyin video. It needs the video ID (item_id) and the parent comment ID (comment_id), and it pages through replies with a cursor.

Use cases

  • Read the full reply thread under a popular Douyin comment.
  • Collect reply text and like counts to study how viewers react to a specific comment.
  • Find which users reply to whom by reading the reply target fields.
  • Export a reply thread with timestamps and IP location labels for moderation review.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"comment_id": "7354669356632638218", "item_id": "7354666303006723354"}'

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

Parameters

NameTypeRequiredDescription
comment_idstringYesComment id
item_idstringYesVideo id
countintegerNoNumber Please keep the default, otherwise there will be BUG.
cursorintegerNoCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.

Example response

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

{
  "comments": [
    {
      "aweme_id": "7354666303006723354",
      "can_collect": false,
      "can_share": true,
      "cid": "7354723548119139098",
      "comment_reply_total": 288,
      "comment_token": "MS4wLjAA…",
      "content_type": 1,
      "create_time": 1712405022,
      "decorated_emoji_info": null,
      "digg_count": 15944,
      "image_list": null,
      "ip_label": "湖南"
    }
  ],
  "cursor": 20,
  "extra": {
    "fatal_item_ids": null,
    "now": 1793691101000,
    "scenes": null
  },
  "has_more": 1,
  "log_pb": {
    "impr_id": "202611031531417B52BA2153595311905D"
  },
  "merge_cursor": "",
  "status_code": 0,
  "total": 288
}

Response fields

FieldMeaning
comments[].cidID of the reply comment.
comments[].textText of the reply. Emoji appear as bracket codes 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_id / comments[].root_comment_idID of the comment being replied to, and the ID of the top level comment of the thread.
comments[].reply_to_username / comments[].reply_to_userid / comments[].reply_to_user_sec_idName and IDs of the user this reply is directed at. These appear when the reply targets another reply.
comments[].ip_labelLocation label shown next to the reply, such as a province name.
comments[].label_textBadge shown on the reply. The value 作者 marks a reply with the author label. It is empty when there is no badge.
comments[].user.avatar_thumb.url_listImage URLs for the small avatar of the user who wrote the reply.
total / has_more / cursortotal is the number of replies to the comment. has_more is 1 when more pages exist. cursor is the value to send for the next page.

Notes

  • Take item_id from the video and comment_id from a top level comment. Use Douyin Video Comments to list those comments first.
  • For the first page, send cursor as 0. For the next page, send the cursor value from the previous response. Stop when has_more is not 1.
  • Leave count at its default value. The parameter description warns that other values cause bugs.
  • Each reply repeats comment_reply_total and aweme_id, which is the video ID.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Video Comment Replies (App V3) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Video Comment Replies (App V3) API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Douyin Video Comment Replies (App V3) API 接受哪些參數?

必要:comment_id (string) 和 item_id (string)。 選填:count (integer) 和 cursor (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Video Comment Replies (App V3) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Video Comment Replies (App V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。