> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 视频评论

> 获取 TikTok 视频评论列表，包括评论文本、作者信息和点赞数。

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button type="button" className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50" onClick={() => navigator.clipboard.writeText("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/tiktok/video/comments\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/tiktok/video/comments\n\nDescription: TikTok 的「视频评论」接口用于查询评论内容、作者信息、互动指标和分页信息。常用必填参数包括 video_id。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- video_id (Required): 视频 ID. Example: 7560802497552567582\n- offset (Optional): 分页偏移量. Example: 0\n- count (Optional): 返回数量. Example: 20\n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"status_code\": 0,\n    \"comments\": [\n      {\n        \"cid\": \"7571269780301513502\",\n        \"text\": \"My anxiety\",\n        \"aweme_id\": \"7560802497552567582\",\n        \"create_time\": 1762823639,\n        \"digg_count\": 0,\n        \"status\": 1,\n        \"user\": {\n          \"uid\": \"7324932749109888042\",\n          \"short_id\": \"0\",\n          \"nickname\": \"Lynzee\",\n          \"signature\": \"\",\n          \"avatar_thumb\": {\n            \"uri\": \"tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8\",\n            \"url_list\": [\n              \"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=6bce6ce1&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=WXQYMW4dceSP9q%2BIknFFcH5jzNc%3D\",\n              \"https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=a4bd93fd&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=TNYkuNeuj1mAf%2F4YPh5UtLgtC7Y%3D\"\n            ],\n            \"width\": 720,\n            \"height\": 720,\n            \"url_prefix\": null\n          },\n          \"follow_status\": 0,\n          \"aweme_count\": 0,\n          \"following_count\": 0,\n          \"follower_count\": 0,\n          \"favoriting_count\": 0,\n          \"total_favorited\": 0,\n          \"is_block\": false,\n          \"hide_search\": false,\n          \"custom_verify\": \"\",\n          \"unique_id\": \"lynzee539\",\n          \"bind_phone\": \"\",\n          \"special_lock\": 1,\n          \"need_recommend\": 0,\n          \"has_facebook_token\": false,\n          \"has_twitter_token\": false,\n          \"fb_expire_time\": 0,\n          \"tw_expire_time\": 0,\n          \"has_youtube_token\": false,\n          \"youtube_expire_time\": 0,\n          \"room_id\": 0,\n          \"live_verify\": 0,\n          \"authority_status\": 0,\n          \"verify_info\": \"\",\n          \"shield_follow_notice\": 0,\n          \"shield_digg_notice\": 0,\n          \"shield_comment_notice\": 0,\n          \"with_commerce_entry\": false,\n          \"verification_type\": 1,\n          \"enterprise_verify_reason\": \"\",\n          \"is_ad_fake\": false,\n          \"followers_detail\": null,\n          \"region\": \"US\",\n          \"account_region\": \"\",\n          \"commerce_user_level\": 0,\n          \"live_agreement\": 0,\n          \"platform_sync_info\": null,\n          \"with_shop_entry\": false,\n          \"is_discipline_member\": false,\n          \"secret\": 0,\n          \"has_orders\": false,\n          \"prevent_download\": false,\n          \"show_image_bubble\": false,\n          \"geofencing\": null,\n          \"unique_id_modify_time\": 1762917047,\n          \"video_icon\": {\n            \"uri\": \"\",\n            \"url_list\": [],\n            \"width\": 720,\n            \"height\": 720,\n            \"url_prefix\": null\n          },\n          \"ins_id\": \"\",\n          \"google_account\": \"\",\n          \"youtube_channel_id\": \"\",\n          \"youtube_channel_title\": \"\",\n          \"apple_account\": 0,\n          \"is_phone_binded\": false,\n          \"accept_private_policy\": false,\n          \"twitter_id\": \"\",\n          \"twitter_name\": \"\",\n          \"user_canceled\": false,\n          \"has_email\": false,\n          \"status\": 1,\n          \"create_time\": 0,\n          \"avatar_uri\": \"tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8\",\n          \"follower_status\": 0,\n          \"comment_setting\": 0,\n          \"duet_setting\": 0,\n          \"user_rate\": 1,\n          \"download_setting\": 0,\n          \"download_prompt_ts\": 0,\n          \"react_setting\": 0,\n          \"live_commerce\": false,\n          \"cover_url\": [],\n          \"language\": \"en\",\n          \"has_insights\": false,\n          \"item_list\": null,\n          \"user_mode\": 1,\n          \"user_period\": 0,\n          \"is_star\": false,\n          \"cv_level\": \"\",\n          \"type_label\": null,\n          \"ad_cover_url\": null,\n          \"comment_filter_status\": 0,\n          \"relative_users\": null,\n          \"cha_list\": null,\n          \"sec_uid\": \"MS4wLjABAAAAudeAhq4so7UHKT1H6bS484pynD2Quy6zWMotOFXZiD-3_9CNXG9lhkpADy0SuAjB\",\n          \"need_points\": null,\n          \"homepage_bottom_toast\": null,\n          \"can_set_geofencing\": null,\n          \"white_cover_url\": null,\n          \"user_tags\": null,\n          \"stitch_setting\": 0,\n          \"bold_fields\": null,\n          \"search_highlight\": null,\n          \"mutual_relation_avatars\": null,\n          \"events\": null,\n          \"story_status\": 0,\n          \"predicted_age_group\": \"\",\n          \"advance_feature_item_order\": null,\n          \"mention_status\": 1,\n          \"special_account\": {\n            \"special_account_list\": null\n          },\n          \"advanced_feature_info\": null,\n          \"user_profile_guide\": null,\n          \"shield_edit_field_info\": null,\n          \"friends_status\": 0,\n          \"can_message_follow_status_list\": [\n            0,\n            1,\n            2,\n            4\n          ],\n          \"matched_friend_available\": false,\n          \"account_labels\": null,\n          \"user_now_pack_info\": {},\n          \"fake_data_info\": {},\n          \"is_mute\": 0,\n          \"reply_with_video_flag\": 4,\n          \"user_spark_info\": {},\n          \"is_mute_non_story_post\": 0,\n          \"is_mute_story\": 0,\n          \"is_mute_lives\": 0,\n          \"enabled_filter_all_comments\": false\n        },\n        \"reply_id\": \"0\",\n        \"user_digged\": 0,\n        \"reply_comment\": [\n          {\n            \"cid\": \"7571283919682585375\",\n            \"text\": \"Haha sorry about that. But atleast it works! ☺️\",\n            \"aweme_id\": \"7560802497552567582\",\n            \"create_time\": 1762826944,\n            \"digg_count\": 0,\n            \"status\": 1,\n            \"user\": {\n              \"uid\": \"7112623291400160298\",\n              \"short_id\": \"0\",\n              \"nickname\": \"Tiff’s Affordable Trends\",\n              \"signature\": \"Sharing Affordable Trends\\nAll Things Family\\nTiffany@covingtonconscious.com\",\n              \"avatar_thumb\": {\n                \"uri\": \"tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb\",\n                \"url_list\": [\n                  \"https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=9596f1b8&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=gyvdoKP8oyrcEPm9F1E0b8N037w%3D\",\n                  \"https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=ce812a18&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=ddB6EHk4HD9dBA4VatR5NUNO1MY%3D\"\n                ],\n                \"width\": 720,\n                \"height\": 720,\n                \"url_prefix\": null\n              },\n              \"follow_status\": 0,\n              \"aweme_count\": 0,\n              \"following_count\": 0,\n              \"follower_count\": 0,\n              \"favoriting_count\": 0,\n              \"total_favorited\": 0,\n              \"is_block\": false,\n              \"hide_search\": false,\n              \"custom_verify\": \"\",\n              \"unique_id\": \"tiff.picks\",\n              \"bind_phone\": \"\",\n              \"special_lock\": 1,\n              \"need_recommend\": 0,\n              \"has_facebook_token\": false,\n              \"has_twitter_token\": false,\n              \"fb_expire_time\": 0,\n              \"tw_expire_time\": 0,\n              \"has_youtube_token\": false,\n              \"youtube_expire_time\": 0,\n              \"room_id\": 0,\n              \"live_verify\": 0,\n              \"authority_status\": 0,\n              \"verify_info\": \"\",\n              \"shield_follow_notice\": 0,\n              \"shield_digg_notice\": 0,\n              \"shield_comment_notice\": 0,\n              \"with_commerce_entry\": false,\n              \"verification_type\": 1,\n              \"enterprise_verify_reason\": \"\",\n              \"is_ad_fake\": false,\n              \"followers_detail\": null,\n              \"region\": \"US\",\n              \"account_region\": \"\",\n              \"commerce_user_level\": 0,\n              \"live_agreement\": 0,\n              \"platform_sync_info\": null,\n              \"with_shop_entry\": false,\n              \"is_discipline_member\": false,\n              \"secret\": 0,\n              \"has_orders\": false,\n              \"prevent_download\": false,\n              \"show_image_bubble\": false,\n              \"geofencing\": null,\n              \"unique_id_modify_time\": 1762917047,\n              \"video_icon\": {\n                \"uri\": \"\",\n                \"url_list\": [],\n                \"width\": 720,\n                \"height\": 720,\n                \"url_prefix\": null\n              },\n              \"ins_id\": \"\",\n              \"google_account\": \"\",\n              \"youtube_channel_id\": \"UCt3r0IK7NUimQf1Itio3Svw\",\n              \"youtube_channel_title\": \"CovingtonCashConscious\",\n              \"apple_account\": 0,\n              \"is_phone_binded\": false,\n              \"accept_private_policy\": false,\n              \"twitter_id\": \"\",\n              \"twitter_name\": \"\",\n              \"user_canceled\": false,\n              \"has_email\": false,\n              \"status\": 1,\n              \"create_time\": 0,\n              \"avatar_uri\": \"tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb\",\n              \"follower_status\": 0,\n              \"comment_setting\": 0,\n              \"duet_setting\": 0,\n              \"user_rate\": 1,\n              \"download_setting\": 0,\n              \"download_prompt_ts\": 0,\n              \"react_setting\": 0,\n              \"live_commerce\": false,\n              \"cover_url\": [],\n              \"language\": \"en\",\n              \"has_insights\": false,\n              \"item_list\": null,\n              \"user_mode\": 1,\n              \"user_period\": 0,\n              \"is_star\": false,\n              \"cv_level\": \"\",\n              \"type_label\": null,\n              \"ad_cover_url\": null,\n              \"comment_filter_status\": 0,\n              \"relative_users\": null,\n              \"cha_list\": null,\n              \"sec_uid\": \"MS4wLjABAAAAT06XtyJeNgAI3FirhD4tZXjfBXUmJ2gUXJADvzFqKBJf9Ty0aRSHXx4YPVQyozxm\",\n              \"need_points\": null,\n              \"homepage_bottom_toast\": null,\n              \"can_set_geofencing\": null,\n              \"white_cover_url\": null,\n              \"user_tags\": null,\n              \"stitch_setting\": 0,\n              \"bold_fields\": null,\n              \"search_highlight\": null,\n              \"mutual_relation_avatars\": null,\n              \"events\": null,\n              \"story_status\": 0,\n              \"predicted_age_group\": \"4\",\n              \"advance_feature_item_order\": null,\n              \"mention_status\": 1,\n              \"special_account\": {\n                \"special_account_list\": null\n              },\n              \"advanced_feature_info\": null,\n              \"user_profile_guide\": null,\n              \"shield_edit_field_info\": null,\n              \"friends_status\": 0,\n              \"can_message_follow_status_list\": [\n                0,\n                1,\n                2,\n                4\n              ],\n              \"matched_friend_available\": false,\n              \"account_labels\": null,\n              \"user_now_pack_info\": {},\n              \"fake_data_info\": {},\n              \"is_mute\": 0,\n              \"reply_with_video_flag\": 4,\n              \"user_spark_info\": {},\n              \"is_mute_non_story_post\": 0,\n              \"is_mute_story\": 0,\n              \"is_mute_lives\": 0,\n              \"enabled_filter_all_comments\": false\n            },\n            \"reply_id\": \"7571269780301513502\",\n            \"user_digged\": 0,\n            \"reply_comment\": null,\n            \"text_extra\": [],\n            \"label_text\": \"Creator\",\n            \"label_type\": 1,\n            \"reply_to_reply_id\": \"0\",\n            \"is_author_digged\": false,\n            \"stick_position\": 0,\n            \"user_buried\": false,\n          \n... truncated ...\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/tiktok.zh.openapi.json GET /v1/tiktok/video/comments
openapi: 3.0.1
info:
  title: Tiktok API 中文文档
  description: Tiktok API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security: []
