πŸ” YouTube Search Scraper avatar

πŸ” YouTube Search Scraper

Pricing

$19.99/month + usage

Go to Apify Store
πŸ” YouTube Search Scraper

πŸ” YouTube Search Scraper

πŸ” **What it does** β€” Search YouTube by keyword or scrape video & channel URLs. Get structured data (titles, views, likes, comments, channel info, thumbnails, hashtags, keywords) without manual browsing. πŸ’Ύ **Live save** β€” Results are written to the dataset as they’re scraped. If the run stops,...

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapePilot

ScrapePilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

πŸ” YouTube Search Scraper

The πŸ” YouTube Search Scraper is a fast, production-ready YouTube SERP scraper that lets you search by keyword or paste video & channel URLs to scrape YouTube search results at scale. It solves the grind of manual browsing by returning clean, structured records (titles, views, likes, comments, channel info, thumbnails, hashtags, keywords) you can export instantly. Built for marketers, developers, analysts, and researchers, this YouTube search scraping tool works as a YouTube search API alternative for data-driven discovery and campaign intelligence β€” so you can automate insights, enrich pipelines, and export results in minutes.

What data / output can you get?

Below are the main JSON fields the actor writes to the dataset when it collects videos and channels from YouTube. These are flat, analysis-ready fields with consistent types for easy export to JSON, CSV, or Excel.

Data fieldDescriptionExample value
typeRecord type ("video", "channel", "info", "error")"video"
titleVideo title"Our Respect For Jim Carrey After Hearing This πŸ“ˆ! #Shorts"
urlVideo URL or input channel URL"https://www.youtube.com/watch?v=f5ksIepT2mE"
idVideo ID"f5ksIepT2mE"
dateISO upload date (UTC) when available"2022-12-15T00:00:00Z"
durationNormalized duration string (e.g., M:SS or H:MM:SS)"0:52"
viewCountVideo view count (integer)36334432
likesVideo like count (integer)2206496
commentsCountNumber of comments (integer)10000
commentsTurnedOffWhether comments are disabledfalse
channelNameChannel display name"The Graham Norton Show"
channelUsernameChannel handle (when detected)"@OfficialGrahamNorton"
channelUrlCanonical or best-effort channel URL"http://www.youtube.com/@OfficialGrahamNorton"
channelIdChannel ID"UC4PziMH5MvvsmqM0VCZTy-g"
numberOfSubscribersChannel subscriber count (integer, if available)5470000
channelViewCountChannel view count (integer, if available)4788755834
channelVideoCountChannel video count (integer, if available)2451
hiddenSubscriberCountWhether the channel hides subscriber countfalse
thumbnailUrlVideo thumbnail URL"https://i.ytimg.com/vi/f5ksIepT2mE/hq720_2.jpg"
hashtagsExtracted hashtags from description (up to 5)["#TheGrinch","#GrahamNortonShow"]
keywordsExtracted tags/keywords (up to 5)["The Graham Norton Show","Graham Norton"]
textDescription snippet (truncated)"Remember this next time you watch #TheGrinch!…"
inputThe original search query or URL that produced the record"https://www.youtube.com/@SecretRevealedbd"
orderResult order for the input query0

Bonus channel records (when you input channel URLs) include these additional fields:

  • description, joined, country, subscribers, views, videos, canonicalChannelUrl, links, inputUrl, aboutUrl

Exports are available directly from the Apify dataset in JSON, CSV, or Excel.

Key features

  • ⚑ Live save to dataset
    Results are written as they’re scraped, so you can monitor progress and export partial data anytime.

  • 🧠 Smart residential proxy & retries
    Built-in proxy management starts with RESIDENTIAL IPs and rotates on retries to reduce blocks and β€œsign in to confirm” interruptions.

  • πŸ—‚οΈ Flat, analysis-ready schema
    Clean, consistent fields for videos and channels: title, url, id, date, duration, viewCount, likes, commentsCount, channelName, channelUsername, channelUrl, channelViewCount, channelVideoCount, numberOfSubscribers, hashtags, keywords, thumbnailUrl, text, input, order, and more.

  • πŸ”Ž Keyword and URL input in one run
    Mix queries like β€œpython programming” with direct YouTube video or channel URLs in the same job.

  • ↕️ Sort controls for relevance or recency
    Choose how results are ordered via sortBy (relevance, date, viewCount, rating) to match your use case.

  • πŸ“ˆ Scalable YouTube search results export
    Configure maxResults per query (1–2000) and collect structured output, perfect for dashboards or enrichment.

  • πŸ‘©β€πŸ’» Developer-friendly via Apify API
    Run programmatically and fetch dataset items over API for pipeline automation and integration.

  • πŸ›‘οΈ Production-grade reliability
    Parallelized collection, robust retries, and proxy rotation deliver consistent performance for large jobs.

