YouTube Get Video Comment Replies

2.07 credits/call
ae_youtube_get_video_comment_replies

## Get YouTube comment replies Retrieve one page of replies (second-level comments) to a top-level video comment. ### Inputs - **continuation_token** (required string): For the first page, use `reply_continuation_token` from the relevant top-level comment in a video comments response. For later pages, use the `continuation_token` returned with the replies. A video URL or comment ID alone is not the required input. - **language_code** (optional string; default `"zh-CN"`): Language preference, such as `"zh-CN"` or `"en-US"`. - **country_code** (optional string; default `"US"`): Region code, such as `"US"` or `"JP"`. - **need_format** (optional boolean; default `true`): Return cleaned, simplified data when `true`, or raw data when `false`. ### Results and pagination Returns reply data for the requested page. Formatted reply records include the comment ID, text, publication time, like and reply counts, and author details such as channel identity and creator or verification flags. In formatted records, `reply_level: 1` denotes a reply to a top-level comment; `is_creator` indicates whether the author is the video creator. When more replies are available, the returned `continuation_token` can be passed into another call to fetch the next page. One call does not necessarily return every reply. This is a direct data retrieval operation; the token is for pagination, not task polling.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Each call retrieves one page of replies to a top-level comment. Fetching another page requires another call, which is charged separately.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
need_formatbooleanNo是否需要清洗数据,提取关键内容,移除冗余数据/Whether to clean and format the datatrue
country_codestringNo国家代码(如US, JP等)/Country codeUS
language_codestringNo语言代码(如zh-CN, en-US等)/Language codezh-CN
continuation_tokenstringYes回复的continuation token(从一级评论的reply_continuation_token字段获取)/Reply continuation token from first-level comment—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_youtube_get_video_comment_replies' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "continuation_token": "Eg0SC0x1SUw1SkFUWnNjGAYygwEaUBIaVWd6WGtSVVc0c2ZLZzhSTGlFWjRBYUFCQWciAggAKhhVQ2V1NlU2N096SmhWMUt3QmFuc0gzRGcyC0x1SUw1SkFUWnNjQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pYa1JVVzRzZktnOFJMaUVaNEFhQUJBZw%3D%3D"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "comments": [
      {
        "author": {
          "avatar_url": "https://yt3.ggpht.com/-jC2idTf2u9Eggibg5qDW0wV7ZPfnnOH9J746sn8D9hL0KyhcqqdAjhCRZB5P07WD9SgizoDWA=s88-c-k-c0x00ffffff-no-rj",
          "channel_id": "UCPo1j3xp0oTc7UC3huouX4g",
          "channel_url": "https://www.youtube.com/@Moni_1532",
          "display_name": "@Moni_1532",
          "is_artist": false,
          "is_creator": false
        },
        "comment_id": "UgzXkRUW4sfKg8RLiEZ4AaABAg.A01zuI_075_A0y2Dq4l6l8",
        "content": "Thank you for making this comment to appreciate the art and work they've put! It's amazing to know that everyone agrees of how beautiful and calming it all is, it's all in art.",
        "like_count": "7",
        "like_count_a11y": "7 次赞",
        "published_time": "2年前"
      }
    ]
  },
  "docs": "https://api.tikhub.io/#/YouTube-Web-V2-API/get_video_comment_replies_api_v1_youtube_web_v2_get_video_comment_replies_get",
  "message": "Request successful. This request will incur a charge."
}

This example shows part of the response. Copied content is valid JSON.