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.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.03 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

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

向 https://api.sandbase.ai/v1/api/douyin/web/video-comment-replies 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Douyin Video Comment Replies (Web) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。