YouTube Scraper for AI Agents: Search, Channels, Comments
Pricing
from $1.50 / 1,000 video (full details)s
YouTube Scraper for AI Agents: Search, Channels, Comments
Scrape YouTube search results, channels, playlists and videos into clean, LLM-ready JSON: views, exact likes, comment count, subscribers, tags, category, ISO publish time and top comments. Date and sort filters. No API key. Pay only for rows delivered.
Pricing
from $1.50 / 1,000 video (full details)s
Rating
0.0
(0)
Developer
Henry Crawl
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 hours ago
Last modified
Categories
Features
Share
Get YouTube search results, channel videos, playlists, single videos and public comments as clean, strictly typed JSON that an LLM or AI agent can use directly. No API key, no login, no YouTube quota.
Every row tells you how sure it is: approximate numbers are flagged (viewCountIsApprox, likeCountIsApprox, ...), fields YouTube hides are listed in missingFields, and every row carries its source and scrapedAt time. Failed inputs come back as free error rows with a clear status, never as silent gaps.
What you get per video
| Field | Example |
|---|---|
title, url, videoId | Rick Astley - Never Gonna Give You Up, https://www.youtube.com/watch?v=dQw4w9WgXcQ |
viewCount | 1837088651 (exact) |
likeCount | 19504389 (exact, when the creator shows likes) |
commentCount | 2400000 (+ commentCountIsApprox: true when YouTube rounds it) |
channel | {id, name, url, handle: "@RickAstleyYT", isVerified, subscriberCount: 4560000} |
publishedAt | 2009-10-24T23:57:33-07:00 (ISO 8601, exact time) |
durationSeconds, liveStatus, isShort | 213, not_live, false |
tags, category, isFamilySafe | ["rick astley", ...], Music, true |
description | full description text |
comments (optional) | [{text, likeCount, replyCount, publishedText, isPinned, isByChannelOwner, isHearted}] |
source | {type: "search", input: "mechanical keyboard review", rank: 3} |
Comment author names and channels are not collected (privacy by design). You get the text and its signals, which is what analysis needs.
Use cases
- AI agents / MCP tools: "find this week's most viewed videos about X and summarise what viewers complain about".
- Market & product research: read the top comments under competitor reviews.
- Creator & channel analytics: track views, likes and engagement of any public channel.
- Trend monitoring: newest uploads for a keyword, filtered to the last hour, day or week.
- RAG datasets: pair with YouTube Transcript for LLM & RAG for the spoken content.
Input
{"searchQueries": ["mechanical keyboard review"],"startUrls": ["@mkbhd", "https://www.youtube.com/watch?v=dQw4w9WgXcQ"],"maxResultsPerSource": 20,"sortBy": "date","uploadedWithin": "week","includeDetails": true,"maxCommentsPerVideo": 50,"commentsSort": "top"}
- searchQueries: keywords; videos only. Combine with
sortBy(relevance, date, views, rating) anduploadedWithin(hour, today, week, month, year). - startUrls: videos, Shorts,
@handles, channel URLs, playlists or YouTube search URLs, mixed freely. - channelTab:
videos,shortsorstreams. - includeDetails: turn off for a fast, cheap list (title, views, duration, channel, description snippet; no publish date).
- maxCommentsPerVideo: 0 to 2000 top-level comments per video.
Output example
{"type": "video","status": "OK","dataLevel": "full","videoId": "l5EaCVcfMr0","url": "https://www.youtube.com/watch?v=l5EaCVcfMr0","title": "Wobkey Rainy75 V2 Review – Is the Upgrade Worth It?","viewCount": 3459,"viewCountIsApprox": false,"likeCount": 65,"likeCountIsApprox": false,"commentCount": 39,"commentCountIsApprox": false,"channel": {"id": "UCwmReIrvBneiqbiS30phlfw","name": "LumeKeebs","url": "http://www.youtube.com/@LumeKeebs","handle": "@LumeKeebs","isVerified": false,"subscriberCount": 8130,"subscriberCountIsApprox": true},"publishedAt": "2026-11-13T13:57:41-08:00","publishedAtIsApprox": false,"durationSeconds": 785,"liveStatus": "not_live","tags": ["Wobkey Rainy75 V2","Wobkey Rainy75","Rainy75 V2 review","..."],"category": "People & Blogs","commentsFetched": 19,"comments": [{"commentId": "UgwXUvAx9mgDWcRbEmB4AaABAg","text": "Having to take it apart to release the back plate to then get access to the receiver is a weird design choice. I would u","likeCount": 4,"likeCountIsApprox": false,"replyCount": 3,"publishedText": "10 hours ago","isEdited": false,"isPinned": false,"isByChannelOwner": false,"isHearted": false}],"missingFields": [],"source": {"type": "search","input": "mechanical keyboard review","rank": 1},"scrapedAt": "2026-11-14T12:35:24.451478+00:00"}
Error row (not charged):
{"type": "error", "status": "INVALID_URL", "input": "https://example.com/x", "error": "Not a YouTube video, Shorts, channel, playlist or search URL / ID."}
Pricing (pay per event)
| Event | Price | When |
|---|---|---|
video | $1.50 / 1,000 videos | a video row with full details |
search-result | $0.50 / 1,000 | a video row with includeDetails: false |
comment | $0.40 / 1,000 comments | each comment delivered |
Residential proxy is included. Error rows, duplicates and videos that could not be loaded are free. Set a maximum cost per run in Apify and the actor stops cleanly when it is reached.
FAQ
Is it legal? The actor only reads public pages that any logged-out visitor sees. It does not log in, does not bypass captchas or bot checks, and does not collect comment authors. You are responsible for how you use the data (copyright, GDPR and YouTube's terms in your country).
Why are some numbers approximate? YouTube rounds some counts (e.g. "2.4M comments", "4.56M subscribers"). The actor gives the number and tells you it is approximate instead of pretending.
Why does commentsFetched differ from commentCount? commentCount includes replies; the actor returns top-level comments.
Likes missing? Some creators hide likes. Then likeCount is null and listed in missingFields.
Rate limits? The actor is polite (small concurrency, backoff, fresh IP on retry). If YouTube asks an IP to prove it is not a bot, the video is returned as a free BOT_CHECK row; it is never bypassed.