YouTube Comments Scraper avatar

YouTube Comments Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
YouTube Comments Scraper

YouTube Comments Scraper

Scrape comments from any YouTube video: text, author, likes, replies, pinned/hearted status. For social listening, sentiment analysis and audience research.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Technical Dost Solutions

Technical Dost Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Export public YouTube comments as clean, analysis-ready records. This Actor is designed for social listening, audience research, brand monitoring, sentiment analysis, creator research, and community discovery.

It uses YouTube's public watch pages and InnerTube web API. No YouTube Data API key, paid proxy, or paid third-party data source is required.

What it does

  • Scrapes top or newest comments from one or more public YouTube videos.
  • Paginates through YouTube comments up to the requested per-video limit.
  • Returns comment text, author and channel link, relative publish time, likes, replies, and pinned or creator-hearted status.
  • Supports both YouTube's current comment entity payloads and the legacy inline comment renderer.
  • Continues processing when one video fails and handles disabled comments without failing the run.

Input

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
],
"maxCommentsPerVideo": 100,
"sortBy": "top"
}
FieldTypeRequiredDescription
videoUrlsarray of stringsYesPublic YouTube watch, short, live, embed, or youtu.be video URLs.
maxCommentsPerVideointegerNoComments per video, from 1 to 500. Defaults to 100.
sortBystringNotop or newest. Defaults to top.

The limit applies to top-level comments. Reply counts are included when YouTube exposes them, but replies are not emitted as separate records.

Output

Each dataset item represents one comment:

{
"videoId": "dQw4w9WgXcQ",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"commentId": "UgzExampleCommentId",
"text": "Example comment text",
"author": "@ExampleAuthor",
"authorChannelUrl": "https://www.youtube.com/@ExampleAuthor",
"publishedTimeText": "2 days ago",
"likeCountText": "1.2K",
"likeCount": 1200,
"replyCount": 8,
"isPinned": false,
"isHearted": true
}

likeCount and replyCount are null when YouTube does not expose a parseable count. isHearted is false when a creator heart cannot be detected.

Cost and data source

The Actor uses only public YouTube web data and native HTTP requests. Each stored comment triggers the result pay-per-event charge when that event is configured on Apify.