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

TikTok Video Comments (Web)

Dokumentasi API
https://api.sandbase.ai/v1/api/tiktok/web/post-comment

Returns user comments for a specific TikTok video using its video ID. Supports cursor-based pagination and optional region filtering.

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

Playground

Input
Video id
Number per page
Current region, default is empty.
Page cursor
OutputContoh
Responsoutputs · 14.3 KB · 317 baris
[
  {
    "data": {
      "alias_comment_deleted": false,
      "comments": [
        {
          "allow_download_photo": true,
          "author_pin": false,
          "aweme_id": "7350810998023949599",
          "cid": "7350848249060934442",
          "collect_stat": 0,
          "comment_language": "en",
          "comment_post_item_ids": null,
          "create_time": 1711502748,
          "digg_count": 28860,
          "fold_status": -1,
          "image_list": null,
          "is_author_digged": false,
          "is_comment_translatable": true,
          "is_high_purchase_intent": false,
          "label_list": null,
          "no_show": false,
          "reply_comment": null,
          "reply_comment_total": 32,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "seeking_help_model_type": 0,
          "share_info": {
            "acl": {
              "add_to_story_code": 0,
              "code": 0,
              "extra": "{}"
            },
            "desc": "୧ ׅ۫ay me𓍯’s comment: why are your eyes bleeding",
            "title": "im so sick of being tired im so tired of being sick",
            "url": "https://m.tiktok.com/v/7350810998023949599.html?_d=f0ja0akic34cb9&comment_author_id=7055325722075743237&preview_pb=0&share_comment_id=7350848249060934442&share_item_id=7350810998023949599&sharer_language=en-US&source=h5_m&u_code=0"
          },
          "sort_extra_score": {
            "reply_score": 0.000064,
            "show_more_score": 0.328179
          },
          "sort_tags": "{\"fine_sort_search_queue\":1,\"rough_sort_main_queue\":1,\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "text": "why are your eyes bleeding",
          "text_extra": [],
          "text_to_image_item_ids": null,
          "thread_has_more": false,
          "thread_id": 0,
          "trans_btn_style": 0,
          "translated_text_extra": null,
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast5-avt-0068-tx/b61a4c668a98514d0c40f0d4841abfa0",
              "url_list": [
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b61a4c668a98514d0c40f0d4841abfa0~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=4cacdcfc&x-expires=1791374400&x-signature=sggElEMTF0UkqFdmC%2BnbzfbDnVk%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b61a4c668a98514d0c40f0d4841abfa0~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=f5e74ac6&x-expires=1791374400&x-signature=V1IwmIcC%2BfQqVSeidA5JCGbdsJQ%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/b61a4c668a98514d0c40f0d4841abfa0~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=fcb60e2c&x-expires=1791374400&x-signature=5m7zSnbPL4Mr4EKApeAg4eflDVQ%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "୧ ׅ۫ay me𓍯",
            "platform_sync_info": null,
            "predicted_age_group": "-1",
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAAuV51EZqZQSGs9xlFfHillQDJIQYte1MGZ6Mqgp-TiROjAO6ECp7wG3cXA_oUtm42",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "7055325722075743237",
            "unique_id": "snawgalawgtrons",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0
        },
        {
          "allow_download_photo": true,
          "author_pin": false,
          "aweme_id": "7350810998023949599",
          "cid": "7381783901607985951",
          "collect_stat": 0,
          "comment_language": "en",
          "comment_post_item_ids": null,
          "create_time": 1718705560,
          "digg_count": 2098,
          "fold_status": -1,
          "image_list": null,
          "is_author_digged": false,
          "is_comment_translatable": true,
          "is_high_purchase_intent": false,
          "label_list": null,
          "no_show": false,
          "qrec_virtual_enable": "",
          "reply_comment": null,
          "reply_comment_total": 10,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "seeking_help_model_type": 0,
          "share_info": {
            "acl": {
              "add_to_story_code": 0,
              "code": 0,
              "extra": "{}"
            },
            "desc": "Saiwhychai’s comment: that's Standwich",
            "title": "im so sick of being tired im so tired of being sick",
            "url": "https://m.tiktok.com/v/7350810998023949599.html?_d=f0ja0akic34cb9&comment_author_id=7337975362272609326&preview_pb=0&share_comment_id=7381783901607985951&share_item_id=7350810998023949599&sharer_language=en-US&source=h5_m&u_code=0"
          },
          "sort_extra_score": {
            "reply_score": 0.000031,
            "show_more_score": 0.015181
          },
          "sort_tags": "{\"fine_sort_search_queue\":1,\"rough_sort_search_queue\":1,\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "text": "that's Standwich",
          "text_extra": [
            {
              "end": 16,
              "search_keyword": "Standwich",
              "search_keyword_id": "9004908692977225649",
              "search_penetrate_info": "{\"ecom_trigger_info_map\":\"\",\"lvl1_category_id\":\"\",\"direct_to_tako\":\"\",\"hot_level\":\"0\",\"words_type_to_voucher_ids\":\"\",\"recall_reason\":\"comment_sar_match_recall,weiss_batch_comment_pure_ner_recall\",\"word_type_list\":\"\",\"video_id\":\"\",\"ecom_trigger_info\":\"\",\"sug_user_id\":\"\",\"generate_time\":\"0\",\"ecom_intent\":\"1\",\"word_type_version_map\":\"\",\"is_time_sensitive\":\"0\",\"is_ramandan_promotion\":\"\",\"words_type_to_dmp_list\":\"\",\"visualize_sug_product_id\":\"\",\"lvl3_cate_list\":\"\",\"poi_card_id_list\":\"\"}",
              "search_word_record": {
                "qrec_json_info": "{\"is_four_vertical\":0}",
                "textnet_id": "1012##366",
                "words_lang": "en"
              },
              "start": 7,
              "type": 6,
              "word_position": 0
            }
          ],
          "text_to_image_item_ids": null,
          "thread_has_more": false,
          "thread_id": 0,
          "trans_btn_style": 0,
          "translated_text_extra": null,
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast8-avt-0068-tx2/dcab15dd0cee373807196eaa2d93430e",
              "url_list": [
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/dcab15dd0cee373807196eaa2d93430e~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=09924be1&x-expires=1791374400&x-signature=tWKujmlh%2FwxT0IXDnhebXXP29lU%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/dcab15dd0cee373807196eaa2d93430e~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=338219fd&x-expires=1791374400&x-signature=kXb0fz2e6yasOAKCPw4vYGaBoOw%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/dcab15dd0cee373807196eaa2d93430e~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=de85625f&x-expires=1791374400&x-signature=wX%2Fyy4kO91moyTdwh%2FaKRJLxfDY%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "Saiwhychai",
            "platform_sync_info": null,
            "predicted_age_group": "",
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAAcaIkH65jttZTo__-ZT3k_KzPUHgOusLZdvigFFfRmqbhzy1_Y8468SEPyfOT02Qm",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "7337975362272609326",
            "unique_id": "animose4",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0
        },
        {
          "allow_download_photo": true,
          "author_pin": false,
          "aweme_id": "7350810998023949599",
          "cid": "7350832440615830303",
          "collect_stat": 0,
          "comment_language": "en",
          "comment_post_item_ids": null,
          "create_time": 1711499073,
          "digg_count": 4621,
          "fold_status": -1,
          "image_list": null,
          "is_author_digged": false,
          "is_comment_translatable": true,
          "is_high_purchase_intent": false,
          "label_list": null,
          "no_show": false,
          "reply_comment": null,
          "reply_comment_total": 16,
          "reply_id": "0",
          "reply_to_reply_id": "0",
          "seeking_help_model_type": 0,
          "share_info": {
            "acl": {
              "add_to_story_code": 0,
              "code": 0,
              "extra": "{}"
            },
            "desc": "dingle man’s comment: the long way I guess",
            "title": "im so sick of being tired im so tired of being sick",
            "url": "https://m.tiktok.com/v/7350810998023949599.html?_d=f0ja0akic34cb9&comment_author_id=7097768029329867819&preview_pb=0&share_comment_id=7350832440615830303&share_item_id=7350810998023949599&sharer_language=en-US&source=h5_m&u_code=0"
          },
          "sort_extra_score": {
            "reply_score": 0.000023,
            "show_more_score": 0.012858
          },
          "sort_tags": "{\"fine_sort_main_queue\":1,\"rough_sort_main_queue\":1,\"top_list\":1}",
          "status": 1,
          "stick_position": 0,
          "text": "the long way I guess",
          "text_extra": [],
          "text_to_image_item_ids": null,
          "thread_has_more": false,
          "thread_id": 0,
          "trans_btn_style": 0,
          "translated_text_extra": null,
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e",
              "url_list": [
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=e5b248eb&x-expires=1791374400&x-signature=CkbHaO6aaFMYfHq5AMZCs7F4RbE%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=a244865d&x-expires=1791374400&x-signature=5OGxHMmuPNx5umPSULT58lnezQ0%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=bd4b49d0&x-expires=1791374400&x-signature=vaB3Vnnic6pStFE6ybqeUYia2oA%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "dingle man",
            "platform_sync_info": null,
            "predicted_age_group": "-1",
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAACWxnQ-zLyTvSeHbAbJiR7aOq5EktOpgJgFTl61BmHimiJNBmy-YcbpJmKRfiHDzf",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "7097768029329867819",
            "unique_id": ".dingleman",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          },
          "user_buried": false,
          "user_digged": 0
        },
        "… 15 more items in the full response"
      ],
      "cookie": "tt_chain_token=WMypJPPohbwsqwMLWH9ppg==;",
      "cursor": 20,
      "extra": {
        "api_debug_info": null,

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

TikTok Video Comments (Web) API

Returns the comments on a single TikTok video, plus the total comment count and a cursor for the next page. It needs the video ID in aweme_id.

Use cases

  • Pull the top comments on a video to review audience reactions.
  • Rank comments by digg_count to find the most liked replies.
  • Export comment text and timestamps for sentiment or language analysis.
  • Page through all comments on a video and compare the total with the number collected.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/post-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7350810998023949599"}'

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

Parameters

NameTypeRequiredDescription
aweme_idstringYesVideo id
countintegerNoNumber per page
current_regionstringNoCurrent region, default is empty.
cursorintegerNoPage cursor

Example response

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

{
  "alias_comment_deleted": false,
  "comments": [
    {
      "allow_download_photo": false,
      "author_pin": false,
      "aweme_id": "7350810998023949599",
      "cid": "7350848249060934442",
      "collect_stat": 0,
      "comment_language": "en",
      "comment_post_item_ids": null,
      "content_type": 1,
      "create_time": 1711502748,
      "digg_count": 28938,
      "fold_status": -1,
      "image_list": null
    }
  ],
  "cookie": "tt_chain…",
  "cursor": 20,
  "extra": {
    "api_debug_info": null,
    "fatal_item_ids": null,
    "now": 1793691867000
  },
  "has_filtered_comments": 0,
  "has_more": 1,
  "log_pb": {
    "impr_id": "2026110307442781A45D1471276802F43E"
  },
  "reply_style": 2,
  "status_code": 0,
  "status_msg": "",
  "top_gifts": null
}

Response fields

FieldMeaning
totalTotal number of comments on the video.
comments[].textThe comment text.
comments[].cidID of the comment.
comments[].digg_countNumber of likes on the comment.
comments[].reply_comment_totalNumber of replies to the comment.
comments[].create_timeTime the comment was posted, as a Unix timestamp in seconds.
comments[].comment_languageLanguage code of the comment, such as en.
comments[].share_info.urlShare link that points to the video and this specific comment.
comments[].user.avatar_thumb.url_list[]Image URLs for the commenter's avatar thumbnail.
has_more / cursorhas_more is 1 when more comments exist. cursor is the position value returned for the current page.

Notes

  • Get the aweme_id from a video link with TikTok Video ID from URL, or for many links at once with TikTok Video IDs from URLs (Batch).
  • To page, send the returned cursor value (20 in the example) in the next request. Use count to set the page size.
  • Replies to a comment are not in the list. reply_comment_total gives their count, and top-level comments have reply_id set to "0".
  • current_region is optional and empty by default.

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
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.05 per panggilanJSON

Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok Video Comments (Web)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/web/post-comment 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 TikTok Video Comments (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 TikTok Video Comments (Web)?

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

Apa yang dikembalikan API TikTok Video Comments (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 TikTok?

Tidak. TikTok Video Comments (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 TikTok secara terpisah.