Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Douyin Video Comment Replies (Web)

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

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
2 wajib · 2 opsional

Playground

Input
Comment id
Video id
Number
Cursor
OutputContoh
Responsoutputs · 13.3 KB · 381 baris
[
  {
    "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,

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.03 per panggilanJSON

Panduan:Best Douyin API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Douyin Video Comment Replies (Web)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/web/video-comment-replies dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Douyin Video Comment Replies (Web)?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Douyin Video Comment Replies (Web)?

Wajib: comment_id (string) dan item_id (string). Opsional: count (integer) dan cursor (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Douyin Video Comment Replies (Web)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Douyin?

Tidak. Douyin Video Comment Replies (Web) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.