YouTube Comments Scraper API - No API Key avatar

YouTube Comments Scraper API - No API Key

Pricing

from $1.00 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper API - No API Key

YouTube Comments Scraper API - No API Key

Scrape public YouTube comments from video URLs. Export comment text, authors, likes, reply counts, pinned/hearted flags, timestamps, video IDs, and comment URLs without a YouTube API key.

Pricing

from $1.00 / 1,000 comments

Rating

0.0

(0)

Developer

Group Oject

Group Oject

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Scrape public YouTube comments from video URLs without a YouTube API key.

This Actor is built for social listening, sentiment research, creator analytics, audience research, comment mining, competitor monitoring, and brand tracking.

Features

  • Scrape comments from YouTube video URLs, Shorts URLs, and video IDs
  • Export comment text, author, likes, reply counts, pinned status, hearted status, and timestamps
  • Supports top comments and newest-first sorting
  • No YouTube API key required
  • Clean dataset for CSV, JSON, Excel, Google Sheets, Make, Zapier, APIs, and AI workflows

Input Example

{
"videoUrls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"maxCommentsPerVideo": 100,
"maxTotalComments": 100,
"sortBy": "TOP_COMMENTS"
}

Output Example

{
"commentId": "Ugzge340dBgB75hWBm54AaABAg",
"commentText": "can confirm: he never gave us up",
"authorName": "@YouTube",
"likeCount": 308000,
"replyCount": 963,
"publishedTime": "1 year ago",
"isPinned": true,
"isHearted": true,
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}

Use Cases

  • Monitor comments on competitor videos
  • Analyze audience feedback on product launches
  • Collect comments for sentiment and topic analysis
  • Track creator engagement and pinned comments
  • Build datasets for YouTube social listening
  • Export YouTube comments for research or moderation workflows

Notes

This Actor uses publicly available YouTube surfaces and an unofficial InnerTube client. Some videos have comments disabled, hidden, or restricted; those videos are reported in the ERRORS key-value record.

Input reference

FieldPurpose
videoUrlsYouTube watch URLs, Shorts URLs, or 11-character video IDs
maxCommentsPerVideoPer-video comment limit, up to 5,000
maxTotalCommentsRun-wide output limit, up to 20,000
sortByCollect top comments or newest comments first
language, countryYouTube locale used for the request
dedupeRemove repeated comment IDs across inputs

Run through the API

curl -X POST \
"https://api.apify.com/v2/acts/groupoject~youtube-comments-scraper-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"videoUrls":["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxTotalComments":100}'
const run = await client.actor('groupoject/youtube-comments-scraper-api').call({
videoUrls: ['https://www.youtube.com/watch?v=dQw4w9WgXcQ'],
maxCommentsPerVideo: 250,
sortBy: 'NEWEST_FIRST',
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

Practical workflows

Product feedback analysis

Collect comments from launch videos, reviews, and tutorials. Export comment text, likes, replies, and timestamps to a spreadsheet or sentiment-analysis pipeline.

Creator and competitor monitoring

Schedule newest-first runs for a stable list of videos. Use the dataset in dashboards, alerts, or AI workflows to identify recurring questions and audience reactions.

High-signal comment research

Use TOP_COMMENTS to prioritize visible, highly engaged discussions. Compare likeCount, replyCount, pinned status, and creator hearts.

FAQ

Is a YouTube Data API key required?

No. The Actor reads public YouTube data without requiring a Google Cloud project or API quota.

Are replies included?

The output includes the visible reply count for each top-level comment. It does not currently emit every nested reply as a separate dataset row.

Why can a video return no comments?

Comments may be disabled, restricted, unavailable by region, or hidden from the public surface. Review the ERRORS record for input-specific diagnostics.

Only collect public data and use it in accordance with applicable laws and YouTube's terms.