How to use πŸ” YouTube Search Scraper - step by step

  1. Create or log in to your Apify account.
  2. Open the πŸ” YouTube Search Scraper in the Apify Store.
  3. Add input in the β€œSearch queries” list: enter one or more keywords and/or paste YouTube video/channel URLs (one per line).
  4. Configure settings as needed:
    • maxResults (1–2000) to control how many results per query you want
    • sortBy to order results by relevance, date, viewCount, or rating
    • type to target videos or channels (playlists/movies options are available in the input)
    • proxyConfiguration if you prefer a custom proxy (optional)
    • debug for verbose logs (optional)
  5. Click Start to run. The actor will search and collect results in parallel.
  6. Watch progress in real time β€” results are saved live to the dataset.
  7. Export your results as JSON, CSV, or Excel from the dataset tab, or fetch them programmatically via the Apify API.

Pro tip: Chain this YouTube search results extractor with your internal pipeline to enrich records, trigger alerts on new uploads, or feed reporting tools for trend analysis.

Use cases

Use caseDescription
Market research trend trackingIdentify rising topics and competitive content by scraping YouTube search results at scale, sorted by date or view count.
Campaign discovery for marketersMine top-performing videos and channels around target keywords to guide creative and media planning.
SEO & content strategyUse the YouTube keyword scraper workflow to evaluate SERP positions, formats (Shorts/long-form), and engagement patterns.
Data enrichment for analyticsFeed structured search results into BI dashboards or databases for ongoing performance monitoring.
Academic & social researchCollect reproducible datasets from YouTube SERPs to study content diffusion, genres, or audience patterns.
API-driven automationsTrigger runs via API and export datasets to downstream systems for alerts, scoring, or content curation workflows.

Why choose πŸ” YouTube Search Scraper?

Built for precision, automation, and reliability, this YouTube search crawler outperforms fragile, manual approaches and unstable browser extensions.

  • βœ… Accurate, flat schema with all key engagement and channel fields
  • πŸš€ Scales to large batches with parallel processing and maxResults controls
  • πŸ”„ Smart proxy rotation with RESIDENTIAL IPs for higher success rates
  • πŸ’Ύ Fast exports to JSON/CSV/Excel and easy access via the Apify API
  • πŸ‘©β€πŸ’» Developer-ready for pipelines and scheduled runs
  • πŸ”’ Safe approach focused on publicly available data and robust error handling
  • πŸ’‘ Ideal YouTube search API alternative for teams that need structured SERP data without manual browsing

In short: a reliable YouTube search results scraper that delivers structured output and dependable performance at scale.

Yes β€” when used responsibly. This actor focuses on publicly available information and does not access private or gated content.

Guidelines for compliant use:

  • Collect only publicly accessible data and respect platform terms.
  • Avoid scraping private, unlisted, or restricted content.
  • Use results for legitimate business, research, or analytics purposes.
  • Ensure your use complies with applicable laws and your organization’s policies.
  • When in doubt, consult your legal team for edge cases.

Input parameters & output format

Example JSON input

{
"queries": [
"python programming",
"https://www.youtube.com/@OfficialGrahamNorton"
],
"maxResults": 10,
"sortBy": "relevance",
"uploadDate": "",
"duration": "",
"type": "video",
"proxyConfiguration": {
"useApifyProxy": true
},
"debug": false
}

Parameter reference

  • queries (array of string) β€” One search query or URL per line. Examples: Β« python programming Β», Β« best cooking channels Β», or a full URL like https://www.youtube.com/watch?v=... or https://www.youtube.com/@ChannelName. Mix keywords and URLs in the same run. Default: ["python programming"]. Required: No.
  • maxResults (integer) β€” Maximum number of results to fetch for each query (1–2000). Default: 10. Required: No.
  • sortBy (string: relevance | date | viewCount | rating) β€” How results are ordered. Default: "relevance". Required: No.
  • uploadDate (string: "", lastHour, today, thisWeek, thisMonth, thisYear) β€” Upload date filter (leave empty for none). Default: "". Required: No.
  • duration (string: "", short, medium, long) β€” Duration filter (leave empty for none). Default: "". Required: No.
  • type (string: video | channel | playlist | movie) β€” Type of results to return. Default: "video". Required: No.
  • proxyConfiguration (object) β€” No proxy by default. If YouTube blocks the run, the actor automatically switches to RESIDENTIAL proxy. You can also set a custom proxy here. Required: No.
  • debug (boolean) β€” Verbose logging for troubleshooting. Default: false. Required: No.

Example JSON output

