youtube-comments-api-skill

Extract YouTube video metadata and comments via the BrowserAct API.

5.3k|252|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/browser-act/skills --skill youtube-comments-api-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-comments-api-skill
Source: https://github.com/browser-act/skills/tree/main/solutions/video-platforms/youtube-comments-api-skill
Command: npx skills add https://github.com/browser-act/skills --skill youtube-comments-api-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

This skill provides a one-stop extraction service for YouTube video and comment data through the BrowserAct YouTube Comments API template. It can extract structured video results along with their respective comments directly from YouTube. By simply providing search keywords, comment limits, and scroll counts, you can acquire clean and ready-to-use video and comment datasets directly.

Core Features & Use Cases

  • Automated extraction of YouTube video data and associated comments via the BrowserAct YouTube Comments API.
  • Configurable search keywords, per-video comment limits, and scroll counts to load deeper discussions.
  • Supports collecting video metadata (title, URL, publication time, views) and commenter details (name, URL) along with comments.
  • Use cases include audience insights, market research, competitive monitoring, and trend analysis.

Quick Start

Run the youtube-comments-api.py script with your keywords to fetch video data and comments.

Frequently Asked Questions about youtube-comments-api-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract YouTube comments and video data using an API?

To extract YouTube comments and video data via API, provide search keywords, comment limits, and scroll counts to the BrowserAct API template. It returns structured datasets containing video metadata, commenter details, and comment texts for analysis.

Can I limit the number of comments extracted per YouTube video?

Yes, you can limit the comments extracted per YouTube video by setting the Comments_limit parameter. You can also adjust the Scroll_count parameter to control how deeply the API loads discussion threads before extraction.

Do I need a BrowserAct API key to scrape YouTube video metadata?

Yes, a BrowserAct API key is required to scrape YouTube video metadata. The extraction script runs in a Python runtime environment and uses the requests dependency to authenticate and fetch structured video titles, URLs, views, and comments.

What YouTube data fields are available for sentiment analysis and market research?

For sentiment analysis and market research, the extracted YouTube data includes video metadata like titles, URLs, publication times, view counts, along with comment text and commenter details like names and profile URLs.

How does scroll count affect YouTube comment extraction depth?

The scroll count determines how many times the API scrolls down the YouTube page to load additional discussion threads. Increasing the Scroll_count parameter allows the extraction of deeper and older comments associated with the target videos.

What's the best way to automate audience insight collection from YouTube?

Automating audience insight collection from YouTube is best achieved by running the Python extraction script with targeted keywords. The BrowserAct API automatically retrieves and structures video data and comments, providing ready-to-use datasets for competitive monitoring.