YouTube Scraper – Videos, Comments & Channels (no browser)
Pricing
from $1.80 / 1,000 video scrapeds
YouTube Scraper – Videos, Comments & Channels (no browser)
Scrape YouTube search results, channel videos/Shorts/live and video URLs via YouTube's own JSON API: views, duration, dates, likes, tags, chapters, comments with replies and channel info. Filters before charging, shared cache, no browser, no API key.
Pricing
from $1.80 / 1,000 video scrapeds
Rating
0.0
(0)
Developer
Budoucnost AI
Maintained by CommunityActor stats
1
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Scrape YouTube search results, channel videos (incl. Shorts and live streams) and individual video URLs – with optional full video details, comments with replies and channel info – in one run. The actor talks to YouTube's own JSON API (the one youtube.com uses internally), so it needs no browser, no API key and no login, starts in seconds and stays cheap.
All filters (date, views, duration, Shorts/live, regex, excluded ids, limits, duplicates) are applied before you are charged, so you only pay for rows you actually want.
What you can use it for
- Brand & competitor monitoring – every new video mentioning your brand in the last week, with views and comments.
- Influencer discovery – search a niche, keep videos with 10k–500k views, get the channel's subscribers, country and links.
- Channel analytics – all uploads of a channel (or only the last 30 days), most popular videos, Shorts vs. long-form.
- Comment research / sentiment – top or newest comments with replies, likes, pinned and "hearted by creator" flags.
- Content research – titles, tags, hashtags, chapters and descriptions of the top videos for a keyword.
Input
| Field | Type | Default | Description |
|---|---|---|---|
searchQueries | string[] | – | YouTube search terms. Each query is one source. |
channelUrls | string[] | – | Channel URL, @handle, /channel/UC…, /c/name or UC… id. Videos tab + Shorts/Live tabs. |
videoUrls | string[] | – | watch / youtu.be / shorts / live URLs or video ids. |
maxItems | integer | 50 | Max video rows in total. |
maxItemsPerSource | integer | 0 | Max videos per query/channel (0 = off). |
sortBy | relevance | date | views | rating | relevance | Search sort; for channels views = Popular, otherwise newest first. |
uploadDate | any | hour | today | week | month | year | any | YouTube filter + enforced client-side (channels too). |
durationFilter | any | short | medium | long | any | YouTube length filter (< 4 min, 4–20 min, > 20 min). |
features | string[] | [] | YouTube feature filters: hd, 4k, subtitles, creativeCommons, live, 360, vr180, 3d, hdr, location, purchased. |
country | string | US | Region of results (gl), e.g. CZ, DE. |
publishedAfter / publishedBefore | string | – | ISO date or relative ("30 days"). Channel listings stop paging once videos are older. |
minViews / maxViews | integer | 0 | View range (0 = off). |
minDurationSec / maxDurationSec | integer | 0 | Exact duration range in seconds. |
includeShorts | boolean | true | Include Shorts. |
includeLive | boolean | true | Include live, upcoming and premiere videos. |
includeRegex / excludeRegex | string | – | Case-insensitive regex over title + channel + description. |
excludeIds | string[] | [] | Video ids/URLs to skip (e.g. already scraped). |
includeVideoDetails | boolean | false | Add-on: full description, keywords/tags, hashtags, likes, comment count, category, exact publish date, chapters, channel subscribers. |
includeComments | boolean | false | Scrape comments of each returned video. |
maxCommentsPerVideo | integer | 20 | Comment limit per video (replies included). |
commentsSort | top | newest | top | Comment order. |
includeReplies | boolean | false | Also fetch reply threads (parentId set). |
includeChannelInfo | boolean | false | Add-on: one channel row per channel (subscribers, views, videos, country, joined, links). |
cacheHours | integer | 24 | Reuse data fetched in the last N hours (0 = always fresh). |
useSharedCache | boolean | true | Reuse public video details / channel info fetched by other users of this actor. |
maxConcurrency | integer | 5 | Parallel requests. |
proxyConfiguration | object | Apify datacenter | Proxy settings. |
Example – videos about e-bikes from the last month with more than 1,000 views, plus 10 top comments each:
{"searchQueries": ["elektrokolo", "e-bike review"],"maxItems": 100,"uploadDate": "month","minViews": 1000,"includeShorts": false,"includeVideoDetails": true,"includeComments": true,"maxCommentsPerVideo": 10}
Output
Every row has a type: video, comment, channel or error (errors are free). Dataset views: Videos, Comments, Channels.
{"type": "video","id": "nwKPWkERQQw","url": "https://www.youtube.com/watch?v=nwKPWkERQQw","title": "LEVNÉ SKLÁDACÍ ELEKTROKOLO | TOUROLL S3 | RECENZE","channelName": "Jenda z Lesa","channelId": "UCeenU_SVl8CgKcPVSBCBDzg","channelUrl": "https://www.youtube.com/@JendazLesaa","channelHandle": "@JendazLesaa","publishedText": "2 months ago","publishedAt": "2026-08-31T17:30:17.000Z","publishedAtPrecision": "exact","durationSec": 528,"durationText": "8:48","viewCount": 3798,"thumbnail": "https://i.ytimg.com/vi/nwKPWkERQQw/hq720.jpg","isShort": false,"isLive": false,"isUpcoming": false,"descriptionSnippet": "V dnešním videu se podíváme na levné skládací elektrokolo TOUROLL S3…","badges": ["4K"],"source": { "type": "search", "value": "elektrokolo", "position": 10 },"likeCount": 56,"commentCount": 7,"description": "► V dnešním videu se podíváme na levné skládací elektrokolo…","keywords": ["elektrokolo", "touroll s3"],"hashtags": ["#elektrokolo"],"category": "Autos & Vehicles","uploadDate": "2026-08-31T17:30:17.000Z","channelSubscriberCount": 14300,"channelVerified": false,"chapters": [{ "title": "Intro", "startSec": 0 }],"scrapedAt": "2026-11-12T23:18:26.284Z"}
{"type": "comment","videoId": "KfODG5REyss","commentId": "UgxPvQeVzqKtAU2D1Gx4AaABAg","parentId": null,"author": "@veritasium","authorChannelId": "UCHnyfMqiRRG1u-2MsSQLbXA","authorUrl": "https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA","text": "Get all sides of every story at https://ground.news/ve …","likeCount": 582,"replyCount": 142,"publishedText": "8 days ago (edited)","publishedAt": "2026-11-04T23:14:13.633Z","isEdited": true,"isPinned": true,"isHearted": false,"isCreator": true}
{"type": "channel","id": "UCHnyfMqiRRG1u-2MsSQLbXA","url": "https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA","handle": "@veritasium","name": "Veritasium","subscriberCount": 21400000,"videoCount": 549,"viewCount": 4750687645,"description": "An element of truth - videos about science, education, and anything else we find interesting.","country": "United States","joinedDate": "2010-07-21","links": [{ "title": "Patreon", "url": "https://patreon.com/veritasium" }],"thumbnail": "https://yt3.googleusercontent.com/…=s900-c-k-c0x00ffffff-no-rj","isVerified": true}
publishedAtPrecision is exact (from the video details), day (watch page date) or estimate (computed from
YouTube's relative "3 weeks ago" text in listings).
Pricing (pay per event)
| Event | Price | When |
|---|---|---|
video-scraped | $0.0018 ($1.80 / 1,000 videos) | Each video row stored (after all filters). |
video-details | $0.001 | Add-on, per video when includeVideoDetails is on. |
comment-scraped | $0.0006 ($0.60 / 1,000 comments) | Each comment or reply row. |
channel-info | $0.002 | Add-on, per channel row. |
Skipped, duplicate, filtered, failed and blocked items are never charged. Example: 1,000 videos with details and 20 comments each = $1.80 + $1.00 + $12.00.
Why this instead of streamers/youtube-scraper
| This actor | streamers/youtube-scraper | |
|---|---|---|
| Price per 1,000 videos | $1.80 | $2.40–$4.00 (by plan) |
| Comments | $0.60 / 1,000, same run | separate actor ($0.90 / 1,000) |
| Videos + comments + channel info in one run | yes | three actors |
| Filters applied before charging (views, duration, regex, dates, ids) | yes | partly; date range on channels is a paid add-on |
| Date filter on channels | free, stops paging early | extra charge |
| Shared cache across users + per-user cache | yes – reruns are faster and get fewer blocks | no |
| Engine | YouTube JSON API, no browser, small memory, starts in seconds | – |
| Extra fields | chapters, hashtags, pinned / hearted / creator flags on comments, channel links & country, publishedAtPrecision | varies |
| Transcripts / subtitles | no (see Limitations) | yes |
Limitations
- No transcripts, subtitles or media downloads. YouTube protects caption files with a proof-of-origin token; generating it would mean circumventing anti-bot protection, which this actor does not do.
- Shorts in search shelves and on the Shorts tab come without channel, duration and date unless
includeVideoDetailsis on (with a date filter, the actor quietly checks their date without charging the add-on). - YouTube treats
sortBy: dateandratingin search as a hint rather than a strict order; combine withuploadDate. - Texts like
publishedTextstay in English (hl=en) so numbers and dates parse reliably;countrychanges the result region. - YouTube sometimes asks datacenter IPs to "sign in to confirm you're not a bot" on the video details endpoint. The actor
retries with a new proxy session and then falls back to watch-page data; if everything is refused it stores one free
blocked: truerow and stops. LowermaxConcurrencyor pick another proxy group in that case. - Hidden like counts are
null; videos with comments turned off havecommentCount: nulland no comment rows.
Integrations & API
Run it from your code with the Apify API client:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('budoucnost-ai/youtube-scraper').call({channelUrls: ['@veritasium'],maxItems: 20,publishedAfter: '90 days',includeVideoDetails: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.filter((i) => i.type === 'video').map((v) => `${v.viewCount}\t${v.title}`).join('\n'));
Works with Apify integrations (Make, Zapier, n8n, Google Sheets, webhooks) and schedules – e.g. a daily run with
uploadDate: "today" and excludeIds from the previous run gives you a feed of only new videos.