youtube/
comment-replies

The YouTube Comment Replies API collects public YouTube replies from a stable video URL and parent comment ID, including text, authors, engagement, timestamps, and thread context.

YouTube Comment Replies API

Stable comment input
Public replies
Thread context
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

YouTube Comment Replies

YouTube Comment Replies are public responses nested beneath a top-level video comment, with reply text, author identity, visible likes, publication time, and parent or video context. These thread records support conversation reconstruction, response review, and public-discussion dataset preparation.

YouTube Comment Replies API Features

  • Stable comment referenceStart from a public video URL and its parent comment ID while SocQ resolves the current reply continuation token internally.
  • Reply and author recordsReturn reply IDs, public text, associated URLs, publication times, and normalized author or channel identity.
  • Thread and creator contextKeep visible likes, nested-reply counts, parent comment and video references, and channel-owner or creator-heart markers together.
  • Bounded continuation collectionFollow subsequent source continuation tokens, remove duplicate reply IDs, and stop at the selected limit, an exhausted thread, or the 100-page ceiling.

YouTube Comment Replies API Parameters

ParametersRequiredDescription
urlRequiredRequired stable public YouTube video URL containing the parent comment.
comment_idRequiredRequired top-level comment ID belonging to the submitted video URL.
results_limitOptionalMaximum public replies to collect from this thread. The documented example uses 20 and the accepted range is 20 through 2000.

How to Use the YouTube Comment Replies API

Submit a stable video URL and parent comment ID to the YouTube Comment Replies API as an asynchronous task, then read normalized reply records from the completed task.

  1. Choose a public YouTube video URL and a top-level comment ID returned for that video.
  2. POST url, comment_id, and results_limit to /v1/youtube/comment-replies.
  3. Retain the returned task_id and poll GET /v1/tasks/{task_id} while the task is queued, running, or retrying.
  4. After success, read data.results.items and pass data.results.next_cursor as cursor on the task request while data.results.has_more is true.
curl -X POST "https://api.socq.ai/v1/youtube/comment-replies" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","comment_id":"Ugzge340dBgB75hWBm54AaABAg","results_limit":20}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and pass data.results.next_cursor as cursor while has_more is true

YouTube Comment Replies API Use Cases

  • Known-thread reconstruction: Use reply IDs, parent_comment_id, video_id, URLs, and timestamps to reconnect saved responses with a selected top-level comment.
  • Reply-level audience review: Compare the public reply text, author identity, visible likes, nested-reply counts, and creator interaction markers that the YouTube Comment Replies API returns for one known thread.
  • Public discussion dataset preparation: Combine normalized reply text, authors, timestamps, and thread context into records for manual review or downstream text processing.

YouTube Comment Replies API Pro Tips

  • Keep the video URL and top-level comment ID paired in every YouTube Comment Replies API request so the reply thread and source video remain aligned.
  • SocQ resolves the current continuation token internally; retry with the same stable reference if an upstream token expires.
  • Keep the source comment ID separate from the cursor returned by GET /v1/tasks/{task_id}; the first selects a YouTube reply thread, while the second pages through saved task results.
  • Set results_limit to the expected thread size, but treat it as a ceiling because public visibility and thread exhaustion can reduce the returned count.
  • Deduplicate saved records by reply ID and retain parent_comment_id, video_id, and extra.reply_token when joining replies back to their source comment.
  • Allow nullable author, timestamp, metric, and creator-marker fields, and escape public reply text before displaying it in another interface.

Beyond the YouTube Comment Replies API, use these APIs when you need a different type of public YouTube data.

Explore other platforms

Combine YouTube data with public data from other supported social platforms.

YouTube Comment Replies API — FAQ

YouTube Comment Replies API is a programmatic interface for collecting public replies from one top-level YouTube comment. Submit the stable video URL and comment ID to receive reply text, author identity, visible engagement, timestamps, and thread context.

Run the YouTube Comments API with a public video URL, then use the ID of a compatible top-level comment returned for that same video.

No. SocQ resolves the current continuation token from the submitted video URL and comment ID; legacy token input remains an API compatibility path but is not used by this playground.

results_limit accepts integers from 20 through 2000, and the documented playground example submits 20. Collection stops at that ceiling, when the public thread ends, or after 100 source pages.

A reply can include its ID, URL, text, public author or channel details, visible likes and nested-reply counts, publication and collection times, plus video, parent-comment, creator-marker, and token context in extra.

No. comment_id selects the source YouTube reply thread, while cursor pages through normalized records already saved under a succeeded SocQ task.

The parent comment may not expose a reply token, the thread can end before results_limit, or replies can be deleted, hidden, held for review, members-only, disabled, or otherwise unavailable to the public.

The YouTube Comment Replies API charges 0.5 credits for each saved normalized reply. Billing follows the actual saved record count, so an empty result has no result-unit charge.

By SocQ · Updated

From the official YouTube API documentation:

“Projects that enable the YouTube Data API have a default quota allocation of 100 search.list calls, 100 videos.insert calls, and 10,000 units per day combined for all other endpoints.”
Google for Developers: YouTube Data API quota costs · accessed November 2026