Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

YouTube Video Comment Replies

API 문서
https://api.sandbase.ai/v1/api/youtube/web-v2/video-comment-replies

Returns second-level replies for a YouTube video comment using a continuation token, with optional filters for region, language, and formatted output.

가격
$0.001USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 3개

Playground

입력
**Purpose**: Reply continuation token from first-level comment
**Purpose**: Region code
**Purpose**: Language preference for comments
**Purpose**: Whether to return cleaned simplified data
출력예시
응답outputs · 64 B · 7줄
[
  {
    "data": {
      "continuation_token": null
    }
  }
]

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

YouTube Video Comment Replies API

Returns the second-level replies to one YouTube video comment. You pass the continuation_token of that comment, and each reply comes with its text, author details, like count, and age.

Use cases

  • Show the full reply thread under a popular comment on a video.
  • Collect reply text and author channels to study how viewers respond to a specific comment.
  • Find the channel IDs of users who reply, so you can look up their channels.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/web-v2/video-comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6S1lrc3FlUTVnQTN0MGcwRjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pLWWtzcWVRNWdBM3QwZzBGNEFhQUJBZw%3D%3D"}'

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

Parameters

NameTypeRequiredDescription
continuation_tokenstringYesPurpose: Reply continuation token from first-level comment
country_codestringNoPurpose: Region code
language_codestringNoPurpose: Language preference for comments
need_formatbooleanNoPurpose: Whether to return cleaned simplified data

Example response

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

{
  "comments": [
    {
      "author": {
        "avatar_thumbnails": null,
        "avatar_url": "https://yt3.ggpht.com/1glim4K6lUrgwfThCmliOU7tTxWQ6Tnl2VSEZKFQNxn5braBtYx8bcljKc…",
        "channel_id": "UCWU69Qbi3A6Bzx4xU-UeK7g",
        "channel_url": "https://www.youtube.com/@egdog_tm",
        "display_name": "@egdog_tm",
        "is_artist": false,
        "is_creator": false,
        "is_verified": false
      },
      "comment_id": "UgzKYksqeQ5gA3t0g0F4AaABAg.91a9XW7osVT952pvnnAzll",
      "content": "The biggest comrade ever",
      "creator_thumbnail_url": null,
      "like_count": "6993",
      "like_count_a11y": "6993 次赞",
      "published_time": "6年前",
      "reply_count": "0",
      "reply_count_a11y": "2 条回复",
      "reply_level": 1
    }
  ],
  "continuation_token": null
}

Response fields

FieldMeaning
comments[]List of replies to the comment. Each item is one reply.
comments[].comment_idID of the reply. It starts with the ID of the parent comment, followed by a dot and a reply suffix.
comments[].contentText of the reply.
comments[].like_countNumber of likes on the reply. The value is a string.
comments[].published_timeAge of the reply as shown on YouTube, for example 6年前. It is localized text, not a timestamp.
comments[].reply_levelDepth of the reply in the thread. Replies in this response have the value 1.
comments[].author.display_name / comments[].author.channel_urlHandle and channel page URL of the reply author.
comments[].author.channel_idYouTube channel ID of the reply author.
comments[].author.is_verified / comments[].author.is_creator / comments[].author.is_artistFlags that show whether the author is verified, is the video creator, or is an artist.
continuation_tokenToken for the next page of replies. The value is null when there are no more pages.

Notes

  • Take the continuation_token from a first-level comment. Get those comments from YouTube Video Comments.
  • To get the next page, send the returned top-level continuation_token as the new continuation_token request value. A null value means the last page.
  • reply_count is 0 on every reply here, so read the number of nested replies from reply_count_a11y, which is a localized text string.
  • country_code and language_code are optional. Set language_code to choose the language of the text YouTube returns, such as published_time and the _a11y fields.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
YouTube$0.001 / 호출JSON
YouTube$0.001 / 호출JSON
YouTube$0.001 / 호출JSON
YouTube$0.001 / 호출JSON
YouTube$0.001 / 호출JSON
YouTube$0.001 / 호출JSON

가이드:Best YouTube API in 2026: Pricing Compared

질문

FAQ

YouTube Video Comment Replies API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/youtube/web-v2/video-comment-replies에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

YouTube Video Comment Replies API 비용은 얼마인가요?

호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

YouTube Video Comment Replies API는 어떤 매개변수를 받나요?

필수: continuation_token (string). 선택: country_code (string), language_code (string) 및 need_format (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

YouTube Video Comment Replies API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

YouTube 개발자 계정이나 API 키가 필요한가요?

아니요. YouTube Video Comment Replies은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. YouTube API 액세스를 별도로 신청할 필요는 없습니다.