YouTube Comment Replies Scraper
All the replies in one YouTube comment thread as typed JSON: reply text, author, likes, reply level and time, nested in one thread record. Pass a reply continuation token. 1 credit per call. No YouTube login.
Free API key · 1 credit per thread · failed calls free
// GET /api/v2/youtube-comment-replies/?continuation_tokens= · sample from the catalog { "success": true, "data": { "continuation_tokens": "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw3SXluZ1d2UjhnTjRBYUFCQWci...", "thread": { "input_continuation_token": "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw3SXluZ1d2UjhnTjRBYUFCQWci...", "video_id": "v9QtM6qnG50", "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA", "parent_comment_id": "UgxHyInl7IyngWvR8gN4AaABAg", "video_title": "I Built A City To Save Kids From Illegal Labor", "success": true, "error": null, "comments": [ { "id": "UgxHyInl7IyngWvR8gN4AaABAg.AawtXymnHK1AawtnXUJNIO", "content": "excellent job.", "published_time_text": "3 days ago", "published_time": "2026-09-20T08:08:34.750Z", "reply_level": 1, "author": { "name": "@flow1n26", "channel_id": "UCINudLBlbZCxSEugSRR7dCw", "is_verified": false, "is_creator": false, "avatar_url": "https://yt3.ggpht.com/ytc/AIdro_lHq7nyOQOfims3HaL7WVdERI9RRMCkFIh5R21icJiVxc15lI8jurnAjKeeUVvfLfAcZw=s88-c-k-c0x00ffffff-no-rj", "channel_url": "https://youtube.com/@flow1n26" }, "engagement": { "likes": 524, "replies": 9 } } ], "reply_count": 1, "next_continuation_token": null, "has_more": false, "scraped_at": "2026-09-23T08:08:42.049Z" }, "next_cursor": null } }
| field | value | type | Has a value✓ |
|---|
Scrapier's YouTube Comment Replies Scraper returns all replies in one comment thread as JSON from a reply continuation token: a thread record with video_id, parent_comment_id, reply_count and nested comments. It costs 1 credit per successful call. No YouTube login.
YouTube Comment Replies Scraper extracts one reply thread per call: the video and parent comment it belongs to, a reply count, and every reply nested inside with its ID, text, time, reply level, author (name, channel ID, verified and creator flags, avatar) and engagement (likes and replies). Every response is structured JSON, ready to pass directly to an LLM, index into a vector store or feed a sentiment pipeline. It is one of 17 YouTube endpoints on the same API key used by 12,000+ developers. Pair it with the comments scraper to cover a whole video.
What data can I extract with YouTube Comment Replies Scraper?
Using this YouTube Comment Replies Scraper, you can extract the following data from public YouTube threads:
Want the exact field names? See the example output.
Try YouTube Comment Replies Scraper Live
Press Run to see the catalog sample. Add your API key and it runs a real call to the Scrapier API from your browser. The key is sent only to proxy.scrapier.io and never stored.
+ Run live with your API key
How to use YouTube Comment Replies Scraper
Hand it to your AI assistant, or run it yourself in five steps.
Copy to your AI assistant
Paste this into ChatGPT, Claude or Cursor and it knows how to call the scraper.
Use the Scrapier YouTube Comment Replies Scraper to get public YouTube threads. Endpoint: GET https://proxy.scrapier.io/api/v2/youtube-comment-replies/?continuation_tokens={continuation_tokens} with header "X-API-Key: YOUR_API_KEY" and a 210-second timeout. Send one value per call in continuation_tokens; for a list, make one call per value, at most 3 in parallel. It returns JSON under data.thread: input_continuation_token, video_id, channel_id, parent_comment_id, video_title, success, error, comments, reply_count, next_continuation_token, has_more, scraped_at. Each successful call costs 1 credit; failed calls are free. If you support MCP, run: claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY" and call run_scrape with endpoint "youtube-comment-replies" (find it with search_endpoints).Use this scraper from ChatGPT, Claude or Cursor. Point your assistant at Scrapier and it reads YouTube threads on its own: no glue code, no scraping logic in your prompts.
Run it yourself
- Get your free Scrapier API keySign up at app.scrapier.io; the free tier lets you try it first.
- Open YouTube Comment Replies Scraper in the catalogIt lives under Scrapers / YouTube.
- Enter the reply continuation tokenPaste the base64url token from a "Show more replies" call into
continuation_tokens. Setmax_itemsto cap replies, or leave it at 0 to walk the whole thread. - Send your API requestOne GET with your key in the
X-API-Keyheader, or onerun_scrapecall from your agent. Set a 210-second client timeout. - Save your resultsThe thread comes back as JSON in
data.threadwith replies nested undercomments: store it as is, or flatten the replies to CSV.
How to scale to bulk YouTube threads
continuation_tokens takes one token per call, so for many threads you loop: one request per thread. A thread is a single lookup and next_cursor is always null; if a long thread is cut off, the row reports next_continuation_token, and you send that as a fresh continuation_tokens value. Run up to 3 requests in parallel per API key; above that the API answers 429 with a Retry-After header, and throttled calls cost nothing. Each thread is 1 credit and failed calls are free.
Features
YouTube Comment Replies Scraper completes the picture left by the comments scraper: the full conversation under a comment. It suits sentiment analysis, community research and any workflow that needs to read what people answered, not only what they first said.
- Thread
video_id,video_title,parent_comment_idandreply_count - RepliesNested
commentswithid,contentandreply_level - Authors
authorwith name, channel ID,is_verifiedandis_creator - Engagement
engagement.likesandengagement.replieson each reply - Control
max_itemscaps replies per thread; 0 walks to the end - Resume
next_continuation_tokenandhas_moremark a truncated thread
Proxies, retries and parsing run on Scrapier's side, so you send one request and get JSON back, at 1 credit per thread and 0 credits for a failed call.
Use cases
- Brand analyst reads the replies under the most-liked complaint on a launch video to see whether the community agrees or the brand answered.
- Creator exports the full reply thread under a pinned comment to find follow-up questions for the next upload.
- Researcher collects reply threads from 100 high-traffic comments into a dataset, one row per reply, for a study of how discussions branch.
- Moderator audits a heated thread by listing every reply with author, likes and time.
- AI engineer gives an agent a tool that expands a thread: after it sees a comment with replies, it calls
youtube-comment-repliesand summarises the discussion.
Running these from an agent? Use the MCP integration and let Claude or Cursor call the scraper directly.
Why choose this Scraper API?
A thread comes back as a single record with replies nested inside, so you do not stitch pages together; has_more tells you if it was cut short.
max_items caps replies per thread, and language and region set the hl and gl values used.
Comments, replies and video details share the same key and response envelope, so going from a comment to its replies is a change of endpoint, not of code.
Input
The scraper takes one reply continuation token per call in continuation_tokens, taken from a "Show more replies" call. max_items, language and region are optional. Send parameters in the query string (GET) or as a JSON body (POST).
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
continuation_tokens | string | Yes | — | Base64url reply continuation token from a "Show more replies" call. One per call. Required. Aliases: continuation_token, token, tokens |
cursor | string | No | — | Pass back data.next_cursor from the previous response to get the next page; null means the last page |
max_items | integer | No | 0 | Replies per thread. 0 or omitted walks the thread to the end. Locked in the cursor |
language | string | No | en | YouTube interface language (hl), default en. Locked in the cursor |
region | string | No | US | YouTube region (gl), default US. Locked in the cursor |
use_proxy | boolean | No | true | Route through Scrapier's residential proxy pool. Leave as is |
raw_data | boolean | No | false | Return YouTube's raw upstream payload under raw_responses instead of the formatted items |
One token per call: to expand ten threads, make ten calls. Booleans are the strings true or false.
Example input
{
"continuation_tokens": "",
"max_items": "0",
"language": "en",
"region": "US",
"use_proxy": "true",
"raw_data": "false"
}Error codes
| Status | Meaning | Billed | Fix |
|---|---|---|---|
| 200 | Thread data returned in data.thread | Yes | — |
| 400 | Bad or missing input | No | Check continuation_tokens: one value per call |
| 401 | X-API-Key header missing | No | Add the header |
| 402 | Out of credits (body has balance) | No | Top up; retrying will not help |
| 403 | Invalid or revoked API key | No | Check the key in your dashboard |
| 429 | Throttled | No | Wait Retry-After seconds, then retry |
| 5xx | Upstream failure or timeout | No | Retry with backoff; set a 210 s client timeout |
From the error reference. Any non-2xx response costs 0 credits.
Output
Typed JSON with the same schema on every call. One call returns a single thread object with 12 fields, inside the standard data envelope. The replies are nested in thread.comments; each has an ID, text, times, reply level, an author object and an engagement object. Field names stay the same on every call. Set raw_data to true if you want YouTube's raw payload instead.
Example output
{
"success": true,
"data": {
"continuation_tokens": "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw3SXluZ1d2UjhnTjRBYUFCQWci...",
"thread": {
"input_continuation_token": "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw3SXluZ1d2UjhnTjRBYUFCQWci...",
"video_id": "v9QtM6qnG50",
"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"parent_comment_id": "UgxHyInl7IyngWvR8gN4AaABAg",
"video_title": "I Built A City To Save Kids From Illegal Labor",
"success": true,
"error": null,
"comments": [
{
"id": "UgxHyInl7IyngWvR8gN4AaABAg.AawtXymnHK1AawtnXUJNIO",
"content": "excellent job.",
"published_time_text": "3 days ago",
"published_time": "2026-09-20T08:08:34.750Z",
"reply_level": 1,
"author": {
"name": "@flow1n26",
"channel_id": "UCINudLBlbZCxSEugSRR7dCw",
"is_verified": false,
"is_creator": false,
"avatar_url": "https://yt3.ggpht.com/ytc/AIdro_lHq7nyOQOfims3HaL7WVdERI9RRMCkFIh5R21icJiVxc15lI8jurnAjKeeUVvfLfAcZw=s88-c-k-c0x00ffffff-no-rj",
"channel_url": "https://youtube.com/@flow1n26"
},
"engagement": {
"likes": 524,
"replies": 9
}
}
],
"reply_count": 1,
"next_continuation_token": null,
"has_more": false,
"scraped_at": "2026-09-23T08:08:42.049Z"
},
"next_cursor": null
}
}The catalog's sample response for continuation_tokens=, labelled as a sample: live calls return the account's current values.
Thread identity
| Field | Type | Example | Description |
|---|---|---|---|
thread.input_continuation_token | string | "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw…" | The token you sent |
thread.video_id | string | "v9QtM6qnG50" | ID of the video the thread is on |
thread.channel_id | string | "UCX6OQ3DkcsbYNE6H8uQQuVA" | UC channel ID of the video's channel |
thread.parent_comment_id | string | "UgxHyInl7IyngWvR8gN4AaABAg" | ID of the comment the replies belong to |
thread.video_title | string | "I Built A City To Save Kids From Illegal La…" | Title of the video |
Replies
| Field | Type | Example | Description |
|---|---|---|---|
thread.comments | array | 1 items | List of replies with id, content, published_time_text, published_time, reply_level, author and engagement |
thread.reply_count | integer | 1 | Number of replies returned |
Status and resume
| Field | Type | Example | Description |
|---|---|---|---|
thread.success | boolean | true | true when the thread was read |
thread.error | null | null | Error text when the thread failed; null otherwise |
thread.has_more | boolean | false | true when the thread was cut short |
thread.next_continuation_token | null | null | Token to resubmit when the thread was truncated; null when complete |
Timestamp
| Field | Type | Example | Description |
|---|---|---|---|
thread.scraped_at | string | "2026-09-23T08:08:42.049Z" | When Scrapier read the thread (ISO 8601, UTC) |
Response envelope and paging
| Field | Type | Example | Description |
|---|---|---|---|
success | boolean | true | true on every 200 response |
data.continuation_tokens | string | "Eg0SC3Y5UXRNNnFuRzUwGAYygwEaUBIaVWd4SHlJbmw…" | Your continuation token, echoed back |
data.next_cursor | null | null | Always null here: a thread is a single lookup |
How does it work?
Scrapier sends each request through its residential proxy pool (use_proxy, on by default), so you never manage IPs or proxy accounts.
Retries and parsing of YouTube's pages and responses happen on Scrapier's side. You send one HTTP request and get typed JSON back.
Only publicly visible data is returned: what any visitor sees without signing in. No YouTube account, cookie or Google API key is used for this endpoint.
The schema is stable. When YouTube changes, Scrapier updates the scraper; the field names under thread stay the same.
How do you integrate YouTube Comment Replies Scraper into your stack?
It works with what you already use: any HTTP client, AI agents over MCP, and no-code automation tools. Code samples for cURL, Python and Node.js are on the API tab.
MCP integration for AI agents
This registers the Scrapier MCP server, whose tools reach every Scrapier scraper, including youtube-comment-replies: the agent finds it with search_endpoints and calls it with run_scrape. Works with Claude Code, Cursor and Windsurf. MCP calls are billed like REST: 1 credit per successful call. Full MCP setup →
No-code tools (n8n, Make, LangChain)
Use the HTTP Request node with your Scrapier API key in an X-API-Key header and point it at /api/v2/youtube-comment-replies/ with a continuation_tokens query parameter. Map data.thread into the next node.
Add an HTTP "Make a request" module with the same header and URL, and parse the response as JSON. Map content and engagement.likes straight into Sheets, Airtable or your CRM.
Wrap the endpoint in a requests-based tool, or load the Scrapier MCP server through LangChain's MCP adapters so the agent finds youtube-comment-replies with search_endpoints itself.
Pricing and Rate Limits
One YouTube thread costs 1 credit, so 1,000 threads cost 1,000 credits: $1.58 on the Pro plan. Failed and empty calls are not billed. Run up to 3 requests in parallel per key; above that the API answers 429 with a Retry-After header.
| Plan | Monthly price | Credits | Threads included | Per 1,000 threads |
|---|---|---|---|---|
| Hobby | $29 | 15,000 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | 250,000 | $1.20 |
| Enterprise | Custom volume and terms | |||
Prices from the live billing page. See all plans and limits.
Call cost and timing
How we measure this
Credit cost, pagination and the sample come from the live catalog (GET /api/v2/endpoints, /youtube-comment-replies/, checked 9 Nov 2026). Concurrency and timeout guidance come from the rate limits page of the docs. Scrapier does not publish latency or success-rate figures for this endpoint, so none are shown here.
YouTube Comment Replies Scraper vs the Official YouTube API
| Feature | Scrapier thread scraper | Official YouTube API |
|---|---|---|
| Access needed | One Scrapier API key | A Google Cloud project, an API key and a daily quota |
| Which replies | Every reply in a thread, from a continuation token | Replies of a parent comment through the comments resource, in pages |
| Fields returned | 12 thread fields with replies, authors and likes nested | Depends on the resource and parts you request |
| Rate limits | Up to 3 parallel requests per key; 429 with Retry-After | Daily quota units set per Google Cloud project |
| Setup | Sign up, copy a key, send a request | Create a project, enable the API, create credentials |
| Cost | 1 credit per thread, from $1.20 per 1,000 threads | Free within quota; more needs a quota extension request |
The official YouTube Data API is the better choice when you reply to or moderate comments on your own channel, which a read-only scraper cannot do.
Is it legal to scrape YouTube data?
Scraping publicly available YouTube data is generally lawful in many countries, but the answer depends on what you collect, where you are and how you use it. In the US, hiQ Labs v. LinkedIn is the case most often cited on public-data scraping. Scrapier returns only data any visitor can see without logging in. Under GDPR and similar laws, collecting public data can be permissible, but how you store and use personal data, such as names or comment text, must still comply with local data-protection rules, and YouTube's terms apply. Consult legal counsel if your use case involves bulk storage of personal data. This is not legal advice; see our Terms of Use.
Frequently asked questions
What fields does YouTube Comment Replies Scraper return?
One thread object with video_id, video_title, channel_id, parent_comment_id, reply_count, has_more, next_continuation_token and a comments list; each reply has id, content, times, reply_level, author and engagement: 12 thread fields in data.thread. Each successful call costs 1 credit.
Where do I get the continuation token?
The catalog describes it as a base64url reply continuation token from a "Show more replies" call. Pass it in continuation_tokens, one per call, and the response returns that whole thread as one record with the replies nested inside.
What if a long thread is cut short?
The thread row sets has_more and reports next_continuation_token. Send that value as a fresh continuation_tokens input to keep walking the thread. You can also cap replies with max_items; 0 walks to the end.
Can I scrape multiple comment threads at once?
Yes, with one call per thread: continuation_tokens takes a single value. Loop over your tokens and run up to 3 requests in parallel per API key. Failed and throttled calls are free.
Does YouTube Comment Replies Scraper require a YouTube account or login?
No. The YouTube Comment Replies Scraper uses no YouTube account or cookies: you send your Scrapier API key in the X-API-Key header and a reply continuation token, and get JSON back. Only public YouTube data is returned, and no Google API key or quota is involved.
How fast does YouTube Comment Replies Scraper run?
Scrapier does not publish a latency figure for this endpoint. Each call reads YouTube live, and scraped_at in the response records when. Set a client timeout of 210 seconds, as the docs recommend for every endpoint.
What happens if the input is wrong or YouTube returns nothing?
If a call fails, the API returns a non-2xx status and costs 0 credits. In code, check the status, then skip that input or retry it later. Throttled calls (429 with a Retry-After header) are free as well, so retry loops cost nothing.
Does YouTube Comment Replies Scraper work with Claude, ChatGPT and other AI agent tools?
Yes. Connect the Scrapier MCP server with claude mcp add -t http scrapier https://mcp.scrapier.io/mcp and your API key in an X-API-Key header; it works in Claude Code, Cursor and Windsurf. The agent finds youtube-comment-replies with search_endpoints and calls it with run_scrape. Any agent that can call an HTTP endpoint can use the REST API directly.
How does it compare to other YouTube scrapers?
Scrapier charges a flat 1 credit per successful call, and failed calls are free; platforms that bill compute units vary with run time and infrastructure. The same API key and MCP server reach all 199 Scrapier endpoints. Scrapier returns structured JSON for public YouTube data.
Does it return data in a format LLMs can use directly?
Yes. Every response is typed JSON with the same field names on every call: no HTML parsing and no selectors. Pass it straight to an LLM, index it into a vector store or return it from an agent tool.
What happens when YouTube changes its layout or anti-bot system?
Scrapier maintains the scraper. When YouTube changes its pages or internal responses, Scrapier updates it, and your calls keep returning the same JSON field names without changes on your end.
How much does it cost to run YouTube Comment Replies Scraper 1,000 times?
1,000 credits, because each call is 1 credit. That is about $1.93 on Hobby, $1.58 on Pro and $1.20 on Scale, at the plans' price per credit. Failed calls are free.
How do I use YouTube Comment Replies Scraper with Python?
Send a GET request with the requests library to https://proxy.scrapier.io/api/v2/youtube-comment-replies/ with params={"continuation_tokens": "YOUR_CONTINUATION_TOKEN"}, your key in the X-API-Key header and timeout=210. Read r.json()["data"]["thread"]: it is already JSON, so no HTML parsing is needed.
Is it legal to scrape YouTube data?
It depends on your use and your country, so this is not legal advice. Scrapier returns public YouTube data only. YouTube's terms and privacy law such as GDPR or CCPA apply to how you store and use it. Collect only what you need, and ask a lawyer about your specific case.
Your feedback
Found a bug or missing a field? Let us know. Write to support@scrapier.io and the team replies to every report.
Start Scraping YouTube Threads
Public YouTube threads as JSON, 1 credit each, from REST or MCP.