Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Douyin Video Comments (Web)

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.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 2 件
毎日 100 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 00:00 UTC にリセットされます。それ以降は従量課金です。

プレイグラウンド

入力
Video id
Number
Cursor
出力例
レスポンスoutputs · 13.9 KB · 391 行
[
  {
    "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,

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

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.

さらに探索

関連 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

質問

FAQ

Douyin Video Comments (Web) API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/web/video-comments に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Douyin Video Comments (Web) API の料金はいくらですか?

1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Douyin Video Comments (Web) API はどのパラメータを受け付けますか?

必須: aweme_id (string)。 任意: count (integer) と cursor (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Douyin Video Comments (Web) API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Douyin の開発者アカウントまたは API key は必要ですか?

いいえ。Douyin Video Comments (Web) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。