Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Douyin Video Comment Replies (Web)

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

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
2 obligatoires · 2 facultatifs

Bac à sable

Entrée
Comment id
Video id
Number
Cursor
SortieExemple
Réponseoutputs · 13.3 KB · 381 lignes
[
  {
    "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,

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.001 par appelJSON
Douyin$0.03 par appelJSON

Guides :Best Douyin API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Douyin Video Comment Replies (Web) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/web/video-comment-replies avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Douyin Video Comment Replies (Web) ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Douyin Video Comment Replies (Web) accepte-t-elle ?

Obligatoire : comment_id (string) et item_id (string). Facultatif : count (integer) et cursor (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Douyin Video Comment Replies (Web) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Douyin ?

Non. Douyin Video Comment Replies (Web) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.