Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Douyin Video Comments (Web)

Documentación de la API
https://api.sandbase.ai/v1/api/douyin/web/video-comments

Returns comments for a specific Douyin video using its video ID. Supports pagination controls via cursor and item count parameters.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 2 opcionales
100 llamadas gratis / díaLas primeras 100 llamadas de cada día son gratis (compartidas por organización) · Se restablecen a las 00:00 UTC. Después, pago por llamada.

Entorno de pruebas

Entrada
Video id
Number
Cursor
SalidaEjemplo
Respuestaoutputs · 13.9 KB · 391 líneas
[
  {
    "data": {
      "comment_common_data": "MS4wLjAAAAAAJGJViUPh-NgnKI2q_YhLFZfkA3VmjoZYLcCS3Ir0F_92k6pLEy9SQhehjosT6HX776KYYRpxE7Ia08SvG72EkTnvJDnfAA2msnAuVuZhzvsw8Omdp8YGSd756JRKSUrr5U56AVOXE68myHVN8dt31oP7xV0M7qCnDeGwn1dIdOmCg1diNINToDIA1KED-tGzeK8Ey-2M_T36IdVgMdiNpRB6alyx9IVm85cE8a-JvbbubGKdBUPinQzk11fI9gmlautZs0Yf1PHH5ldVpMBQDTNmbxppzyz0jeMg2mOq50ltwnNIZ0q-V5JbVvdgvi4AcwBtwq1TNYFCwxbRs8c-pF-LB4JHpDvEpN1I5s46WzblyqSlsctgX-BZVTS5J5X2nO3LXW6Zdxe6HZzWgkIjFBtCLcc_JHh1Et9kKCJ2f-C6s8KtC2k4ziDeGcLl_Gu-tQA-emJGyjK7_8usI7CJKznhfaCVxEjzT-CpDGuPb3nhNQ_3BmPEtREf9iBe7cZC-YAcPPS_JNAXgeLuSEesDQHIkVS32Xbk_NkBqCqvrLU3nGNF9fM4CbGfm3eMkAvhKM9s9ky6xPOV…",
      "comment_config": {},
      "comment_insert_bars": null,
      "comments": [
        {
          "aweme_id": "7372484719365098803",
          "can_collect": false,
          "can_share": true,
          "cid": "7373719575131685669",
          "content_type": 1,
          "create_time": 1716827886,
          "decorated_emoji_info": null,
          "digg_count": 83,
          "ent_parachute_tip": 0,
          "enter_from": "",
          "image_list": null,
          "ip_label": "河北",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": true,
          "is_note_comment": 0,
          "is_user_tend_to_reply": false,
          "item_comment_total": 4083,
          "label_list": null,
          "label_text": "",
          "label_type": -1,
          "level": 1,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_comment_total": 28,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "sort_tags": "{\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "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_1079c789829034dcadf984ff33b712f3",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_1079c789829034dcadf984ff33b712f3.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,
            "follower_list_secondary_information_struct": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "identity_labels": null,
            "im_role_ids": null,
            "interest_tags": null,
            "is_ad_fake": 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,
            "region": "CN",
            "relative_users": null,
            "sec_uid": "MS4wLjABAAAAM7pk0qpQ6keplSD7yE8so54GsqW8mTUSaOP9Rgc01EE",
            "secret": 0,
            "short_id": "35922554493",
            "signature_extra": null,
            "special_people_labels": null,
            "status": 1,
            "text_extra": null,
            "type_label": null,
            "uid": "576598986460267",
            "unique_id": "cxy060910aa",
            "user_canceled": false,
            "user_permissions": null,
            "user_tags": null,
            "verification_permission_ids": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0,
          "video_list": null
        },
        {
          "aweme_id": "7372484719365098803",
          "can_collect": false,
          "can_share": true,
          "cid": "7376208597615018789",
          "content_type": 1,
          "create_time": 1717407399,
          "decorated_emoji_info": null,
          "digg_count": 51,
          "ent_parachute_tip": 0,
          "enter_from": "homepage_hot",
          "image_list": null,
          "ip_label": "湖北",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": true,
          "is_note_comment": 0,
          "is_user_tend_to_reply": false,
          "item_comment_total": 4083,
          "label_list": null,
          "label_text": "",
          "label_type": -1,
          "level": 1,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_comment_total": 2,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "sort_tags": "{\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "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_b43c44462230474ee600fe237a5bd3c3",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b43c44462230474ee600fe237a5bd3c3.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,
            "follower_list_secondary_information_struct": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "identity_labels": null,
            "im_role_ids": null,
            "interest_tags": null,
            "is_ad_fake": false,
            "is_star": false,
            "item_list": null,
            "link_item_list": null,
            "need_points": null,
            "new_story_cover": null,
            "nickname": "li",
            "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,
            "region": "CN",
            "relative_users": null,
            "sec_uid": "MS4wLjABAAAAc-a-YIbMpE9PF4JkjkwRG5FgHaU_zRXKLaA9g3vdPuusm5FHSLKflZM6E4oYw0XS",
            "secret": 0,
            "short_id": "3596725068",
            "signature_extra": null,
            "special_people_labels": null,
            "status": 1,
            "text_extra": null,
            "type_label": null,
            "uid": "1222255647137261",
            "unique_id": "Xuan10211210",
            "user_canceled": false,
            "user_permissions": null,
            "user_tags": null,
            "verification_permission_ids": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0,
          "video_list": null
        },
        {
          "aweme_id": "7372484719365098803",
          "can_collect": false,
          "can_share": true,
          "cid": "7376066723244147497",
          "content_type": 1,
          "create_time": 1717374371,
          "decorated_emoji_info": null,
          "digg_count": 55,
          "ent_parachute_tip": 0,
          "enter_from": "homepage_hot",
          "image_list": null,
          "ip_label": "安徽",
          "is_author_digged": false,
          "is_folded": false,
          "is_hot": true,
          "is_note_comment": 0,
          "is_user_tend_to_reply": false,
          "item_comment_total": 4083,
          "label_list": null,
          "label_text": "",
          "label_type": -1,
          "level": 1,
          "merge_comment_label": null,
          "reply_comment": null,
          "reply_comment_total": 5,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "sort_tags": "{\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "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_87a26870a06afffec07be6124fec2bec",
              "url_list": [
                "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_87a26870a06afffec07be6124fec2bec.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,

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la API

Douyin Video Comments (Web) API

Returns a page of comments for one Douyin video. Each comment includes its text, post time, like count, location label and author info. The only required input is the video's aweme_id.

Use cases

  • Collect the comment text of a video to review audience reactions.
  • Find the most liked or hot comments on a post by reading digg_count and is_hot.
  • Group commenters by region using the ip_label value.
  • Export comment IDs to fetch the replies under a comment with a second call.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/video-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7372484719365098803"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
aweme_idstringYesVideo id
countintegerNoNumber
cursorintegerNoCursor

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "comment_common_data": "MS4wLjAAAAAAyPjaKBZMlThAfoQKVHBP8mFqDbgerrYSqQ3sAlLKDOHul-CTJTHcEtNlhv0TjepZVbpT…",
  "comment_config": {},
  "comment_insert_bars": null,
  "comments": [
    {
      "aweme_id": "7372484719365098803",
      "can_collect": false,
      "can_share": true,
      "cid": "7625716139537204017",
      "content_type": 1,
      "create_time": 1775500406,
      "decorated_emoji_info": null,
      "digg_count": 0,
      "ent_parachute_tip": 0,
      "enter_from": "general_search_scan",
      "image_list": null,
      "ip_label": "广东"
    }
  ],
  "cursor": 20,
  "extra": {
    "fatal_item_ids": null,
    "now": 1793691157000,
    "scenes": null
  },
  "fast_response_comment": {
    "constant_response_words": [
      "赞"
    ],
    "timed_response_words": [
      "早上好"
    ]
  },
  "folded_comment_count": 0,
  "general_comment_config": {},
  "has_more": 1,
  "hotsoon_filtered_count": 0,
  "log_pb": {
    "impr_id": "20261103153237B3CE67C40AB352E0F687"
  }
}

Response fields

FieldMeaning
comments[].cidID of the comment. Use it to identify one comment.
comments[].textThe comment text. Mentions appear as @name in the text.
comments[].create_timeWhen the comment was posted, as a Unix timestamp in seconds.
comments[].digg_countNumber of likes on the comment.
comments[].reply_comment_totalNumber of replies under the comment.
comments[].ip_labelRegion label shown for the commenter, such as 广东.
comments[].is_hot / comments[].is_author_diggedis_hot marks a comment flagged as hot. is_author_digged shows whether the video author liked it.
comments[].image_listImages attached to the comment, in several sizes. It is null when the comment has no image.
comments[].user.avatar_thumb.url_listURLs of the commenter's avatar thumbnail.
total / has_more / cursortotal is the comment count of the video. has_more is 1 when more comments exist. cursor is the value to send for the next page.

Notes

  • Send aweme_id as a string. It is the long numeric video ID, for example 7372484719365098803.
  • To page through results, pass the cursor value from the response into the next request. count sets the number of comments per page and defaults to 20.
  • Each comment repeats item_comment_total and aweme_id for the video.
  • To read replies under a comment, use Douyin Video Comment Replies (Web).

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.03 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Video Comments (Web)?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/web/video-comments con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Douyin Video Comments (Web)?

$0.001 por llamada. Cada organización obtiene 100 llamadas gratis por día UTC, compartidas entre las APIs elegibles de SandBase, incluida esta; después, cada llamada se factura a este precio desde tu saldo de SandBase. No hay suscripción.

¿Qué parámetros acepta la API de Douyin Video Comments (Web)?

Requeridos: aweme_id (string). Opcionales: count (integer) y cursor (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Video Comments (Web)?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Douyin?

No. Douyin Video Comments (Web) funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.