YouTube Comments Scraper
Collect public comments from a YouTube video with text, likes and posting dates. Search the saved results and export them to CSV or Google Sheets.
Current pricing: $0.016287 / 1,000 results. Review the estimate before running.
Endpoint
POSThttps://extracto.cloud/api/v1/parsers/youtube-comments-scraperwebhook_url and optional webhook_secret to receive the saved result. Webhook setup and signatures →X-API-KEY: ext_...Response
Illustrative synchronous response structure. Returned records depend on your input.
{
"success": true,
"tool": "youtube-comments-scraper",
"parser": "youtube-comments-scraper",
"count": 0,
"data": []
}
Extracto documentation
YouTube Comments Scraper — Extracto API reference
Collect public comments from a YouTube video with text, likes and posting dates. Search the saved results and export them to CSV or Google Sheets.
Collection scope
Comment availability depends on the video. Private videos and videos with comments disabled may return no data. Posting ages may be unavailable; unrecognized date values are omitted.
Using Extracto
Extracto provides a web interface and HTTP API for submitting scraping tasks, tracking their status and retrieving structured results. Some parsers use third-party scraping providers for execution. Your Extracto account, API key and credit balance are managed at extracto.cloud.
Create an account at https://extracto.cloud/register, confirm your email and create an API key at https://extracto.cloud/api-keys. You can also configure and run this parser in the web interface at https://extracto.cloud/marketplace/youtube-comments-scraper.
Pricing and credits
Current Extracto price: $0.016287 / 1,000 results. Extracto charges your credit balance for parser usage. 1,000 credits correspond to $1 USD. The displayed rate includes Extracto pricing; additional enabled options are shown in the estimate. Review the cost estimate in the web interface or POST your request body to https://extracto.cloud/api/v1/parsers/youtube-comments-scraper/estimate before launching a task. An estimate does not start scraping. Credit packages are listed at https://extracto.cloud/pricing; billing details are at https://extracto.cloud/docs#billing.
Input
Send JSON with the parser settings inside an input object. The example is a starting point: replace the sources and limits with your own permitted targets. Launching it starts a real task and can spend credits.
{
"input": {
"video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"limit": 25
}
}
- video_url (string, required)
- limit (integer, optional)
Requests and authentication
Use your Extracto key in the X-API-KEY header. Send Content-Type: application/json and Accept: application/json. Keep the key private on your server.
POST https://extracto.cloud/api/v1/parsers/youtube-comments-scraper — wait for a synchronous result. Successful output is in data, with the result count in count and usage in meta.credits. POST https://extracto.cloud/api/v1/parsers/youtube-comments-scraper/queue — submit a queued task. Save run.id from the HTTP 202 response. GET https://extracto.cloud/api/v1/parser-runs/{run_id} — check a saved task using the same account's API key. Poll about once every five seconds while its status is queued or running. Stop at ok, partial, cancelled or error. Saved results are in run.result; failures are described in run.error.
Integration examples, response formats, errors and limits: https://extracto.cloud/docs.
Output
Returned fields depend on the parser, input and source availability. A successful task can return no matching records. Availability and completion time can change when the source website changes. The following sample is illustrative documentation data, not a customer run or a guarantee of results:
[
{
"text": "We're so honored that the first ever YouTube video was filmed here!",
"date": null,
"likes": "4.8M",
"replies_count": 985
}
]
- text (string): Returned text. May be missing when the source does not provide it.
- date (string): Returned date. May be missing when the source does not provide it.
- likes (string): Returned likes. May be missing when the source does not provide it.
- replies_count (number): Returned replies count. May be missing when the source does not provide it.
Example uses
- Research audience questions and feedback.
- Compare reactions to campaigns and product videos.
- Save comments for your own analysis.
Responsible use and support
Use this parser only for data you are permitted to access and process. Follow applicable laws, source website terms and Extracto's acceptable-use policy: https://extracto.cloud/acceptable-use. For help, email [email protected] and include the parser name and run ID. Never send your API key. Terms: https://extracto.cloud/terms Privacy: https://extracto.cloud/privacy Refund policy: https://extracto.cloud/refund-policy
Request Body
{
"input": {
"video_url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"limit": 25
}
}
cURL
curl -X POST https://extracto.cloud/api/v1/parsers/youtube-comments-scraper \
-H "X-API-KEY: ext_your_api_key" \
-H "Content-Type: application/json" \
-d '{"input":{"video_url":"https://www.youtube.com/watch?v=jNQXAC9IVRw","limit":25}}'