
Youtube Search Scraper
Pricing
Pay per event

Youtube Search Scraper
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
1
Total users
19
Monthly users
11
Runs succeeded
>99%
Last modified
2 months ago
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
Parameter | Type | Required | Description |
---|---|---|---|
query | string | β | Search query to look for videos. Can be a keyword or phrase. |
resultsCount | number | β | Maximum number of videos to extract. If not set, only a few of the first videos will be returned. |
timeWindow | number | β | Time window in days to filter videos published in the last X days. |
sortByUploadDate | boolean | β | Sort results by output date. |
Example Input
{"query": "Trump","resultsCount": 10,"timeWindow": 3}
Output Data
The actor returns an array of JSON objects representing individual YouTube videos with enriched metadata.
Example Output
[{"id": "lawvcQd3syc","url": "https://www.youtube.com/watch?v=lawvcQd3syc","title": "Trumpβs tariff triumph as a mind-blowing 50 world leaders beg to negotiate with the president","thumbnailUrl": "https://i.ytimg.com/vi/lawvcQd3syc/hq720.jpg","channelName": "Sky News Australia","length": 418,"viewCount": 367429,"publishedTimeText": "16 hours ago","interpolatedTimestamp": 1744000134634,"descriptionSnippet": "Donald Trump's tariffs are causing mass hysteria across the globe..."}]
Usage
- Sign in to Apify and open the YouTube Search Scraper actor page.
- Input your search parameters (query, resultsCount, timeWindow).
- Run the actor from the UI or via API.
- 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
Other Recommended Scrapers
- π¦ X (Twitter) Posts Search β Search tweets by keyword or hashtag
- π¦ X Post Replies Scraper β Scrap replies of multiple X (Twitter) posts
- π Facebook Posts Search β Find public Facebook content
- π¬ Facebook Comments Scraper β Extract comments from public Facebook posts
- π¬ YouTube Comments Scraper β Extract comments from YouTube videos
- π Zalando Price Alert β Track Zalando products and receive alerts when prices drop
Support & Contact
π¬ Need help or want to suggest a feature? Open an issue or contact us at scraper1one@gmail.com