YouTube Scraper – Videos, Comments & Channels (no browser) avatar

YouTube Scraper – Videos, Comments & Channels (no browser)

Pricing

from $1.80 / 1,000 video scrapeds

Go to Apify Store
YouTube Scraper – Videos, Comments & Channels (no browser)

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

Budoucnost AI

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

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

FieldTypeDefaultDescription
searchQueriesstring[]–YouTube search terms. Each query is one source.
channelUrlsstring[]–Channel URL, @handle, /channel/UC…, /c/name or UC… id. Videos tab + Shorts/Live tabs.
videoUrlsstring[]–watch / youtu.be / shorts / live URLs or video ids.
maxItemsinteger50Max video rows in total.
maxItemsPerSourceinteger0Max videos per query/channel (0 = off).
sortByrelevance | date | views | ratingrelevanceSearch sort; for channels views = Popular, otherwise newest first.
uploadDateany | hour | today | week | month | yearanyYouTube filter + enforced client-side (channels too).
durationFilterany | short | medium | longanyYouTube length filter (< 4 min, 4–20 min, > 20 min).
featuresstring[][]YouTube feature filters: hd, 4k, subtitles, creativeCommons, live, 360, vr180, 3d, hdr, location, purchased.
countrystringUSRegion of results (gl), e.g. CZ, DE.
publishedAfter / publishedBeforestring–ISO date or relative ("30 days"). Channel listings stop paging once videos are older.
minViews / maxViewsinteger0View range (0 = off).
minDurationSec / maxDurationSecinteger0Exact duration range in seconds.
includeShortsbooleantrueInclude Shorts.
includeLivebooleantrueInclude live, upcoming and premiere videos.
includeRegex / excludeRegexstring–Case-insensitive regex over title + channel + description.
excludeIdsstring[][]Video ids/URLs to skip (e.g. already scraped).
includeVideoDetailsbooleanfalseAdd-on: full description, keywords/tags, hashtags, likes, comment count, category, exact publish date, chapters, channel subscribers.
includeCommentsbooleanfalseScrape comments of each returned video.
maxCommentsPerVideointeger20Comment limit per video (replies included).
commentsSorttop | newesttopComment order.
includeRepliesbooleanfalseAlso fetch reply threads (parentId set).
includeChannelInfobooleanfalseAdd-on: one channel row per channel (subscribers, views, videos, country, joined, links).
cacheHoursinteger24Reuse data fetched in the last N hours (0 = always fresh).
useSharedCachebooleantrueReuse public video details / channel info fetched by other users of this actor.
maxConcurrencyinteger5Parallel requests.
proxyConfigurationobjectApify datacenterProxy 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)

EventPriceWhen
video-scraped$0.0018 ($1.80 / 1,000 videos)Each video row stored (after all filters).
video-details$0.001Add-on, per video when includeVideoDetails is on.
comment-scraped$0.0006 ($0.60 / 1,000 comments)Each comment or reply row.
channel-info$0.002Add-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 actorstreamers/youtube-scraper
Price per 1,000 videos$1.80$2.40–$4.00 (by plan)
Comments$0.60 / 1,000, same runseparate actor ($0.90 / 1,000)
Videos + comments + channel info in one runyesthree actors
Filters applied before charging (views, duration, regex, dates, ids)yespartly; date range on channels is a paid add-on
Date filter on channelsfree, stops paging earlyextra charge
Shared cache across users + per-user cacheyes – reruns are faster and get fewer blocksno
EngineYouTube JSON API, no browser, small memory, starts in seconds–
Extra fieldschapters, hashtags, pinned / hearted / creator flags on comments, channel links & country, publishedAtPrecisionvaries
Transcripts / subtitlesno (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 includeVideoDetails is on (with a date filter, the actor quietly checks their date without charging the add-on).
  • YouTube treats sortBy: date and rating in search as a hint rather than a strict order; combine with uploadDate.
  • Texts like publishedText stay in English (hl=en) so numbers and dates parse reliably; country changes 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: true row and stops. Lower maxConcurrency or pick another proxy group in that case.
  • Hidden like counts are null; videos with comments turned off have commentCount: null and 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.