YouTube Comment Scraper avatar

YouTube Comment Scraper

Pricing

from $2.99 / 1,000 comments

Go to Apify Store
YouTube Comment Scraper

YouTube Comment Scraper

Extract public YouTube comments with author, engagement, moderation, timestamp, and optional video metadata using the Data API or Playwright.

Pricing

from $2.99 / 1,000 comments

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Extract comments that YouTube exposes in public watch-page HTML, including author, engagement, reply, channel, and optional video metadata. Some public pages do not embed comment threads; those cases produce an exact diagnostic instead of an invented result.

The actor uses public HTML only. It does not accept API keys, call private continuation clients, use browser automation, or attempt identity/fingerprint evasion.

Inputs include videoUrls/videoIds, maxCommentsPerVideo (1–500), sortComments, includeReplies, includeVideoMetadata, bounded retry/delay/timeout controls, includeDiagnostics, and optional standard Apify Proxy configuration.

Successful records contain recordType, video/comment URLs and IDs, text and length, author fields, like/reply counts, moderation flags, published/updated text, channel fields, optional video title/description/statistics/thumbnail, provenance, and scrapedAt.

npm ci
npm test
npx --yes apify validate-schema .actor/input_schema.json
npx --yes apify run --purge --input-file qa-inputs/youtube-comment-scraper/local-validation.json
npm run validate-dataset