> ## 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/replies\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/tiktok/video/comments/replies\n\nDescription: TikTok 的「视频评论回复」接口用于查询评论内容、作者信息、互动指标和分页信息。常用必填参数包括 video_id、comment_id。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- video_id (Required): 视频 ID. Example: 7560802497552567582\n- comment_id (Required): comment_id 标识符. Example: 7571269780301513502\n- offset (Optional): 分页偏移量. Example: 0\n\nExample Response:\n{\n  \"message\": \"success\",\n  \"code\": 0,\n  \"data\": {\n    \"comments\": [\n      {\n        \"aweme_id\": \"7560802497552567582\",\n        \"cid\": \"7571283919682585375\",\n        \"collect_stat\": 0,\n        \"comment_language\": \"en\",\n        \"comment_post_item_ids\": null,\n        \"create_time\": 1762826944,\n        \"digg_count\": 0,\n        \"forbid_reply_with_video\": false,\n        \"image_list\": null,\n        \"is_author_digged\": false,\n        \"is_comment_translatable\": true,\n        \"is_high_purchase_intent\": false,\n        \"label_list\": [\n          {\n            \"text\": \"Creator\",\n            \"type\": 1\n          }\n        ],\n        \"label_text\": \"Creator\",\n        \"label_type\": 1,\n        \"no_show\": false,\n        \"reply_comment\": null,\n        \"reply_id\": \"7571269780301513502\",\n        \"reply_to_reply_id\": \"0\",\n        \"share_info\": {\n          \"acl\": {\n            \"code\": 0,\n            \"extra\": \"{}\"\n          },\n          \"desc_tpl\": \"'s comment\",\n          \"need_confirm\": true\n        },\n        \"status\": 1,\n        \"stick_position\": 0,\n        \"text\": \"Haha sorry about that. But atleast it works! ☺️\",\n        \"text_extra\": [],\n        \"trans_btn_style\": 0,\n        \"user\": {\n          \"accept_private_policy\": false,\n          \"account_labels\": null,\n          \"account_region\": \"\",\n          \"ad_cover_url\": null,\n          \"advance_feature_item_order\": null,\n          \"advanced_feature_info\": null,\n          \"apple_account\": 0,\n          \"authority_status\": 0,\n          \"avatar_thumb\": {\n            \"height\": 720,\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-lite.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=3067ba5f&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=PVjtXyxGQ%2B07nrL9FAoEr53kzKM%3D\"\n            ],\n            \"url_prefix\": null,\n            \"width\": 720\n          },\n          \"avatar_uri\": \"tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb\",\n          \"aweme_count\": 0,\n          \"bind_phone\": \"\",\n          \"bold_fields\": null,\n          \"can_message_follow_status_list\": [\n            0,\n            1,\n            2,\n            4\n          ],\n          \"can_set_geofencing\": null,\n          \"cha_list\": null,\n          \"comment_filter_status\": 0,\n          \"comment_setting\": 0,\n          \"commerce_user_level\": 0,\n          \"cover_url\": [],\n          \"create_time\": 0,\n          \"custom_verify\": \"\",\n          \"cv_level\": \"\",\n          \"download_prompt_ts\": 0,\n          \"download_setting\": 0,\n          \"duet_setting\": 0,\n          \"enabled_filter_all_comments\": false,\n          \"enterprise_verify_reason\": \"\",\n          \"events\": null,\n          \"fake_data_info\": {},\n          \"favoriting_count\": 0,\n          \"fb_expire_time\": 0,\n          \"follow_status\": 0,\n          \"follower_count\": 0,\n          \"follower_status\": 0,\n          \"followers_detail\": null,\n          \"following_count\": 0,\n          \"friends_status\": 0,\n          \"geofencing\": null,\n          \"google_account\": \"\",\n          \"has_email\": false,\n          \"has_facebook_token\": false,\n          \"has_insights\": false,\n          \"has_orders\": false,\n          \"has_twitter_token\": false,\n          \"has_youtube_token\": false,\n          \"hide_search\": false,\n          \"homepage_bottom_toast\": null,\n          \"ins_id\": \"\",\n          \"is_ad_fake\": false,\n          \"is_block\": false,\n          \"is_discipline_member\": false,\n          \"is_mute\": 0,\n          \"is_mute_lives\": 0,\n          \"is_mute_non_story_post\": 0,\n          \"is_mute_story\": 0,\n          \"is_phone_binded\": false,\n          \"is_star\": false,\n          \"item_list\": null,\n          \"language\": \"en\",\n          \"live_agreement\": 0,\n          \"live_commerce\": false,\n          \"live_verify\": 0,\n          \"matched_friend_available\": false,\n          \"mention_status\": 1,\n          \"mutual_relation_avatars\": null,\n          \"need_points\": null,\n          \"need_recommend\": 0,\n          \"nickname\": \"Tiff’s Affordable Trends\",\n          \"platform_sync_info\": null,\n          \"predicted_age_group\": \"4\",\n          \"prevent_download\": false,\n          \"react_setting\": 0,\n          \"region\": \"US\",\n          \"relative_users\": null,\n          \"reply_with_video_flag\": 4,\n          \"room_id\": 0,\n          \"search_highlight\": null,\n          \"sec_uid\": \"MS4wLjABAAAAT06XtyJeNgAI3FirhD4tZXjfBXUmJ2gUXJADvzFqKBJf9Ty0aRSHXx4YPVQyozxm\",\n          \"secret\": 0,\n          \"shield_comment_notice\": 0,\n          \"shield_digg_notice\": 0,\n          \"shield_edit_field_info\": null,\n          \"shield_follow_notice\": 0,\n          \"short_id\": \"0\",\n          \"show_image_bubble\": false,\n          \"signature\": \"Sharing Affordable Trends\\nAll Things Family\\nTiffany@covingtonconscious.com\",\n          \"special_account\": {\n            \"special_account_list\": null\n          },\n          \"special_lock\": 1,\n          \"status\": 1,\n          \"stitch_setting\": 0,\n          \"story_status\": 0,\n          \"total_favorited\": 0,\n          \"tw_expire_time\": 0,\n          \"twitter_id\": \"\",\n          \"twitter_name\": \"\",\n          \"type_label\": null,\n          \"uid\": \"7112623291400160298\",\n          \"unique_id\": \"tiff.picks\",\n          \"unique_id_modify_time\": 1762917121,\n          \"user_canceled\": false,\n          \"user_mode\": 1,\n          \"user_now_pack_info\": {},\n          \"user_period\": 0,\n          \"user_profile_guide\": null,\n          \"user_rate\": 1,\n          \"user_spark_info\": {},\n          \"user_tags\": null,\n          \"verification_type\": 1,\n          \"verify_info\": \"\",\n          \"video_icon\": {\n            \"height\": 720,\n            \"uri\": \"\",\n            \"url_list\": [],\n            \"url_prefix\": null,\n            \"width\": 720\n          },\n          \"white_cover_url\": null,\n          \"with_commerce_entry\": false,\n          \"with_shop_entry\": false,\n          \"youtube_channel_id\": \"UCt3r0IK7NUimQf1Itio3Svw\",\n          \"youtube_channel_title\": \"CovingtonCashConscious\",\n          \"youtube_expire_time\": 0\n        },\n        \"user_buried\": false,\n        \"user_digged\": 0\n      }\n    ],\n    \"cursor\": 1,\n    \"extra\": {\n      \"fatal_item_ids\": [],\n      \"logid\": \"202511120312006972EAD4318EBA983A3F\",\n      \"now\": 1762917121000\n    },\n    \"has_more\": 0,\n    \"log_pb\": {\n      \"impr_id\": \"202511120312006972EAD4318EBA983A3F\"\n    },\n    \"status_code\": 0,\n    \"status_msg\": \"\",\n    \"total\": 1\n  },\n  \"requestId\": \"185498ca-9ba3-45fd-a644-38289845c29c\"\n}\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/tiktok.zh.openapi.json GET /v1/tiktok/video/comments/replies
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/replies:
    get:
      tags:
        - TikTok 内容
      summary: 视频评论回复
      description: 获取 TikTok 视频指定评论下的回复线程。
      operationId: get_api_v3_realtime_video_comments_replies
      parameters:
        - name: video_id
          in: query
          required: true
          schema:
            type: string
            example: '7560802497552567582'
            default: '7560802497552567582'
          example: '7560802497552567582'
          description: 视频唯一 ID。
        - name: comment_id
          in: query
          required: true
          schema:
            type: string
            example: '7571269780301513502'
            default: '7571269780301513502'
          example: '7571269780301513502'
          description: 评论 ID，用于定位指定评论或获取其回复。
        - name: offset
          in: query
          description: 当 has_more=1 时，使用 cursor 继续下一页。
          required: false
          schema:
            type: string
            example: '0'
            default: '0'
          example: '0'
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
                example:
                  message: success
                  code: 0
                  data:
                    comments:
                      - aweme_id: '7560802497552567582'
                        cid: '7571283919682585375'
                        collect_stat: 0
                        comment_language: en
                        comment_post_item_ids: null
                        create_time: 1762826944
                        digg_count: 0
                        forbid_reply_with_video: false
                        image_list: null
                        is_author_digged: false
                        is_comment_translatable: true
                        is_high_purchase_intent: false
                        label_list:
                          - text: Creator
                            type: 1
                        label_text: Creator
                        label_type: 1
                        no_show: false
                        reply_comment: null
                        reply_id: '7571269780301513502'
                        reply_to_reply_id: '0'
                        share_info:
                          acl:
                            code: 0
                            extra: '{}'
                          desc_tpl: '''s comment'
                          need_confirm: true
                        status: 1
                        stick_position: 0
                        text: Haha sorry about that. But atleast it works! ☺️
                        text_extra: []
                        trans_btn_style: 0
                        user:
                          accept_private_policy: false
                          account_labels: null
                          account_region: ''
                          ad_cover_url: null
                          advance_feature_item_order: null
                          advanced_feature_info: null
                          apple_account: 0
                          authority_status: 0
                          avatar_thumb:
                            height: 720
                            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-lite.tiktokcdn.com/tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb~tplv-tiktokx-cropcenter-q:100:100:q70.heic?dr=9606&idc=no1a&ps=87d6e48a&refresh_token=3067ba5f&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1763002800&x-signature=PVjtXyxGQ%2B07nrL9FAoEr53kzKM%3D
                            url_prefix: null
                            width: 720
                          avatar_uri: tos-maliva-avt-0068/542004caaec33b2c4bdbc6b672dcbeeb
                          aweme_count: 0
                          bind_phone: ''
                          bold_fields: null
                          can_message_follow_status_list:
                            - 0
                            - 1
                            - 2
                            - 4
                          can_set_geofencing: null
                          cha_list: null
                          comment_filter_status: 0
                          comment_setting: 0
                          commerce_user_level: 0
                          cover_url: []
                          create_time: 0
                          custom_verify: ''
                          cv_level: ''
                          download_prompt_ts: 0
                          download_setting: 0
                          duet_setting: 0
                          enabled_filter_all_comments: false
                          enterprise_verify_reason: ''
                          events: null
                          fake_data_info: {}
                          favoriting_count: 0
                          fb_expire_time: 0
                          follow_status: 0
                          follower_count: 0
                          follower_status: 0
                          followers_detail: null
                          following_count: 0
                          friends_status: 0
                          geofencing: null
                          google_account: ''
                          has_email: false
                          has_facebook_token: false
                          has_insights: false
                          has_orders: false
                          has_twitter_token: false
                          has_youtube_token: false
                          hide_search: false
                          homepage_bottom_toast: null
                          ins_id: ''
                          is_ad_fake: false
                          is_block: false
                          is_discipline_member: false
                          is_mute: 0
                          is_mute_lives: 0
                          is_mute_non_story_post: 0
                          is_mute_story: 0
                          is_phone_binded: false
                          is_star: false
                          item_list: null
                          language: en
                          live_agreement: 0
                          live_commerce: false
                          live_verify: 0
                          matched_friend_available: false
                          mention_status: 1
                          mutual_relation_avatars: null
                          need_points: null
                          need_recommend: 0
                          nickname: Tiff’s Affordable Trends
                          platform_sync_info: null
                          predicted_age_group: '4'
                          prevent_download: false
                          react_setting: 0
                          region: US
                          relative_users: null
                          reply_with_video_flag: 4
                          room_id: 0
                          search_highlight: null
                          sec_uid: >-
                            MS4wLjABAAAAT06XtyJeNgAI3FirhD4tZXjfBXUmJ2gUXJADvzFqKBJf9Ty0aRSHXx4YPVQyozxm
                          secret: 0
                          shield_comment_notice: 0
                          shield_digg_notice: 0
                          shield_edit_field_info: null
                          shield_follow_notice: 0
                          short_id: '0'
                          show_image_bubble: false
                          signature: |-
                            Sharing Affordable Trends
                            All Things Family
                            Tiffany@covingtonconscious.com
                          special_account:
                            special_account_list: null
                          special_lock: 1
                          status: 1
                          stitch_setting: 0
                          story_status: 0
                          total_favorited: 0
                          tw_expire_time: 0
                          twitter_id: ''
                          twitter_name: ''
                          type_label: null
                          uid: '7112623291400160298'
                          unique_id: tiff.picks
                          unique_id_modify_time: 1762917121
                          user_canceled: false
                          user_mode: 1
                          user_now_pack_info: {}
                          user_period: 0
                          user_profile_guide: null
                          user_rate: 1
                          user_spark_info: {}
                          user_tags: null
                          verification_type: 1
                          verify_info: ''
                          video_icon:
                            height: 720
                            uri: ''
                            url_list: []
                            url_prefix: null
                            width: 720
                          white_cover_url: null
                          with_commerce_entry: false
                          with_shop_entry: false
                          youtube_channel_id: UCt3r0IK7NUimQf1Itio3Svw
                          youtube_channel_title: CovingtonCashConscious
                          youtube_expire_time: 0
                        user_buried: false
                        user_digged: 0
                    cursor: 1
                    extra:
                      fatal_item_ids: []
                      logid: 202511120312006972EAD4318EBA983A3F
                      now: 1762917121000
                    has_more: 0
                    log_pb:
                      impr_id: 202511120312006972EAD4318EBA983A3F
                    status_code: 0
                    status_msg: ''
                    total: 1
                  requestId: 185498ca-9ba3-45fd-a644-38289845c29c
        '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/replies?video_id=7560802497552567582&comment_id=7571269780301513502&offset=0' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

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


            const response = await
            fetch(`https://api.keyapi.ai/v1/tiktok/video/comments/replies?${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。

````