YouTube Scraper by Keyword Search (Videos & Shorts)
Pricing
from $1.20 / 1,000 video scrapeds
YouTube Scraper by Keyword Search (Videos & Shorts)
Search YouTube by keyword and scrape videos and Shorts. Get titles, channels, views, duration, thumbnails, and more.
Pricing
from $1.20 / 1,000 video scrapeds
Rating
0.0
(0)
Developer
LurkAPI
Actor stats
1
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Search YouTube for any keyword and get structured data on every result. Type a query like "python tutorial" or "best laptops 2026", hit Start, and get a clean list of every video and Short that comes up. No coding required.
What it does
Search YouTube for any keyword, and this tool will pull every video and Short from the results. For each one, you get the title, view count, channel name, thumbnail, video length, and a direct link to watch it.
You can:
- Search multiple keywords at once (up to 50 per run)
- Choose between Videos, Shorts, or both
- Collect up to 500 results per keyword
- Sort by relevance, view count, or rating
- Filter by upload date (last hour, today, this week, this month, this year)
- Filter by video duration (short, medium, long)
- Filter by keywords in the title (e.g. only videos mentioning "beginner")
- Filter by date (e.g. only videos from the last 7 days)
- Export results as JSON, CSV, or Excel from the Output tab
Great for marketers, content creators, researchers, or anyone who wants to find and analyze YouTube content around a topic.
How to use it
Step 1: Enter your keywords
Type one or more search keywords. These work exactly like typing into the YouTube search bar.
Examples: python tutorial, how to cook pasta, best laptops 2026
Step 2: Pick your search filters
These are YouTube's built-in search filters. They narrow down results before they are returned:
- Sort By: How results are ordered. Relevance (default), View count (most viewed), or Rating. Note: YouTube may not support all sort options for all queries.
- Upload Date: Only show videos from a certain time frame (last hour, today, this week, this month, this year).
- Video Duration: Filter by length. Short (under 4 min), Medium (4-20 min), or Long (over 20 min).
Step 3: Pick your options
- Max Videos Per Keyword: How many results you want per keyword. Default is 50, maximum is 500.
- Content Type: Get all results, only regular videos, or only Shorts.
- Title Filter: Only keep videos whose title contains a specific keyword. For example, if you are searching for "cooking" but only want results about pasta, type
pastain this field. You can also type multiple keywords separated by commas (e.g.pasta, sushi, salad) and the tool will keep any video that matches at least one of them. Leave this field empty to keep all videos. This filter is free and does not affect your bill. - Published Within (Days): Only keep videos posted in the last N days. More precise than the Upload Date search filter. For example, type
7to only get videos from the past week, or30for the past month. Leave empty to get all results regardless of when they were posted. - Concurrency: How many keywords to process at the same time. Default is 3, maximum is 10. Higher values finish faster.
Step 4: Click Start
Results show up in real time in the Output tab. You do not have to wait for the full run to finish. When you are done, export your results from the Output tab.
For developers
You can also call this tool through the Apify API:
{"keywords": ["python tutorial", "machine learning basics"],"maxVideosPerKeyword": 100,"contentType": "all","sortBy": "view_count","uploadDate": "month","videoDuration": "medium","concurrency": 3}
What you get
Every result includes
| Field | What it means |
|---|---|
| status | "Success" or a message explaining what went wrong |
| keyword | Which search keyword this video came from |
| videoId | The YouTube video ID |
| videoUrl | A direct link to watch the video |
| title | The video title |
| channelName | The channel that uploaded it |
| channelUrl | A link to the channel |
| isVerified | Whether the channel has a blue checkmark |
| thumbnailUrl | A link to the video thumbnail image |
| viewCount | Total views as a number (e.g. 1200000) |
| viewCountText | Views as shown on YouTube (e.g. "1.2M views") |
| publishedText | When it was posted (e.g. "3 days ago") |
| duration | Video length (e.g. "12:34") |
| contentType | Either "video" or "short" |
With the Video Stats add-on
Turn on "Include Video Stats" to also get:
| Field | What it means |
|---|---|
| likeCount | Number of likes |
| commentCount | Number of comments |
| description | The full video description |
| category | YouTube category (e.g. "Education", "Music") |
| tags | Keywords the creator added to the video |
| publishedDate | Exact publish date (e.g. "Feb 25, 2021") |
| subscriberCount | How many subscribers the channel has (approximate, from the video page) |
With the Language Detection add-on
Turn on "Detect Language" to also get:
| Field | What it means |
|---|---|
| detectedLanguage | The spoken language (e.g. "en" for English, "ko" for Korean, "es" for Spanish) |
With the Channel Analytics add-on
Turn on "Include Channel Analytics" to also get:
| Field | What it means |
|---|---|
| channelDescription | The channel's About section |
| channelCountry | Where the channel is based (e.g. "United States") |
| channelSubscriberCount | Total subscribers |
| channelVideoCount | Total videos on the channel |
| channelViewCount | Total views across all videos |
| channelJoinedDate | When the channel was created (e.g. "Sep 10, 2018") |
The status field
Every result has a status field. If everything worked, it says "Success". If something went wrong, it tells you exactly what happened and what to do about it.
Proxy settings
Proxies help the tool access YouTube without getting blocked. The default setting works for most people.
- Automatic (default): The best option for most users. Just leave it as is.
- Residential: Try this if you keep getting empty results or errors. It is slower but more reliable.
- Own proxies: Use your own proxy URLs if you have them.
- No proxy: Not recommended. You may get blocked by YouTube.
Pricing
You only pay for results that are successfully collected. Failed or filtered results are free.
Base price: $1.50 per 1,000 videos
Optional add-ons (only charged when enabled):
| Add-on | Cost per 1,000 videos | What you get |
|---|---|---|
| Video Stats | $0.25 | Likes, comments, description, category, tags, exact date |
| Language Detection | $0.10 | Spoken language of the video |
| Channel Analytics | $0.25 | Subscribers, total videos, views, country, join date |
How much will it cost?
| What you are doing | Cost |
|---|---|
| 100 videos, no add-ons | $0.15 |
| 500 videos, no add-ons | $0.75 |
| 500 videos with all add-ons | $1.05 |
| 1,000 videos with all add-ons | $2.10 |
Good to know
- Use YouTube search filters to save time and money. If you only want recent videos, set Upload Date to "This week" instead of scraping everything and filtering afterwards. The search filter runs on YouTube's side, so fewer results are returned and you pay less.
- What is the difference between "Upload Date" and "Published Within Days"? Upload Date is YouTube's built-in search filter (coarse: hour/today/week/month/year). Published Within Days is a more precise post-search filter that checks each video's relative timestamp. You can use both together.
- Shorts have less data than regular videos. YouTube does not provide channel name, published date, or duration for Shorts in search results. This is a YouTube limitation, not a bug in this tool.
- Use filters to save money. If you only need Shorts, pick "Shorts only" so you do not pay for videos you do not need. Same with the title filter and date filter.
- Same video, different keywords. If a video appears under two keywords you are searching, it will show up twice in your results (once for each keyword).
- Your data is saved in your Apify storage. How long it stays depends on your Apify plan.
FAQ
I got zero results. What happened? The keyword may not have any matching videos on YouTube, or YouTube may be filtering results. Try a broad keyword like "music" or "cooking" to make sure everything is working.
Why are some fields blank for Shorts? YouTube does not include all the same information for Shorts as it does for regular videos. Channel name, published date, and video length are often missing for Shorts. There is nothing we can do about this.
Which proxy setting should I pick? Leave it on Automatic. That works for most people. If you are getting a lot of errors or empty results, switch to Residential.
Can I get more than 500 videos from one keyword? The current limit is 500 per keyword per run. If you need more, run the same keyword again — YouTube may return different results depending on timing and proxy.
How is this different from the Hashtag Scraper? The Hashtag Scraper pulls videos from YouTube's hashtag pages (e.g. youtube.com/hashtag/cooking). This tool searches YouTube the same way you would from the search bar, with sorting and filtering options. Use this tool when you want to find videos about a topic. Use the Hashtag Scraper when you want to see what is tagged with a specific hashtag.
Can I call this tool from my own app or script? Yes. You can use the Apify API or the official client libraries for JavaScript and Python. Check the API tab for details.
What happens if YouTube blocks me? The tool automatically switches to a different connection when it detects a block. If that keeps happening, try running with Residential proxies turned on.
Other tools you might like
- YouTube Hashtag Scraper - Pull videos and Shorts from any YouTube hashtag page.
- YouTube Comments Scraper - Pull comments and replies from any YouTube video, with language detection.
- YouTube Channel Email Scraper - Extract contact emails from YouTube channels.
Disclaimer
This tool is built for personal, research, and educational use. You are responsible for following YouTube's Terms of Service and any laws that apply in your country. The developer is not responsible for how you use this tool. Results depend on what YouTube makes available at the time of your run.
Keywords: youtube keyword search scraper, youtube search scraper, youtube video search, search youtube videos, scrape youtube search results, youtube search API, youtube video data, youtube shorts search