[
{
"title": "Our Respect For Jim Carrey After Hearing This πŸ“ˆ! #Shorts",
"type": "video",
"channelName": "The Graham Norton Show",
"date": "2022-12-15T00:00:00Z",
"text": "Remember this next time you watch #TheGrinch!…",
"thumbnailUrl": "https://i.ytimg.com/vi/f5ksIepT2mE/hq720_2.jpg",
"order": 0,
"input": "python programming",
"hashtags": ["#TheGrinch", "#GrahamNortonShow", "#GrahamNorton", "#TheGNShow", "#JimCarrey"],
"channelId": "UC4PziMH5MvvsmqM0VCZTy-g",
"channelUrl": "http://www.youtube.com/@OfficialGrahamNorton",
"channelUsername": "@OfficialGrahamNorton",
"numberOfSubscribers": 5470000,
"channelViewCount": 4788755834,
"channelVideoCount": 2451,
"hiddenSubscriberCount": false,
"id": "f5ksIepT2mE",
"url": "https://www.youtube.com/watch?v=f5ksIepT2mE",
"viewCount": 36334432,
"likes": 2206496,
"commentsCount": 10000,
"commentsTurnedOff": false,
"duration": "0:52",
"keywords": ["Graham Norton", "The Graham Norton Show", "Graham Norton Show"],
"isMembersOnly": false
},
{
"type": "channel",
"url": "https://www.youtube.com/@OfficialGrahamNorton",
"description": "Official channel for The Graham Norton Show…",
"joined": "Oct 6, 2007",
"country": "Not specified",
"subscribers": "5.47M subscribers",
"views": "4,788,755,834 views",
"videos": "2,451 videos",
"canonicalChannelUrl": "http://www.youtube.com/@OfficialGrahamNorton",
"channelUsername": "@OfficialGrahamNorton",
"channelId": "UC4PziMH5MvvsmqM0VCZTy-g",
"links": [],
"inputUrl": "https://www.youtube.com/@OfficialGrahamNorton",
"aboutUrl": "https://www.youtube.com/@OfficialGrahamNorton/about"
}
]

Notes:

  • When you provide channel URLs, channel β€œabout” records are returned with fields like description, joined, country, subscribers, views, and videos.
  • The actor may also emit informational or error items such as:
    • {"type":"info","input":"your query","message":"No results"}
    • {"type":"error","url":"…","error":"…"}
ToolTool
☎️ YouTube Channel Phone Number ScraperπŸ’¬ YouTube Comments Scraper
πŸ“ YouTube Transcript ScraperπŸŽ₯ YouTube Video Details Scraper
πŸ“Ί YouTube Channel Finder🧠 YouTube Video Summarizer
πŸ‘₯ YouTube Community Posts Scraper⏱️ YouTube Most Replayed Scraper
πŸ“Š YouTube Metadata Scraper🌐 YouTube Video Subtitles Scraper
πŸ”₯ YouTube Trending Scraper🏷️ YouTube Video Scraper by Hashtag
🎬 YouTube Shorts ScraperπŸ“‚ YouTube Playlist Scraper
πŸ“‘ YouTube Channel ScraperπŸ“ž YouTube Phone Number Scraper
πŸ“§ YouTube Email ScraperπŸ“¨ YouTube Channel Email Scraper

FAQ

Does the πŸ” YouTube Search Scraper work with both keywords and URLs?

Yes. You can enter one or more keywords and also paste video or channel URLs in the β€œqueries” list. Mixing keywords and URLs is supported in the same run.

How many results can I collect per query?

You control this with maxResults. It accepts 1–2000 per query. Larger values return more results but may take longer to complete.

Can I change how results are ordered?

Yes. Use sortBy with one of: relevance, date, viewCount, or rating. This helps tailor your YouTube search results export to your analysis needs.

What fields are included in the output?

For videos, you’ll get type, title, url, id, date, duration, viewCount, likes, commentsCount, commentsTurnedOff, channelName, channelUsername, channelUrl, channelId, numberOfSubscribers, channelViewCount, channelVideoCount, hiddenSubscriberCount, thumbnailUrl, hashtags, keywords, text, input, and order. For channel URLs, β€œabout” records are returned with fields like description, joined, country, subscribers, views, and videos.

Does it use proxies? What happens if YouTube blocks a request?

A proxy is optional. If needed, the actor automatically uses RESIDENTIAL proxy and rotates to improve success rates. You can also provide your own proxyConfiguration.

How do I export the data?

All results are saved live to the run’s dataset. Export in JSON, CSV, or Excel via the Apify UI, or fetch programmatically with the Apify API.

Is this a YouTube search API alternative?

Yes. It’s a practical YouTube search results scraper that functions as a YouTube search API alternative for teams that need structured SERP data at scale without building their own crawler.

Can I run it programmatically?

Yes. Trigger runs and retrieve dataset items via the Apify API, making it easy to integrate into pipelines or schedule recurring jobs.

Final thoughts

The πŸ” YouTube Search Scraper is built to scrape YouTube search results reliably and at scale. With live dataset saves, a flat schema, smart proxies, and configurable sorting and limits, it’s ideal for marketers, developers, analysts, and researchers. Run it from the Apify UI or orchestrate it with the API to power your YouTube SERP scraper workflows, enrich data pipelines, and export structured results fast. Start extracting smarter YouTube insights today.