tags:
  - name: TikTok Influencer
  - name: TikTok Shop Creator
  - name: TikTok Shop
  - name: TikTok Content
  - name: TikTok Intelligence
paths:
  /v1/tiktok/video/comments:
    get:
      tags:
        - TikTok 内容
      summary: 视频评论
      description: 获取 TikTok 视频评论列表，包括评论文本、作者信息和点赞数。
      operationId: get_api_v3_realtime_video_comments
      parameters:
        - name: video_id
          in: query
          required: true
          schema:
            type: string
            example: '7560802497552567582'
            default: '7560802497552567582'
          example: '7560802497552567582'
          description: 视频唯一 ID。
        - name: offset
          in: query
          description: 当 has_more=1 时，使用 cursor 继续下一页。
          required: false
          schema:
            type: string
            example: '0'
            default: '0'
          example: '0'
        - name: count
          in: query
          required: false
          schema:
            type: string
            example: '20'
            default: '20'
          example: '20'
          description: 本次请求返回的数据条数。
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
                example:
                  code: 0
                  message: success
                  data:
                    status_code: 0
                    comments:
                      - cid: '7571269780301513502'
                        text: My anxiety
                        aweme_id: '7560802497552567582'
                        create_time: 1762823639
                        digg_count: 0
                        status: 1
                        user:
                          uid: '7324932749109888042'
                          short_id: '0'
                          nickname: Lynzee
                          signature: ''
                          avatar_thumb:
                            uri: >-
                              tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8
                            url_list:
                              - >-
                                https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=6bce6ce1&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=WXQYMW4dceSP9q%2BIknFFcH5jzNc%3D
                              - >-
                                https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=a4bd93fd&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=TNYkuNeuj1mAf%2F4YPh5UtLgtC7Y%3D
                            width: 720
                            height: 720
                            url_prefix: null
                          follow_status: 0
                          aweme_count: 0
                          following_count: 0
                          follower_count: 0
                          favoriting_count: 0
                          total_favorited: 0
                          is_block: false
                          hide_search: false
                          custom_verify: ''
                          unique_id: lynzee539
                          bind_phone: ''
                          special_lock: 1
                          need_recommend: 0
                          has_facebook_token: false
                          has_twitter_token: false
                          fb_expire_time: 0
                          tw_expire_time: 0
                          has_youtube_token: false
                          youtube_expire_time: 0
                          room_id: 0
                          live_verify: 0
                          authority_status: 0
                          verify_info: ''
                          shield_follow_notice: 0
                          shield_digg_notice: 0
                          shield_comment_notice: 0
                          with_commerce_entry: false
                          verification_type: 1
                          enterprise_verify_reason: ''
                          is_ad_fake: false
                          followers_detail: null
                          region: US
                          account_region: ''
                          commerce_user_level: 0
                          live_agreement: 0
                          platform_sync_info: null
                          with_shop_entry: false
                          is_discipline_member: false
                          secret: 0
                          has_orders: false
                          prevent_download: false
                          show_image_bubble: false
                          geofencing: null
                          unique_id_modify_time: 1762917047
                          video_icon:
                            uri: ''
                            url_list: []
                            width: 720
                            height: 720
                            url_prefix: null
                          ins_id: ''
                          google_account: ''
                          youtube_channel_id: ''
                          youtube_channel_title: ''
                          apple_account: 0
                          is_phone_binded: false
                          accept_private_policy: false
                          twitter_id: ''
                          twitter_name: ''
                          user_canceled: false
                          has_email: false
                          status: 1
                          create_time: 0
                          avatar_uri: tos-maliva-avt-0068/9106a043d067becb5bb74ebb30a35cc8
                          follower_status: 0
                          comment_setting: 0
                          duet_setting: 0
                          user_rate: 1
                          download_setting: 0
                          download_prompt_ts: 0
                          react_setting: 0
                          live_commerce: false
                          cover_url: []
                          language: en
                          has_insights: false
                          item_list: null
                          user_mode: 1
                          user_period: 0
                          is_star: false
                          cv_level: ''
                          type_label: null
                          ad_cover_url: null
                          comment_filter_status: 0
                          relative_users: null
                          cha_list: null
                          sec_uid: >-
                            MS4wLjABAAAAudeAhq4so7UHKT1H6bS484pynD2Quy6zWMotOFXZiD-3_9CNXG9lhkpADy0SuAjB
                          need_points: null
                          homepage_bottom_toast: null
                          can_set_geofencing: null
                          white_cover_url: null
                          user_tags: null
                          stitch_setting: 0
                          bold_fields: null
                          search_highlight: null
                          mutual_relation_avatars: null
                          events: null
                          story_status: 0
                          predicted_age_group: ''
                          advance_feature_item_order: null
                          mention_status: 1
                          special_account:
                            special_account_list: null
                          advanced_feature_info: null
                          user_profile_guide: null
                          shield_edit_field_info: null
                          friends_status: 0
                          can_message_follow_status_list:
                            - 0
                            - 1
                            - 2
                            - 4
                          matched_friend_available: false
                          account_labels: null
                          user_now_pack_info: {}
                          fake_data_info: {}
                          is_mute: 0
                          reply_with_video_flag: 4
                          user_spark_info: {}
                          is_mute_non_story_post: 0
                          is_mute_story: 0
                          is_mute_lives: 0
                          enabled_filter_all_comments: false
                        reply_id: '0'
                        user_digged: 0
                        reply_comment:
                          - cid: '7571283919682585375'
                            text: Haha sorry about that. But atleast it works! ☺️
                            aweme_id: '7560802497552567582'
                            create_time: 1762826944
                            digg_count: 0
                            status: 1
                            user:
                              uid: '7112623291400160298'
                              short_id: '0'
                              nickname: Tiff’s Affordable Trends
                              signature: |-
                                Sharing Affordable Trends
                                All Things Family
                                Tiffany@covingtonconscious.com
                              avatar_thumb:
                                uri: >-
                                  tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb
                                url_list:
                                  - >-
                                    https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=9596f1b8&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=gyvdoKP8oyrcEPm9F1E0b8N037w%3D
                                  - >-
                                    https://p77-sign-va.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=ce812a18&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=ddB6EHk4HD9dBA4VatR5NUNO1MY%3D
                                width: 720
                                height: 720
                                url_prefix: null
                              follow_status: 0
                              aweme_count: 0
                              following_count: 0
                              follower_count: 0
                              favoriting_count: 0
                              total_favorited: 0
                              is_block: false
                              hide_search: false
                              custom_verify: ''
                              unique_id: tiff.picks
                              bind_phone: ''
                              special_lock: 1
                              need_recommend: 0
                              has_facebook_token: false
                              has_twitter_token: false
                              fb_expire_time: 0
                              tw_expire_time: 0
                              has_youtube_token: false
                              youtube_expire_time: 0
                              room_id: 0
                              live_verify: 0
                              authority_status: 0
                              verify_info: ''
                              shield_follow_notice: 0
                              shield_digg_notice: 0
                              shield_comment_notice: 0
                              with_commerce_entry: false
                              verification_type: 1
                              enterprise_verify_reason: ''
                              is_ad_fake: false
                              followers_detail: null
                              region: US
                              account_region: ''
                              commerce_user_level: 0
                              live_agreement: 0
                              platform_sync_info: null
                              with_shop_entry: false
                              is_discipline_member: false
                              secret: 0
                              has_orders: false
                              prevent_download: false
                              show_image_bubble: false
                              geofencing: null
                              unique_id_modify_time: 1762917047
                              video_icon:
                                uri: ''
                                url_list: []
                                width: 720
                                height: 720
                                url_prefix: null
                              ins_id: ''
                              google_account: ''
                              youtube_channel_id: UCt3r0IK7NUimQf1Itio3Svw
                              youtube_channel_title: CovingtonCashConscious
                              apple_account: 0
                              is_phone_binded: false
                              accept_private_policy: false
                              twitter_id: ''
                              twitter_name: ''
                              user_canceled: false
                              has_email: false
                              status: 1
                              create_time: 0
                              avatar_uri: >-
                                tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb
                              follower_status: 0
                              comment_setting: 0
                              duet_setting: 0
                              user_rate: 1
                              download_setting: 0
                              download_prompt_ts: 0
                              react_setting: 0
                              live_commerce: false
                              cover_url: []
                              language: en
                              has_insights: false
                              item_list: null
                              user_mode: 1
                              user_period: 0
                              is_star: false
                              cv_level: ''
                              type_label: null
                              ad_cover_url: null
                              comment_filter_status: 0
                              relative_users: null
                              cha_list: null
                              sec_uid: >-
                                MS4wLjABAAAAT06XtyJeNgAI3FirhD4tZXjfBXUmJ2gUXJADvzFqKBJf9Ty0aRSHXx4YPVQyozxm
                              need_points: null
                              homepage_bottom_toast: null
                              can_set_geofencing: null
                              white_cover_url: null
                              user_tags: null
                              stitch_setting: 0
                              bold_fields: null
                              search_highlight: null
                              mutual_relation_avatars: null
                              events: null
                              story_status: 0
                              predicted_age_group: '4'
                              advance_feature_item_order: null
                              mention_status: 1
                              special_account:
                                special_account_list: null
                              advanced_feature_info: null
                              user_profile_guide: null
                              shield_edit_field_info: null
                              friends_status: 0
                              can_message_follow_status_list:
                                - 0
                                - 1
                                - 2
                                - 4
                              matched_friend_available: false
                              account_labels: null
                              user_now_pack_info: {}
                              fake_data_info: {}
                              is_mute: 0
                              reply_with_video_flag: 4
                              user_spark_info: {}
                              is_mute_non_story_post: 0
                              is_mute_story: 0
                              is_mute_lives: 0
                              enabled_filter_all_comments: false
                            reply_id: '7571269780301513502'
                            user_digged: 0
                            reply_comment: null
                            text_extra: []
                            label_text: Creator
                            label_type: 1
                            reply_to_reply_id: '0'
                            is_author_digged: false
                            stick_position: 0
                            user_buried: false
                            label_list:
                              - type: 1
                                text: Creator
                            author_pin: false
                            no_show: false
                            collect_stat: 0
                            trans_btn_style: 1
                            share_info:
                              acl:
                                code: 0
                                extra: '{}'
                              need_confirm: true
                              desc_tpl: 'Commento di '
                            comment_language: en
                            image_list: null
                            comment_post_item_ids: null
                            forbid_reply_with_video: false
                            is_comment_translatable: true
                            is_high_purchase_intent: false
                            allow_download_photo: true
                        text_extra: []
                        reply_comment_total: 1
                        reply_to_reply_id: '0'
                        is_author_digged: false
                        stick_position: 0
                        user_buried: false
                        label_list: null
                        author_pin: false
                        no_show: false
                        collect_stat: 0
                        trans_btn_style: 1
                        share_info:
                          acl:
                            code: 0
                            extra: '{}'
                          need_confirm: true
                          desc_tpl: 'Commento di '
                        comment_language: en
                        image_list: null
                        comment_post_item_ids: null
                        forbid_reply_with_video: false
                        is_comment_translatable: true
                        sort_extra_score:
                          reply_score: 0.000104
                          show_more_score: 0.000274
                        sort_tags: '{"author_reply":1,"top_list":1}'
                        is_high_purchase_intent: false
                        allow_download_photo: true
                    cursor: 1
                    has_more: 1
                    reply_style: 2
                    total: 7102
                    extra:
                      now: 1762917047000
                      fatal_item_ids: null
                      api_debug_info: null
                    log_pb:
                      impr_id: 202511120310475A0766D788E9F89C583A
                    top_gifts: null
                    has_filtered_comments: 0
                    alias_comment_deleted: false
                    status_msg: ''
                  requestId: aac551b2-7a94-4cef-aa23-a6463c64643a
        '400':
          description: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/tiktok/video/comments?video_id=7560802497552567582&offset=0&count=20' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/tiktok/video/comments',
                params={"video_id": "7560802497552567582", "offset": "0", "count": "20"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"video_id":
            "7560802497552567582", "offset": "0", "count": "20"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/tiktok/video/comments?${params}`, {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````