YouTube Comments Scraper: Comments, Likes & Replies avatar

YouTube Comments Scraper: Comments, Likes & Replies

Pricing

from $0.40 / 1,000 comments

Go to Apify Store
YouTube Comments Scraper: Comments, Likes & Replies

YouTube Comments Scraper: Comments, Likes & Replies

Scrape comments from any YouTube video by URL or ID. Get comment text, author, likes, reply count, posting time and pinned or hearted status, with optional replies. Sort by top or newest. Export JSON, CSV or Excel, use the API, or schedule runs.

Pricing

from $0.40 / 1,000 comments

Rating

0.0

(0)

Developer

Ioannis Kokkinis

Ioannis Kokkinis

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

YouTube Comments Scraper

Scrape the comments of any YouTube video from its link or ID. Get the comment text, author, likes, reply count and posting time, with optional replies, as JSON, CSV or Excel.

What you get for each comment

  • Comment text and unique comment ID
  • Author name, channel ID and channel link, verified badge, creator flag
  • Likes (as a number and as shown on YouTube) and reply count
  • When it was posted (as shown on YouTube, for example "3 days ago")
  • Pinned and hearted-by-creator flags
  • For replies: isReply and the parentCommentId of the comment they answer

How to use it

  1. Paste video links or IDs into Videos, one per line. Watch, youtu.be, Shorts, embed and live links work.
  2. Choose how many comments per video, and Top comments or Newest first.
  3. Turn on Include replies if you also want the answers under each comment.
  4. Press Start, then download the results or read them through the API.

Input

FieldMeaning
VideosLinks or 11-character IDs
Comments per videoTop-level comments to collect from each video
Sort byTop comments or newest first
Include repliesAlso collect replies under each comment
Replies per commentLimit for replies under each comment
Maximum results in totalStops the whole run, comments plus replies

Output example

{
"commentId": "Ugzge340dBgB75hWBm54AaABAg",
"videoId": "dQw4w9WgXcQ",
"text": "can confirm: he never gave us up",
"author": "@YouTube",
"likeCount": 317000,
"replyCount": 962,
"publishedTimeText": "1 year ago",
"isPinned": false,
"isHearted": true,
"isReply": false,
"parentCommentId": null
}

Pricing

You pay per comment or reply returned, plus a tiny start fee. Videos with comments turned off or removed videos return nothing and cost nothing. Set a maximum spend per run and the Actor stops when it is reached.

Notes

  • Videos with comments turned off are listed in the FAILED_VIDEOS record of the run's key-value store.
  • The Actor reads publicly visible comments. Use the data in line with YouTube's terms and with privacy law such as GDPR when it contains personal data.
  • Missing a field or need playlists and channels? Open an issue on the Actor page.