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

Douyin Video Comment Replies (Web)

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

Returns reply data for a specific comment on a Douyin video. Supports pagination controls through cursor and count parameters.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
2 個必填 · 2 個選填

Playground

輸入
Comment id
Video id
Number
Cursor
輸出範例
回應outputs · 13.3 KB · 381 行
[
  {
    "data": {
      "comments": [
        {
          "aweme_id": "7354666303006723354",
          "can_collect": false,
          "can_share": true,
          "cid": "7354723548119139098",
          "comment_reply_total": 288,
          "content_type": 1,
          "create_time": 1712405022,
          "decorated_emoji_info": null,
          "digg_count": 15941,
          "image_list": null,
          "ip_label": "湖南",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": false,
          "is_note_comment": 0,
          "label_list": null,
          "label_text": "作者",
          "label_type": 1,
          "level": 2,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_id": "7354669356632638218",
          "reply_to_reply_id": "0",
          "root_comment_id": "7354723548119139098",
          "status": 1,
          "text": "不是她黑 我穿的袜子 她穿的黑s..[再见]",
          "text_extra": [],
          "text_music_info": null,
          "user": {
            "ad_cover_url": null,
            "avatar_schema_list": null,
            "avatar_thumb": {
              "height": 720,
              "uri": "100x100/aweme-avatar/tos-cn-avt-0015_052449f05429c385280d31cc18bb211a",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_052449f05429c385280d31cc18bb211a.jpeg?from=2064092626"
              ],
              "width": 720
            },
            "aweme_control": {
              "can_comment": true,
              "can_forward": true,
              "can_share": true,
              "can_show_comment": true
            },
            "ban_user_functions": [],
            "batch_unfollow_contain_tabs": null,
            "batch_unfollow_relation_desc": null,
            "can_set_geofencing": null,
            "card_entries": null,
            "card_entries_not_display": null,
            "card_sort_priority": null,
            "cf_list": null,
            "cha_list": null,
            "close_friend_type": 0,
            "comment_setting": 0,
            "commerce_user_level": 0,
            "contrail_list": null,
            "cover_url": null,
            "creator_tag_list": null,
            "custom_verify": "",
            "data_label_list": null,
            "disable_image_comment_saved": 0,
            "display_info": null,
            "endorsement_info_list": null,
            "enterprise_verify_reason": "",
            "familiar_visitor_user": null,
            "follow_status": 0,
            "follower_list_secondary_information_struct": null,
            "follower_status": 0,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "identity_labels": null,
            "im_role_ids": null,
            "interest_tags": null,
            "is_ad_fake": false,
            "is_block": false,
            "is_blocked_v2": false,
            "is_blocking_v2": false,
            "is_star": false,
            "item_list": null,
            "link_item_list": null,
            "need_points": null,
            "new_story_cover": null,
            "nickname": "你的欲梦",
            "not_seen_item_id_list": null,
            "not_seen_item_id_list_v2": null,
            "offline_info_list": null,
            "personal_tag_list": null,
            "platform_sync_info": null,
            "private_relation_list": null,
            "profile_component_disabled": null,
            "profile_mob_params": null,
            "profile_signature_components": null,
            "region": "CN",
            "relative_users": null,
            "sec_uid": "MS4wLjABAAAApS8G4x1k10StKWUjcUv0nhgo5h4Zio_cfCH5Yjvs0gc",
            "secret": 0,
            "short_id": "54279184",
            "signature_extra": null,
            "special_people_labels": null,
            "status": 1,
            "text_extra": null,
            "type_label": null,
            "uid": "65101148467",
            "unique_id": "YM09288",
            "user_canceled": false,
            "user_permissions": null,
            "user_tags": null,
            "verification_permission_ids": null,
            "webcast_preview_labels": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0,
          "video_list": null
        },
        {
          "aweme_id": "7354666303006723354",
          "can_collect": false,
          "cid": "7354723716398105359",
          "comment_reply_total": 288,
          "content_type": 1,
          "create_time": 1712405060,
          "decorated_emoji_info": null,
          "digg_count": 710,
          "image_list": null,
          "ip_label": "江西",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": false,
          "is_note_comment": 0,
          "label_list": null,
          "label_text": "",
          "label_type": -1,
          "level": 2,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_id": "7354669356632638218",
          "reply_to_reply_id": "7354723548119139098",
          "reply_to_user_sec_id": "MS4wLjABAAAApS8G4x1k10StKWUjcUv0nhgo5h4Zio_cfCH5Yjvs0gc",
          "reply_to_userid": "65101148467",
          "reply_to_username": "你的欲梦",
          "root_comment_id": "7354723548119139098",
          "status": 1,
          "text": "宝宝[猪头]",
          "text_extra": [],
          "text_music_info": null,
          "user": {
            "ad_cover_url": null,
            "avatar_schema_list": null,
            "avatar_thumb": {
              "height": 720,
              "uri": "100x100/aweme-avatar/tos-cn-avt-0015_066d71c45956a660fec2ecd30fc01bdc",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_066d71c45956a660fec2ecd30fc01bdc.jpeg?from=2064092626"
              ],
              "width": 720
            },
            "aweme_control": {
              "can_comment": true,
              "can_forward": true,
              "can_share": true,
              "can_show_comment": true
            },
            "ban_user_functions": null,
            "batch_unfollow_contain_tabs": null,
            "batch_unfollow_relation_desc": null,
            "can_set_geofencing": null,
            "card_entries": null,
            "card_entries_not_display": null,
            "card_sort_priority": null,
            "cf_list": null,
            "cha_list": null,
            "close_friend_type": 0,
            "comment_setting": 0,
            "commerce_user_level": 0,
            "contrail_list": null,
            "cover_url": null,
            "creator_tag_list": null,
            "custom_verify": "",
            "data_label_list": null,
            "disable_image_comment_saved": 0,
            "display_info": null,
            "endorsement_info_list": null,
            "enterprise_verify_reason": "",
            "familiar_visitor_user": null,
            "follow_status": 0,
            "follower_list_secondary_information_struct": null,
            "follower_status": 0,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "identity_labels": null,
            "im_role_ids": null,
            "interest_tags": null,
            "is_ad_fake": false,
            "is_block": false,
            "is_blocked_v2": false,
            "is_blocking_v2": false,
            "is_star": false,
            "item_list": null,
            "link_item_list": null,
            "need_points": null,
            "new_story_cover": null,
            "nickname": "你是一个人类吗",
            "not_seen_item_id_list": null,
            "not_seen_item_id_list_v2": null,
            "offline_info_list": null,
            "personal_tag_list": null,
            "platform_sync_info": null,
            "private_relation_list": null,
            "profile_component_disabled": null,
            "profile_mob_params": null,
            "profile_signature_components": null,
            "region": "CN",
            "relative_users": null,
            "sec_uid": "MS4wLjABAAAA_-zScaVnPzDWApmUuoAc4ZNs3sEWgMNX7pi5t0NdXnJKwclj9yyFeUGQEbx5zxg6",
            "secret": 0,
            "short_id": "4144196362",
            "signature_extra": null,
            "special_people_labels": null,
            "status": 1,
            "text_extra": null,
            "type_label": null,
            "uid": "4152182784667699",
            "unique_id": "xiannv98724",
            "user_canceled": false,
            "user_permissions": null,
            "user_tags": null,
            "verification_permission_ids": null,
            "webcast_preview_labels": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0,
          "video_list": null
        },
        {
          "aweme_id": "7354666303006723354",
          "can_collect": false,
          "can_share": true,
          "cid": "7354723874511045427",
          "comment_reply_total": 288,
          "content_type": 1,
          "create_time": 1712405097,
          "decorated_emoji_info": null,
          "digg_count": 236,
          "image_list": null,
          "ip_label": "云南",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": false,
          "is_note_comment": 0,
          "label_list": null,
          "label_text": "",
          "label_type": -1,
          "level": 2,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_id": "7354669356632638218",
          "reply_to_reply_id": "7354723548119139098",
          "reply_to_user_sec_id": "MS4wLjABAAAApS8G4x1k10StKWUjcUv0nhgo5h4Zio_cfCH5Yjvs0gc",
          "reply_to_userid": "65101148467",
          "reply_to_username": "你的欲梦",
          "root_comment_id": "7354723548119139098",
          "status": 1,
          "text": "就说一个黑一个白呢",
          "text_extra": [],
          "text_music_info": null,
          "user": {
            "ad_cover_url": null,
            "avatar_schema_list": null,
            "avatar_thumb": {
              "height": 720,
              "uri": "100x100/aweme-avatar/aweme_default_avatar.png",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/aweme_default_avatar.png.jpeg?from=2064092626"
              ],
              "width": 720
            },
            "aweme_control": {
              "can_comment": true,
              "can_forward": true,
              "can_share": true,
              "can_show_comment": true
            },
            "ban_user_functions": [],
            "batch_unfollow_contain_tabs": null,
            "batch_unfollow_relation_desc": null,
            "can_set_geofencing": null,
            "card_entries": null,
            "card_entries_not_display": null,
            "card_sort_priority": null,
            "cf_list": null,
            "cha_list": null,

範例

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

API README

Douyin Video Comment Replies (Web) API

Returns the replies under one comment on a Douyin video. Each reply has its text, like count, post time, IP location label and author info. You send the video item_id and the parent comment_id.

Use cases

  • Read the full reply thread under a top comment on a Douyin video.
  • Collect replies and their digg_count values to see which responses get the most likes.
  • Map who replies to whom in a thread using the reply_to_username and reply_to_reply_id fields.
  • Export reply text and ip_label values for sentiment or regional analysis of one comment thread.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/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
cursorintegerNoCursor

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,
      "content_type": 1,
      "create_time": 1712405022,
      "decorated_emoji_info": null,
      "digg_count": 15944,
      "image_list": null,
      "ip_label": "湖南",
      "is_author_digged": false
    }
  ],
  "cursor": 20,
  "extra": {
    "fatal_item_ids": null,
    "now": 1793691155000,
    "scenes": null
  },
  "has_more": 1,
  "log_pb": {
    "impr_id": "20261103153235436EC061A2EA00CA8DF6"
  },
  "merge_cursor": "",
  "status_code": 0,
  "total": 288
}

Response fields

FieldMeaning
comments[].cidID of the reply itself.
comments[].textText of the reply. Emoji appear as bracketed 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_id / comments[].root_comment_idreply_id is the parent comment ID you asked about. root_comment_id is the root comment of the thread.
comments[].reply_to_reply_id / comments[].reply_to_usernameThe reply this one answers, and the name of that user. reply_to_reply_id is 0 when the reply goes directly to the parent comment. The reply_to_* fields are missing in that case.
comments[].ip_labelLocation label shown next to the reply, such as a province name.
comments[].label_textBadge text on the reply. The value 作者 marks a reply with the author label. It is an empty string when there is no badge.
comments[].userProfile info of the reply author, including the avatar_thumb image URLs.
total / has_more / cursortotal is the number of replies to the comment (288 here). has_more is 1 when more pages exist. cursor is the position after this page (20 here).

Notes

  • Both item_id (video ID) and comment_id (parent comment ID) are required. comment_id is the same value as reply_id in each returned reply.
  • To get the next page, send the returned cursor value as the cursor parameter. Use count to set the page size. Stop when has_more is not 1.
  • To list top-level comments and find a comment_id, call Douyin Video Comments (Web).
  • To get a video ID from a share link, use Douyin Video ID Extractor.

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

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

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

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

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

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

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

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

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

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

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

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