Scrape YouTube search results for a keyword
20 videos each for two searches.
{
"searchQueries": [
"bali villa tour",
"n8n tutorial"
],
"resultType": "video",
"maxResultsPerQuery": 20
}Run this task →Type any search the way you would on YouTube and get the results as rows: title, views, age, duration, channel and position. Choose videos, Shorts or channels, and use YouTube's filters for upload date, duration, popularity, live, subtitles and 4K. No API key and no quota.
title | Video or channel title |
views | View count |
age | How long ago it was uploaded |
duration | Video length |
channel | Channel name |
position | Rank in the search results |
subscribers | Subscriber count (channel results) |
handle | Channel handle (channel results) |
$0.50 per 1,000 rows
You pay per search result returned. Results skipped by the minimum-views filter are not charged, and there is no run fee.
Apify gives $5 free credits every month — enough to test this scraper at no cost.
Ready-made inputs. Copy one into the scraper form or send it through the API.
20 videos each for two searches.
{
"searchQueries": [
"bali villa tour",
"n8n tutorial"
],
"resultType": "video",
"maxResultsPerQuery": 20
}Run this task →Uploaded this week, sorted by popularity.
{
"searchQueries": [
"iphone 17 review"
],
"uploadDate": "week",
"sortBy": "popularity",
"maxResultsPerQuery": 50
}Run this task →Shorts with over 100k views only.
{
"searchQueries": [
"street food bangkok"
],
"resultType": "shorts",
"minViews": 100000,
"maxResultsPerQuery": 40
}Run this task →Channel results with subscribers and handle.
{
"searchQueries": [
"python tutorial",
"web scraping"
],
"resultType": "channel",
"maxResultsPerQuery": 30
}Run this task →No. The scraper reads public search results without an API key or quota.
Yes. Set the result type to video, Shorts or channel; channels come with subscribers, handle and description.
Use the upload date filter (last hour, today, this week, month or year).
The scraper collects only publicly visible data from YouTube, without logging in. Whether your use is lawful depends on your country and purpose: respect local law and the site's terms, and avoid collecting or storing personal data you don't need.
Run it from the Apify API or the Python and JavaScript clients, or connect it to Make, n8n, Zapier or Google Sheets. Results export to JSON, CSV or Excel.