YouTube Search Scraper — Search Results & Video Data avatar

YouTube Search Scraper — Search Results & Video Data

Pricing

from $0.00075 / result scraped

Go to Apify Store
YouTube Search Scraper — Search Results & Video Data

YouTube Search Scraper — Search Results & Video Data

Search YouTube by keyword and export the results: video title, URL, channel, view count, published date, duration, description snippet and thumbnail. Sort by relevance, date, views or rating. One clean row per video as JSON, CSV or Excel.

Pricing

from $0.00075 / result scraped

Rating

0.0

(0)

Developer

Hipersoft

Hipersoft

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

YouTube Search Scraper — Export Search Results & Video Data by Keyword

Run any YouTube search and export the results as clean, structured data. Add one or more keywords, choose how to sort, and the YouTube Search Scraper returns one row per video — title, URL, channel, view count, published date, duration, a description snippet and thumbnail. Export to JSON, CSV, Excel or XML, or pull straight from the Apify API. It's the fast way to run keyword and topic research, track trends and competitors, source creators, and build video datasets for dashboards or LLMs.

YouTube Search Scraper input — keywords and sort in the Apify Console

What is the YouTube Search Scraper?

The YouTube Search Scraper turns YouTube's search results into a flat, analysis-ready dataset. For each keyword you supply, it runs the search, sorts it the way you choose (relevance, upload date, view count or rating), pages deep into the results, and returns a structured row per video with its channel, views, duration and thumbnail. Instead of scrolling results and copying links, you give it a list of terms and export a combined dataset. It's built for marketers researching keywords, analysts tracking a niche, and teams assembling video datasets for reporting or model training.

Features

  • 🔎 Keyword search — run several search terms at once; results are combined into one dataset.
  • 🔀 Sort control — order each search by relevance, upload date, view count or rating.
  • 📊 View counts — numeric viewCount plus the readable viewCountText for every video.
  • 📺 Channel details — channel name, ID and URL for each result.
  • ⏱️ Duration & recency — durationSeconds and durationText, plus a publishedText like "4 years ago".
  • 🧾 Flat, one-row-per-video output — clean records with a description snippet and thumbnail.
  • 📏 Deep paging — set a max and the scraper pages deep into each search; 0 for no limit.
  • 📤 Clean exports — JSON, CSV, Excel or XML, or straight into the Apify API.

What you get

YouTube Search Scraper output — videos with channel, views and duration as a clean dataset

One flat, ready-to-use record per video result:

{
"query": "python tutorial",
"videoId": "rfscVS0vtbw",
"title": "Learn Python - Full Course for Beginners",
"url": "https://www.youtube.com/watch?v=rfscVS0vtbw",
"channelName": "freeCodeCamp.org",
"channelId": "UC8butISFwT-Wl7EV0hUK0BQ",
"channelUrl": "https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ",
"viewCount": 49309271,
"viewCountText": "49M views",
"publishedText": "6 years ago",
"durationText": "4:26:52",
"durationSeconds": 16012,
"description": "This course will give you a full introduction into all of the core concepts…",
"thumbnail": "https://i.ytimg.com/vi/rfscVS0vtbw/hq720.jpg",
"collectedAt": "2026-09-20T06:00:00.000Z"
}

Output schema

FieldTypeDescription
querystringThe search keyword that produced the row.
videoIdstringYouTube video ID.
urlstring (URL)Watch link.
titlestringVideo title.
channelNamestringUploading channel name.
channelIdstringChannel ID.
channelUrlstring (URL)Channel URL.
viewCountintegerView count as a number.
viewCountTextstringView count as a readable label.
publishedTextstringRelative publish time (e.g. "4 years ago").
durationTextstringLength as text (e.g. "4:26:52").
durationSecondsintegerLength in seconds.
descriptionstringDescription snippet from the results page.
thumbnailstring (URL)Thumbnail image URL.
collectedAtstring (ISO date)When the row was scraped.

How to scrape YouTube search results

  1. Open the YouTube Search Scraper and click Try for free.
  2. Add your search terms to searchQueries — one per line. Each runs its own search and the results are combined.
  3. Choose a sort (relevance, date, views or rating) and set maxItems (0 = no limit).
  4. Click Run.
  5. Export the results as JSON, CSV, Excel or XML, or read them from the Apify API.

Input

{ "searchQueries": ["lofi hip hop", "python tutorial"], "sort": "views", "maxItems": 200 }
FieldTypeDescription
searchQueriesarraySearch terms to run; each keyword runs its own search, results combined.
sortstringrelevance, date, views or rating.
maxItemsintegerMaximum results across all keywords (0 = no limit).

Use cases

  • Keyword & topic research: see what ranks for a term, how it's framed and how popular it is.
  • Trend & competitor analysis: track the top videos and channels in a niche over time.
  • Content discovery: build watchlists and content ideas from high-performing videos.
  • Influencer sourcing: find channels actively making videos on your topic.
  • SEO & title research: study titles, durations and view counts of the videos ranking for a query.
  • Dataset building: assemble clean, structured search result sets for analytics or model training.
  • Pipelines: feed YouTube search data into dashboards and automated reporting on a schedule.

Pricing

Pay-per-event: you're billed a small amount per video result scraped — you only pay for the results you receive. See the Pricing tab for current rates.

FAQ

How do I scrape YouTube search results? Add your search terms to searchQueries and run the actor. Each keyword runs its own search and you get one row per video, combined across all terms.

How many results can I get? Set maxItems to whatever you need (0 = no limit) — the scraper pages deep into each search to reach the cap.

Can I sort by newest or most viewed? Yes — set sort to date for newest, views for most viewed, rating, or relevance for YouTube's default order.

Can I run several searches at once? Yes — add multiple keywords and the results are combined into one dataset, each row tagged with the query that produced it.

Does it include view counts and durations? Yes — each video comes back with numeric and text view counts, plus duration in both seconds and readable text.

What format is the data? A flat table you can export as JSON, CSV, Excel or XML, or fetch from the Apify API.

Can I connect this to other apps? The YouTube Search Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.

Building a YouTube research toolkit? Combine the Search Scraper with our other YouTube actors:

Notes

Original clean-room implementation. Returns publicly available YouTube search results; you are responsible for complying with YouTube's terms. Not affiliated with, endorsed by or sponsored by YouTube or Google.