YouTube Videos Scraper: Search, Channels, Playlists, Shorts
Pricing
from $1.00 / 1,000 results
YouTube Videos Scraper: Search, Channels, Playlists, Shorts
YouTube videos scraper: title, video ID, channel, view count, publish time, duration and Shorts flag; full details add likes, comment count and description. Takes search keywords or YouTube channel, playlist and video URLs, no API key. Use it to research YouTube search results and channel videos.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Tam Ng.
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Scrape YouTube search results, channel videos, Shorts, playlists and single videos to JSON, CSV or Excel with no login, no API key and no quota, for $2 per 1,000 results on the Free plan, down to $1 on higher plans.
What you can do with it
- Market and product research: search "wireless earbuds review" or any product keyword, sort by view count, and see which videos and channels lead the topic.
- Competitor and channel monitoring: scrape a competitor's channel URL with newest videos first, run it daily, and compare
videoIdsets to spot new uploads. - Influencer discovery: search with result type "Channels only" to get channel names, handles, subscriber counts and descriptions for outreach lists.
- Trend tracking: combine the upload date filter (last hour, today, this week) with "Upload date" sorting to follow what is being published right now.
- Playlist and course exports: export every video in a playlist with its position, title, duration and views.
- AI and analytics pipelines: feed titles, descriptions and engagement numbers into a spreadsheet or an LLM workflow.
What it can scrape
| Input | What you get |
|---|---|
| Search keywords | Videos (and optionally Shorts, channels, playlists) with filters: sort by relevance, upload date, view count or rating; upload date (last hour to this year); duration (under 4 minutes, 4 to 20 minutes, over 20 minutes); result type |
Channel URL (youtube.com/@mkbhd, /channel/UC..., /c/..., /user/...) | All videos of the channel, newest, most popular or oldest first, plus channel name, handle, subscriber count and video count on every record. Add /shorts or /streams to the URL to get Shorts or live streams instead |
Playlist URL (youtube.com/playlist?list=...) | Every video in the playlist with its position |
Video URL (youtube.com/watch?v=..., youtu.be/..., /shorts/...) | Full details of that video |
Search results URL (youtube.com/results?search_query=...) | Same as keywords; filters from the URL (sp parameter) are kept |
Output fields
Every video record:
| Field | Example |
|---|---|
type | video |
videoId / url | tUhLcDnXdwg / https://www.youtube.com/watch?v=tUhLcDnXdwg |
title | We Tested the Best Wireless Earbuds for 2026 | Top Picks For Every Budget |
channelName / channelId / channelUrl / channelVerified | Tom's Guide / UCik8xvfR6s8GQ74QNEGNzwg / https://www.youtube.com/@TomsGuideUS / true |
viewCount / viewCountText | 422920 / 422,920 views |
publishedTimeText | 7 months ago |
duration / durationSeconds | 9:04 / 544 |
isShort / isLive | false / false |
badges | ["4K"] |
descriptionSnippet, thumbnail | search snippet, best thumbnail URL |
position, page, query, scrapedAt | 2 / 1 / wireless earbuds review / 2026-11-05T13:07:28.645Z |
These fields come only from the video page. They are on records from a video URL, and on search, channel and playlist records only when Fetch full video details is on. Without it, search, channel and playlist records do not have them:
| Field | Example |
|---|---|
likeCount / commentCount | 2300 / 255 |
description | full video description |
publishDate / dateText | 2026-03-16 / Mar 16, 2026 |
channelSubscriberCount / channelSubscriberCountText | 166000 / 166K subscribers |
playabilityStatus | LOGIN_REQUIRED or UNPLAYABLE are common (see Limitations) |
hasCaptions, keywords, uploadDate, category, lengthSeconds, isFamilySafe, isLiveContent | filled only when YouTube returns full player data; otherwise null (unknown). hasCaptions is known only when playabilityStatus is OK, so it is often null |
hashtags | ["#AI", "#Python"] (from the description and the hashtag line above the title) |
descriptionLinks | full link targets from the description, e.g. ["https://amzn.to/4ifoukW"] |
commentsTurnedOff | true when the video page says comments are off, false when it has comments, null if unknown |
channelVerified / channelAvatarUrl | true / channel avatar URL |
isAgeRestricted | false when the video plays, true when YouTube shows its age gate, null (unknown) otherwise |
Every video record from search or a channel also has isMembersOnly (true for members-only videos).
Channel records (search type "Channels only" or "Any"): channelId, url, title, handle, subscriberCount, subscriberCountText, description, verified, thumbnail.
Playlist records (search type "Playlists only" or "Any"): playlistId, url, title, channelName, videoCount, thumbnail.
Records from a channel URL also carry channelHandle, channelSubscriberCount, channelSubscriberCountText and channelVideoCount, plus the channel's About data: channelVerified, channelDescription, channelDescriptionLinks (title and URL), channelCountry, channelJoinedDate (YYYY-MM-DD), channelTotalViews, channelAvatarUrl and channelBannerUrl. Records from a playlist URL carry playlistId and playlistIndex.
Example output
One real record from a cloud test run (search "wireless earbuds review" with video details on). The long description and snippet are trimmed.
{"type": "video","videoId": "tUhLcDnXdwg","url": "https://www.youtube.com/watch?v=tUhLcDnXdwg","title": "We Tested the Best Wireless Earbuds for 2026 | Top Picks For Every Budget","channelName": "Tom’s Guide","channelId": "UCik8xvfR6s8GQ74QNEGNzwg","channelUrl": "https://www.youtube.com/@TomsGuideUS","channelVerified": true,"viewCount": 422920,"viewCountText": "422,920 views","publishedTimeText": "7 months ago","duration": "9:04","durationSeconds": 544,"isLive": false,"isShort": false,"descriptionSnippet": "Get the best earbuds right here ...","badges": ["4K"],"thumbnail": "https://i.ytimg.com/vi/tUhLcDnXdwg/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDjI1ApVMwqEKER0-qKXguIWi2Fag","description": "Get the best earbuds right here ...","likeCount": 2300,"commentCount": 255,"publishDate": "2026-03-16","dateText": "Mar 16, 2026","channelSubscriberCountText": "166K subscribers","channelSubscriberCount": 166000,"playabilityStatus": "LOGIN_REQUIRED","position": 2,"page": 1,"query": "wireless earbuds review","scrapedAt": "2026-11-05T13:07:28.645Z"}
How to use
- Open the Actor and add Search queries (one keyword per line), YouTube URLs (channels, playlists, videos or search result pages), or both.
- Set Max results per query or URL, pick filters such as sort order and upload date, and turn on Fetch full video details if you need likes, comments and full descriptions.
- Click Start, then download the dataset as JSON, CSV, Excel or HTML, or read it through the API.
Example input:
{"searchQueries": ["wireless earbuds review", "best budget laptop 2026"],"startUrls": [{ "url": "https://www.youtube.com/@mkbhd" },{ "url": "https://www.youtube.com/playlist?list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf" }],"maxResultsPerQuery": 100,"searchType": "video","searchSortBy": "view_count","uploadDate": "month","videoDuration": "any","includeShorts": true,"channelVideosSort": "newest","maxShortsPerChannel": 0,"maxStreamsPerChannel": 0,"searchFeatures": [],"publishedAfter": "","videoDetails": true,"language": "en","country": "US"}
Tips:
- YouTube returns about 20 search results or 30 channel videos per page, so large limits take more pages.
- Set
languageandcountry(for exampledeandDE) to get localized results and texts. - For a daily feed of new videos, search with
uploadDate: "today"andsearchSortBy: "upload_date", or scrape the channel URL withchannelVideosSort: "newest"and comparevideoIdsets. - An API call that sends only
startUrlsscrapes only those URLs; no example search is added. A run with neither queries nor URLs uses the example querywireless earbuds reviewand says so in the log. - Search features filter (
searchFeatures) is the "Features" part of YouTube's filter menu:live,4k,hd,subtitles,creative_commons,360,vr180,3d,hdr,purchased. Result type "Movies only" (searchType: "movie") returns full-length movies. - Only videos published after (
publishedAfter) takes a date (2026-01-31) or a period (7 days,2 weeks,3 months) and works for search, channel and playlist results. - For a channel URL,
maxShortsPerChannelandmaxStreamsPerChannelalso save that many Shorts and live streams from the channel, next to its videos. - Datacenter proxy (the default) is enough. If YouTube ever starts refusing requests, switch the proxy to residential.
Pricing and cost examples
You pay per result record in the dataset (one video, channel or playlist). Platform usage and proxy traffic are included. Fetching full details costs the same per record; it only makes the run slower.
| Apify plan tier | Price per 1,000 results |
|---|---|
| Free | $2.00 |
| Bronze | $1.50 |
| Silver | $1.20 |
| Gold, Platinum, Diamond | $1.00 |
Cost examples on the Free plan:
- 100 results ≈ $0.20
- 1,000 results ≈ $2
- 10,000 results ≈ $20 (about $10 on Gold and higher tiers)
There is also a one-time start fee of $0.00005 per run. The Apify Free plan gives you $5 of platform credit every month, which is enough for about 2,500 results at the Free price.
A search query or URL that fails or returns nothing adds no records, so it adds no result charges. You can also set a maximum total charge per run in the run options; the Actor stops when it is reached.
Use it via API, on a schedule, or from an AI agent
Replace YOUR_API_TOKEN with your Apify API token.
JavaScript (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('tamnt67/youtube-scraper').call({searchQueries: ['wireless earbuds review'],maxResultsPerQuery: 50,videoDetails: true,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("tamnt67/youtube-scraper").call(run_input={"searchQueries": ["wireless earbuds review"],"maxResultsPerQuery": 50,"videoDetails": True,})items = client.dataset(run["defaultDatasetId"]).list_items().itemsprint(items)
cURL (runs the Actor and returns the dataset items in one call):
curl -X POST "https://api.apify.com/v2/acts/tamnt67~youtube-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQueries": ["wireless earbuds review"], "maxResultsPerQuery": 50}'
Schedules: create a task with your input and add it to Apify Schedules to run it every hour, day or week; each run saves a new dataset.
AI agents: the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.
FAQ
How much does the YouTube Scraper cost? The YouTube Scraper costs $2 per 1,000 results on the Apify Free plan and goes down to $1 per 1,000 on Gold and higher tiers. 100 results cost about $0.20. Platform usage and proxy traffic are included, and the Free plan's $5 monthly credit covers about 2,500 results.
How many results can I get? The YouTube Scraper returns up to 5,000 results for each search query or URL, set with Max results per query or URL. The real number can be lower when YouTube runs out of results for a search or when a channel or playlist has fewer videos.
How do I get more results? With the YouTube Scraper, raise Max results per query or URL, add more search queries (each is scraped separately), or split a broad topic into narrower keywords and upload date filters.
Can I run it through the API or on a schedule? Yes. The YouTube Scraper can be started from the Apify API with the JavaScript or Python client or a single cURL call, and saved as a task in Apify Schedules for daily or hourly runs. AI assistants can run it through the Apify MCP server.
How fresh is the data?
The YouTube Scraper reads YouTube live during each run, so the numbers are what YouTube showed at that moment. Every record has a scrapedAt timestamp.
Is it legal to scrape YouTube? The YouTube Scraper collects only publicly visible data and does not log in. You are responsible for how you use the data, including YouTube's terms of service and data protection laws such as GDPR when records contain personal data such as channel or creator names. This is not legal advice; ask a lawyer if you are unsure about your use case.
Limitations
- Comments and transcripts are not included (separate Actors cover them).
- View counts in list results are rounded by YouTube ("1.2M views"). Turn on video details for exact numbers.
- Age-restricted or private videos return limited data.
- When YouTube answers the details request with
playabilityStatus: "LOGIN_REQUIRED"(common on cloud runs, as in the example record),keywords,category,uploadDate,lengthSeconds,isFamilySafeandhasCaptionsare null (unknown).publishDateis then taken from the date shown on the video page (dateText). Likes, comment count, description and subscriber count still come through. The Actor never signs in to YouTube. - If the details request for a video fails, the video is still saved with its list data only.
- Shorts found in search results come without channel, publish time or duration in the list data; video details can fill in some of these.
publishedAfteruses the exact publish date when Fetch full video details is on; otherwise it reads YouTube's relative text ("3 weeks ago"), which is approximate (a month counts as 30 days) and English only. Shorts and other items without a date are kept unless video details are on. On newest-first lists (channel URLs, search sorted by upload date) the Actor stops reading pages once most of a page is older.commentsTurnedOff,isAgeRestrictedandchannelVerifiedfrom the video page are null when YouTube does not show the information.isMembersOnlydepends on the badge YouTube shows in the list.- Transcripts, subtitles, AI summaries and the video location are not included.
- Search filters (sort, upload date, duration, result type, features) apply to search queries only; channel order applies to channel URLs only.
- Each query or URL stops at 5,000 results, and the Actor reads at most 500 pages per query or URL.
- Unsupported URLs (for example a YouTube home page or a non-YouTube link) are skipped and logged.
Changelog
- 1.0 update (2026-11-23): new search filters (features such as Live, 4K, HD, Subtitles, Creative Commons, 360°, HDR; result type "Movies only"), a "published after" filter for search, channel and playlist results, optional Shorts and live streams for channel URLs, channel About data on channel-URL records (description, links, country, joined date, total views, avatar, banner, verified), and new video fields
hashtags,descriptionLinks,commentsTurnedOff,channelAvatarUrl,isAgeRestrictedandisMembersOnly. Existing inputs and fields work as before. - 1.0 update (2026-11-19): the field list now says clearly that likes, full description, publish date, subscriber count, playability status and captions come only from video URLs or with Fetch full video details on, and that
hasCaptionsis often null.publishDateis always a plain date (YYYY-MM-DD); it was sometimes a full timestamp. - 1.0 (2026-11-19):
publishDatenow comes from the date shown on the video page, andhasCaptionsandkeywordsare null (unknown) instead of false or empty when YouTube answers withLOGIN_REQUIRED; an API call with onlystartUrlsno longer also runs the example search.
Integrations
Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.
Support
Found a problem or missing field? Report it in the Issues tab of this Actor.