Youtube Comments avatar
Youtube Comments

Pricing

$5.00/month + usage

Go to Apify Store
Youtube Comments

Youtube Comments

This tool extracts comments from YouTube videos, providing details such as the author, content, likes, replies, and more. It supports sorting options like top comments or newest first. The results are returned in a structured JSON format for easy integration and analysis.

Pricing

$5.00/month + usage

Rating

0.0

(0)

Developer

shareze

shareze

Maintained by Community

Actor stats

1

Bookmarked

3

Total users

1

Monthly active users

11 days ago

Last modified

Share

YouTube Comments Scraper

This tool is designed to scrape comments from a specific YouTube video. It retrieves detailed information about the comments, including the author, content, likes, replies, and more.

How to Use

1. Input Configuration

The tool requires an input JSON object to define the scraping parameters. The structure of the input is as follows:

{
"videoId": "7bjYAnSLBZo",
"size": 10,
"sort_by": "top"
}
  • videoId: (Required) The YouTube video ID, e.g., https://www.youtube.com/watch?v=7bjYAnSLBZo -> 7bjYAnSLBZo.
  • size: (Required) The number of comments to retrieve. Default is 10. Minimum is 1.
  • sort_by: (Optional) Sort comments by:
    • top: Top comments (default).
    • newest: Newest comments first.

2. Output Data

The tool returns an array of objects containing information about the comments. The structure of each object is as follows:

{
"authorChannelId": "UC123456789",
"authorName": "Example Author",
"authorAvatarThumbnailUrl": "https://example.com/avatar.jpg",
"authorIsVerified": true,
"commentId": "abc123",
"content": "This is an example comment.",
"publishedTime": "2025-10-01",
"likeCount": 100,
"replyCount": 5
}
  • authorChannelId: The unique ID of the comment author’s channel.
  • authorName: The name of the comment author.
  • authorAvatarThumbnailUrl: The URL of the author’s avatar thumbnail.
  • authorIsVerified: Whether the author is verified.
  • commentId: The unique ID of the comment.
  • content: The content of the comment.
  • publishedTime: The time the comment was published.
  • likeCount: The number of likes the comment received.
  • replyCount: The number of replies to the comment.

3. Running the Tool

  1. Deploy the tool on the Apify platform.
  2. Provide the input JSON in the tool's input configuration.
  3. Run the tool to scrape comments from the specified YouTube video.
  4. Retrieve the output dataset containing the comment details.

Notes

  • This tool uses YouTube's public interface and may be subject to rate limits or restrictions.
  • Ensure that the input videoId is valid and corresponds to an existing YouTube video.
  • The tool is optimized for performance but may require adjustments based on YouTube's response behavior.