YouTube Get Post Comment Replies

2.07 credits/call
ae_youtube_get_post_comment_replies

Retrieve a page of replies to a YouTube post comment (second-level comments). Inputs: - continuation_token (required string): For the first page, use the comment's reply_continuation_token from a post-comments result. For subsequent pages, use the continuation_token returned by the previous replies result. - language_code (optional string): Language code; defaults to "zh-CN". - country_code (optional string): Country code; defaults to "US". - need_format (optional boolean): Whether to clean and format the data by extracting key content and removing redundant data; defaults to true. Returns: With need_format=true, the result data includes a comments list with comment_id, content, published_time, like_count, and author information. A continuation_token is provided when more replies are available. Set need_format=false to disable cleaning and formatting; the formatted field layout described here applies to need_format=true. Retrieve top-level post comments first to obtain the initial reply token. Each call retrieves a page, not necessarily the entire reply thread. Continue with the returned continuation_token while further pages are available.

Social
2.07 credits/call

Pricing

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

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

Each call returns one page of replies and may not include the entire reply thread. If a continuation token is returned, fetching each subsequent page requires another separately charged call.

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 post comment—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

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_post_comment_replies' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "continuation_token": "xxx"
  }
}'

No response example available yet.