Social media data

YouTube Search Scraper: search results as rows, with YouTube's filters

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.

6 users91.7% successful runs (30 days)

What data you get

titleVideo or channel title
viewsView count
ageHow long ago it was uploaded
durationVideo length
channelChannel name
positionRank in the search results
subscribersSubscriber count (channel results)
handleChannel handle (channel results)

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$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.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

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 →

Most popular iPhone 17 review videos this week

Uploaded this week, sorted by popularity.

{
  "searchQueries": [
    "iphone 17 review"
  ],
  "uploadDate": "week",
  "sortBy": "popularity",
  "maxResultsPerQuery": 50
}
Run this task →

Find viral Bangkok street food Shorts

Shorts with over 100k views only.

{
  "searchQueries": [
    "street food bangkok"
  ],
  "resultType": "shorts",
  "minViews": 100000,
  "maxResultsPerQuery": 40
}
Run this task →

Find YouTube channels about Python and web scraping

Channel results with subscribers and handle.

{
  "searchQueries": [
    "python tutorial",
    "web scraping"
  ],
  "resultType": "channel",
  "maxResultsPerQuery": 30
}
Run this task →

Use cases

FAQ

Do I need a YouTube API key?

No. The scraper reads public search results without an API key or quota.

Can I get only Shorts or channels?

Yes. Set the result type to video, Shorts or channel; channels come with subscribers, handle and description.

How do I get only the newest videos?

Use the upload date filter (last hour, today, this week, month or year).

Is it legal to scrape YouTube?

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.

How do I get the data into my app or spreadsheet?

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.

More scrapers

Scrape YouTube search results now

Run on Apify — free trial