YouTube Search Scraper - Scrape Videos by Keyword avatar

YouTube Search Scraper - Scrape Videos by Keyword

Pricing

from $3.50 / 1,000 results

Go to Apify Store
YouTube Search Scraper - Scrape Videos by Keyword

YouTube Search Scraper - Scrape Videos by Keyword

YouTube keyword scraper and search API alternative. Scrape YouTube results without an API key; export videos, channels and playlists to CSV, JSON, Excel.

Pricing

from $3.50 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

6

Monthly active users

6 days ago

Last modified

Share

YouTube Search Scraper

Scrape YouTube videos by keyword and export every matching result in bulk. This YouTube search scraper — also a YouTube keyword scraper and video search exporter — returns videos, channels and playlists with full metadata, with no login, no cookies and no Google API key.

It supports YouTube's real filters (upload date, duration, type, sort order), runs many queries at once, and paginates deep into the results — hundreds to thousands per query. Export to CSV, JSON or Excel.

No login · No API key · Real YouTube filters · Bulk multi-keyword · Videos, channels & playlists · YouTube search API alternative · Scrape YouTube without API key · Export YouTube search results to CSV · YouTube keyword scraper


What you get

Each search result is saved as one structured row with these fields:

  • resultTypevideo, channel or playlist
  • title — result title
  • viewCount — exact view count, normalized to an integer (e.g. 54877621)
  • duration / durationSeconds — formatted ("6:10:58") and seconds (22258)
  • publishedTime — relative publish time ("4 years ago")
  • channelTitle / channelId — the channel behind the result
  • descriptionSnippet — the snippet shown under the title
  • url — watch / channel / playlist URL
  • query — the search query this result was found for
  • scrapedAt — scrape timestamp

Export every field to CSV, JSON, Excel or HTML, or pull it via the Apify API and integrations (Make, Zapier, n8n, Google Sheets).


Use cases

  • Trend & market research — pull the top videos for a topic by view count to see what wins.
  • Content strategy & video SEO — analyze titles, durations and recency for a keyword you want to rank for.
  • Creator & influencer discovery — search type: channel to surface creators in a niche.
  • Competitive monitoring — track the freshest uploads for a keyword with the uploadDate filter.
  • Dataset building & pipelines — assemble keyword-based video sets, then pass videoIds into the Comments or Video Details scrapers.

How to use

No code needed — extract YouTube search results in bulk:

  1. Open the actor on Apify and click Try for free.
  2. Enter your keywords in searchQueries (e.g. ["lofi hip hop", "react tutorial"]).
  3. (Optional) Set type (video/channel/playlist), sortBy, uploadDate, duration, and maxResultsPerQuery.
  4. Click Start.
  5. Export results to CSV, Excel or JSON, or pull them via the Apify API.

Automating it? Schedule the actor with uploadDate: "week" to track the freshest videos for your keywords and feed the IDs straight into your pipeline.

Input fields

FieldTypeDefaultDescription
searchQueries (required)string[]Keywords to search. Each is scraped separately and tagged.
typestringvideovideo, channel, playlist, movie, any.
sortBystringrelevancerelevance, date, views, rating.
uploadDatestringanyany, hour, today, week, month, year.
durationstringanyany, short (<4m), medium (4–20m), long (>20m).
maxResultsPerQueryinteger100Cap per query. 0 = unlimited.
maxResultsinteger0Global cap across all queries.

Example input

{
"searchQueries": ["iphone 17 review", "pixel 10 review"],
"type": "video",
"sortBy": "date",
"uploadDate": "month",
"maxResultsPerQuery": 200
}

Example output

{
"resultType": "video",
"query": "lofi hip hop",
"title": "Best of lofi hip hop 2021 ✨",
"viewCount": 54877621,
"duration": "6:10:58",
"publishedTime": "4 years ago",
"channelTitle": "Lofi Girl",
"url": "https://www.youtube.com/watch?v=n61ULEU7CO0"
}

How it works

This YouTube keyword scraper calls YouTube's internal search (the same one the website uses) and paginates with continuation tokens. Your sortBy, uploadDate, duration and type choices are encoded into YouTube's real params filter — so results match exactly what you'd get clicking the filter chips on youtube.com. A fresh access key is fetched per run, with retries.


FAQ

Do I need a YouTube API key to scrape search results?

No — no key, no login, and no Google API quota (the official API caps at ~100 searches/day).

Can I get more than the first page of results?

Yes — it paginates automatically up to YouTube's result ceiling or your maxResultsPerQuery.

Can I scrape YouTube channels or playlists by keyword?

Yes — set type to channel or playlist. You can also filter videos by upload date and duration like YouTube's own filters.

Can I scrape YouTube search without coding?

Yes — enter keywords, click Start, and download CSV, Excel or JSON.

Is this a YouTube search API alternative?

Yes — it works as a YouTube search API alternative. You scrape YouTube without an API key, login or Google quota, and still get the same filters and pagination as the site.

How do I export YouTube search results to CSV or JSON?

Run your keywords, then export the dataset to CSV, JSON or Excel — or pull it via the Apify API. Every result field is included, making it a simple YouTube data export.

Can I use this as a YouTube keyword scraper for data extraction?

Yes — it's a YouTube keyword scraper and video data extraction tool. Feed many keywords at once and build a structured YouTube search results dataset in one run.


Limits & notes

  • YouTube caps total results per query (typically a few hundred), just like the website does.
  • Live streams may lack view/duration values until they end.
  • Relative dates ("4 years ago") are what search exposes; use scrapedAt as the reference.

The complete YouTube scraping toolkit


Pricing & support

Pay-per-result — you only pay for the results you actually get. No proxy or YouTube API costs. Need search within a specific channel, region/language targeting, or live-only results? Open an issue on the actor's page.

📝 Changelog

2026-06-07

  • Docs: added coverage for using this as a YouTube search API alternative, exporting YouTube search results to CSV/JSON, and the YouTube keyword scraper / data extraction use case.

2026-06-05

  • 🛡️ Reliability fix: results are no longer dropped by strict output validation — runs now complete cleanly even at high volume (thousands of results).
  • ⚡ Stability & performance hardening; fresh rebuild.

2026-06-04

  • Verified live & refreshed build — reliability/maintenance pass.