Youtube Search Scraper avatar
Youtube Search Scraper

Pricing

Pay per event

Go to Store
Youtube Search Scraper

Youtube Search Scraper

Developed by

Scraper One

Maintained by Community

This Apify Actor performs a YouTube video search based on a given keyword or phrase, and extracts detailed metadata for each video found.

0.0 (0)

Pricing

Pay per event

0

Monthly users

2

Runs succeeded

>99%

Last modified

9 hours ago

Apify Actor

This Apify Actor performs a YouTube video search based on a given keyword or phrase, and extracts detailed metadata for each video found.
Results include video title, URL, thumbnail, channel name, duration, view count, publish time, interpolated timestamp, and a short description snippet.

Ideal for trend tracking, market research, content discovery, or monitoring topics of interest on YouTube.
Discover high-performing videos in your niche and understand viewer engagement and timing patterns. 🎯

Features

  • 🔍 Search YouTube by keywords
  • ⏳ Filter by time window (e.g. videos from the last 3 days)
  • 📸 Extract video thumbnails
  • 📊 Retrieve view counts, durations, and publish dates
  • 📝 Grab description snippets for quick context

Input Parameters

ParameterTypeRequiredDescription
querystringSearch query to look for videos. Can be a keyword or phrase.
resultsCountnumberMaximum number of videos to extract. If not set, only a few of the first videos will be returned.
timeWindownumberTime window in days to filter videos published in the last X days.
sortByUploadDatebooleanSort results by output date.

Example Input

1{
2  "query": "Trump",
3  "resultsCount": 10,
4  "timeWindow": 3
5}

Output Data

The actor returns an array of JSON objects representing individual YouTube videos with enriched metadata.

Example Output

1[
2  {
3    "id": "lawvcQd3syc",
4    "url": "https://www.youtube.com/watch?v=lawvcQd3syc",
5    "title": "Trump’s tariff triumph as a mind-blowing 50 world leaders beg to negotiate with the president",
6    "thumbnailUrl": "https://i.ytimg.com/vi/lawvcQd3syc/hq720.jpg",
7    "channelName": "Sky News Australia",
8    "length": 418,
9    "viewCount": 367429,
10    "publishedTimeText": "16 hours ago",
11    "interpolatedTimestamp": 1744000134634,
12    "descriptionSnippet": "Donald Trump's tariffs are causing mass hysteria across the globe..."
13  }
14]

Usage

  1. Sign in to Apify and open the YouTube Search Scraper actor page.
  2. Input your search parameters (query, resultsCount, timeWindow).
  3. Run the actor from the UI or via API.
  4. Download results in JSON, CSV, or Excel format.

Limitations & Notes

  • YouTube's structure may change; this actor targets current layouts.
  • Results depend on YouTube's public search – private/unlisted videos are not included.
  • Use responsibly and comply with YouTube's Terms of Service.

Best Use Case Flow

  • 🔍 Use this actor to find YouTube videos by keyword
  • 📥 Pipe video URLs into a YouTube Comments Scraper to extract replies
  • 📊 Analyze engagement, comments, and popularity over time

Support & Contact

📬 Need help or want to suggest a feature? Open an issue or contact us at scraper1one@gmail.com

Pricing

Pricing model

Pay per event 

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Init

$0.003

Initialize actor

Result item

$0.003

Result item