Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Douyin Video Comment Replies (Web)

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
2 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
Comment id
Video id
Number
Cursor
ÇıktıÖrnek
Yanıtoutputs · 13.3 KB · 381 satır
[
  {
    "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,

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.001 çağrı başınaJSON
Douyin$0.03 çağrı başınaJSON

Kılavuzlar:Best Douyin API in 2026: Pricing Compared

Sorular

SSS

Douyin Video Comment Replies (Web) API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/web/video-comment-replies adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Douyin Video Comment Replies (Web) API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Douyin Video Comment Replies (Web) API'si hangi parametreleri kabul eder?

Gerekli: comment_id (string) ve item_id (string). İsteğe bağlı: count (integer) ve cursor (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Douyin Video Comment Replies (Web) API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Douyin geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Douyin Video Comment Replies (Web), SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.