YouTube Scraper by Keyword Search (Videos & Shorts) avatar

YouTube Scraper by Keyword Search (Videos & Shorts)

Pricing

from $1.20 / 1,000 video scrapeds

Go to Apify Store
YouTube Scraper by Keyword Search (Videos & Shorts)

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

LurkAPI

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

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:

  1. Search multiple keywords at once (up to 50 per run)
  2. Choose between Videos, Shorts, or both
  3. Collect up to 500 results per keyword
  4. Sort by relevance, view count, or rating
  5. Filter by upload date (last hour, today, this week, this month, this year)
  6. Filter by video duration (short, medium, long)
  7. Filter by keywords in the title (e.g. only videos mentioning "beginner")
  8. Filter by date (e.g. only videos from the last 7 days)
  9. 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 pasta in 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 7 to only get videos from the past week, or 30 for 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

FieldWhat it means
status"Success" or a message explaining what went wrong
keywordWhich search keyword this video came from
videoIdThe YouTube video ID
videoUrlA direct link to watch the video
titleThe video title
channelNameThe channel that uploaded it
channelUrlA link to the channel
isVerifiedWhether the channel has a blue checkmark
thumbnailUrlA link to the video thumbnail image
viewCountTotal views as a number (e.g. 1200000)
viewCountTextViews as shown on YouTube (e.g. "1.2M views")
publishedTextWhen it was posted (e.g. "3 days ago")
durationVideo length (e.g. "12:34")
contentTypeEither "video" or "short"

With the Video Stats add-on

Turn on "Include Video Stats" to also get:

FieldWhat it means
likeCountNumber of likes
commentCountNumber of comments
descriptionThe full video description
categoryYouTube category (e.g. "Education", "Music")
tagsKeywords the creator added to the video
publishedDateExact publish date (e.g. "Feb 25, 2021")
subscriberCountHow many subscribers the channel has (approximate, from the video page)

With the Language Detection add-on

Turn on "Detect Language" to also get:

FieldWhat it means
detectedLanguageThe 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:

FieldWhat it means
channelDescriptionThe channel's About section
channelCountryWhere the channel is based (e.g. "United States")
channelSubscriberCountTotal subscribers
channelVideoCountTotal videos on the channel
channelViewCountTotal views across all videos
channelJoinedDateWhen 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-onCost per 1,000 videosWhat you get
Video Stats$0.25Likes, comments, description, category, tags, exact date
Language Detection$0.10Spoken language of the video
Channel Analytics$0.25Subscribers, total videos, views, country, join date

How much will it cost?

What you are doingCost
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

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