Platforms · YouTube

YouTube Video Comment Replies Scraper API

Fetches replies to a specific comment on a YouTube video. Each reply includes text content, author details, like count, and publish date. YouTube's comment model is two levels deep: a top-level comment and one flat list of replies. There is no reply-to-a-reply thread, so reply objects carry no continuation token of their own.

GET /api/v1/data/youtube/video-comment-replies · 1 credit per page · The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.

Inputs

  • continuationToken (required): Where to start. Three values work: a top-level comment id (e.g. A token that is none of these is rejected.
  • format: Text format for reply bodies: 'html' (default) or 'plainText'.
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many comments this answer holds.
  • comments[].id (string): The item's ID on the platform.
  • comments[].url (string): Link to it on the platform.
  • comments[].post_id (string): The post the comment is on.
  • comments[].parent_id (string): The comment it answers, or null for a comment on the post itself.
  • comments[].text (string): Its text.
  • comments[].published_at (string): When it was published (ISO 8601).
  • comments[].language (string): Its language code.
  • comments[].deleted (boolean): Whether it was deleted.
  • comments[].author_username (string): The author's username.
  • comments[].author_name (string): The author's display name.
  • comments[].author_profile_url (string): Link to the author's profile.
  • comments[].author_verified (boolean): Whether the author is verified.
  • comments[].author_avatar_url (string): The author's picture.
  • comments[].like_count (number): Likes.
  • comments[].reply_count (number): Replies to it.
  • comments[].sentiment (object): Its sentiment: polarity, score and confidence.
  • comments[].platform (string): The platform's name.
  • comments[].source_data (object): Everything the platform sent for this row, as it came.
  • comments[].source_data.comment.author.avatar_url (string): URL to comment author profile picture
  • comments[].source_data.comment.author.display_name (string): Comment author display name
  • comments[].source_data.comment.author.username (string): Comment author username (null when tombstoned)
  • comments[].source_data.comment.author.verified (boolean): Whether the comment author is verified
  • comments[].source_data.comment.engagement.likes (number): Like / upvote count
  • comments[].source_data.comment.engagement.replies (number): Reply / child-comment count.
  • comments[].source_data.comment.ext.author_channel_id (string): The commenter's YouTube channel id.
  • comments[].source_data.comment.ext.author_url (string): URL of the commenter's channel page.
  • comments[].source_data.comment.ext.text_original (string): The comment body without HTML escaping. YouTube only.
  • comments[].source_data.comment.ext.updated_at (string): When the comment was last edited, as an ISO 8601 time. YouTube only.
  • comments[].source_data.comment.ext.viewer_rating (string): Whether the requesting viewer liked the comment: like or none. YouTube only.
  • comments[].source_data.comment.flags.deleted (boolean): Whether the comment is tombstoned (always present, even when false)
  • comments[].source_data.comment.flags.pinned (boolean): Pinned flag (null when platform does not surface)
  • comments[].source_data.comment.id (string): Platform-specific comment ID (always a string)
  • comments[].source_data.comment.parent_id (string): Parent comment ID for nested replies, or null for top-level comments
  • comments[].source_data.comment.post_id (string): ID of the post this comment belongs to
  • comments[].source_data.comment.published_at (any): Comment creation timestamp as an ISO 8601 UTC string.
  • comments[].source_data.comment.text (string): Comment body.
  • comments[].source_data.comment.url (string)
  • comments[].source_data.computed.country.confidence (number)
  • comments[].source_data.computed.country.source (string)
  • comments[].source_data.computed.country.value (string)
  • comments[].source_data.computed.labels.complaint (object)
  • comments[].source_data.computed.labels.injection (object): injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row.
  • comments[].source_data.computed.labels.low_quality (object)
  • comments[].source_data.computed.labels.purchase_intent (object)
  • comments[].source_data.computed.labels.question (object)
  • comments[].source_data.computed.labels.sentiment (object)
  • comments[].source_data.computed.labels.spam (object)
  • comments[].source_data.computed.labels.toxic (object)
  • comments[].source_data.computed.labels_evidence (object): When 1, every labelled row also carries computed.labels_evidence.<preset> = { quote, sentence_index }: the sentence in the row that most clearly shows the label, copied verbatim.
  • comments[].source_data.computed.language (string)
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.

Good to know

  • The price depends on what the call returns: from 1 credit to 5 credits.
  • Each call returns one page of about 100 comments. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.

Example call

GET /api/v1/data/youtube/video-comment-replies?continuationToken=Ugzge340dBgB75hWBm54AaABAg

Questions

How much does the YouTube Video Comment Replies API cost?

Each page costs 1 to 5 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send continuationToken. 3 more inputs are optional: format, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page of about 100 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 5 minutes may get the same answer, so data can be up to 5 minutes old.

Do I need a YouTube account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related YouTube endpoints

  • Video: Get YouTube video details. 1 credit a call
  • Video Audio: Get a YouTube video's audio file streams. 5 credits a call
  • Video Files: Get a YouTube video's video file streams. 5 credits a call
  • Video Related: Get videos related to a YouTube video. 1 credit a call
  • Video Sponsors: Detect sponsors of a YouTube video. 10 credits a call
  • Video Subtitles: Get a YouTube video's subtitle files. 1 credit a call
  • Video Thumbnails: Get a YouTube video's thumbnail files. 1 credit a call
  • Video Transcript: Get YouTube video transcript. 3 credits a call

More YouTube scraper APIs