🔍 YouTube Search Scraper avatar

🔍 YouTube Search Scraper

Pricing

$19.99/month + usage

Go to Apify Store
🔍 YouTube Search Scraper

🔍 YouTube Search Scraper

YouTube Search Scraper extracts search results directly from YouTube. It collects video titles, URLs, channel names, views, publish dates, thumbnails, and descriptions. Use it to analyse trends, monitor competitors, gather video data, or power research, analytics, and automation workflows.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScraperX

ScraperX

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

🔍 YouTube Search Scraper

The 🔍 YouTube Search Scraper is a fast, reliable YouTube search results scraper that extracts structured data from YouTube SERPs without manual browsing. It helps marketers, developers, data analysts, and researchers scrape YouTube search results at scale as a YouTube search API alternative, returning clean, analytics-ready video and channel metadata. Use it to scrape YouTube videos by keyword, monitor competitors, or power research and automation with flat JSON output and live dataset saves.

What data / output can you get?

Below are the primary fields this YouTube SERP scraper exports to the Apify dataset. Field names are flat JSON keys, making it easy to export to CSV, JSON, or Excel and integrate with your pipelines.

Data typeDescriptionExample value
titleVideo title“Our Respect For Jim Carrey After Hearing This 📈! #Shorts”
typeRecord type (“video”, “channel”, “info”, or “error”)“video”
urlVideo or channel URLhttps://www.youtube.com/watch?v=f5ksIepT2mE”
idYouTube video ID“f5ksIepT2mE”
dateVideo publish date (ISO UTC when available)“2022-12-15T00:00:00Z”
durationVideo duration (H:MM:SS or M:SS)“0:52”
viewCountNumber of video views36334432
likesNumber of likes2206496
commentsCountNumber of comments10000
commentsTurnedOffWhether comments are disabledfalse
channelNameChannel display name“The Graham Norton Show”
channelUsernameChannel handle (when available)“@OfficialGrahamNorton”
channelUrlCanonical or resolved channel URLhttp://www.youtube.com/@OfficialGrahamNorton”
channelIdChannel ID“UC4PziMH5MvvsmqM0VCZTy-g”
channelViewCountChannel’s total views (best-effort)4788755834
channelVideoCountChannel’s total videos (best-effort)2451
numberOfSubscribersSubscriber count (when provided)5470000
hiddenSubscriberCountWhether subscriber count is hiddenfalse
thumbnailUrlVideo thumbnail URLhttps://i.ytimg.com/vi/f5ksIepT2mE/hq720.jpg”
textTruncated video description (up to 500 chars + “…”)“Remember this next time you watch #TheGrinch!…”
hashtagsUp to 5 hashtags extracted from description[“#TheGrinch”, “#GrahamNortonShow”]
keywordsUp to 5 tags/keywords (filtered)[“Graham Norton”, “The Graham Norton Show”]
inputOriginal input query that produced this item“python programming”
orderZero-based rank within a query0
isMembersOnlyMembers-only flag (when provided)false

Bonus records:

  • Channel records from channel URLs include: type, url, description, joined, country, subscribers, views, videos, canonicalChannelUrl, channelUsername, channelId, links, inputUrl, aboutUrl.
  • Informational/error records include: type (“info”/“error”), input/url, message/error.

You can export all results from the Apify dataset in JSON, CSV, or Excel for downstream analytics or integrations.

Key features

  • 🚀 Live save to dataset
    Results are written as they’re scraped, so you can stream output or resume analysis even if a run stops.

  • 🛡️ Residential proxy by default
    Runs through Apify’s RESIDENTIAL proxy for higher reliability on YouTube search results and reduced blocks.

  • 📦 Flat, analytics-ready JSON
    Clean, flat schema for video and channel records — ideal for dashboards, BI tools, and ETL pipelines.

  • 🔎 Ranked search with sorting & limits
    Control maxResults per query and sortBy (relevance, date, viewCount, rating) for reproducible YouTube search results.

  • 🎯 Works with videos, Shorts, and channels
    Handles standard video URLs, /shorts/ links, and channel pages for flexible input coverage.

  • 🔗 Export & automate
    Seamlessly export to CSV/JSON/Excel from the Apify dataset and plug into automation workflows as a YouTube search API alternative.

  • 🧰 Developer-friendly integrations
    Run on Apify programmatically and consume dataset results from any stack (great for YouTube search scraper Python or Node workflows).

  • 🧱 Production-ready reliability
    Parallel processing, retries, and robust proxy handling make it a dependable YouTube search scraping tool for scale.

How to use 🔍 YouTube Search Scraper - step by step

  1. Sign up or log in to your Apify account.
  2. Open the “🔍 YouTube Search Scraper” actor in your Apify workspace.
  3. Add input:
    • Enter your search terms in queries (e.g., “python programming”, “best cooking channels”).
    • You can also paste YouTube video or channel URLs to scrape those directly.
  4. Configure options:
    • Adjust maxResults and sortBy for ranking and limits.
    • Optionally set uploadDate, duration, and type from the input.
    • Optionally set proxyConfiguration if you need a custom proxy setup.
  5. Start the run:
    • Click Start. The scraper collects items and saves them live to the default dataset.
  6. Monitor progress:
    • Check run logs for messages about searching, collected items, and any info/error records.
  7. Download results:
    • Go to the Dataset tab and export to JSON, CSV, or Excel for analysis or integration.

Pro tip: Chain this YouTube search scraping tool with other Apify workflows to enrich videos, trigger alerts, or feed CRM/BI systems.

Use cases

Use case nameDescription
Marketing trend trackingTrack topics and creators gaining traction by scraping YouTube search results and analyzing engagement over time.
Content research for creatorsDiscover high-performing formats and niches using a YouTube metadata extractor from search to guide your content strategy.
Competitive intelligenceMonitor competitors’ channels and new uploads to benchmark views, likes, and publishing cadence.
SEO & keyword discoveryUse keyword queries to evaluate SERP composition and content types that rank with a YouTube search results scraper.
Data pipelines & dashboardsFeed a YouTube search results API alternative into BI tools for reporting on categories, channels, and performance.
Academic & market researchCollect reproducible datasets for studying trends, cultural dynamics, or media consumption patterns.
Automation & alertsTrigger workflows when new videos match your keywords with scheduled runs and webhooks.

Why choose 🔍 YouTube Search Scraper?

Built for precision, automation, and reliability, this YouTube search results crawler delivers clean data at scale.

  • ✅ Accurate, flat schema for easy analytics and exports
  • 🎯 Handles videos, Shorts, and channel URLs in a single workflow
  • ⚡ Batch-friendly with maxResults and sorting for reproducible SERPs
  • 🔌 Export-ready via Apify dataset (CSV, JSON, Excel) and programmatic access
  • 🧪 Developer-friendly for Python/Node integrations and automation
  • 🛡️ Robust proxy strategy with RESIDENTIAL IPs for reliability
  • 💸 Cost-effective alternative to brittle browser extensions or manual copy-paste

In short, it’s a production-grade YouTube search scraping tool that outperforms unstable alternatives and keeps your pipelines flowing.

Yes—when used responsibly. This tool collects publicly available information and does not require login to process standard search results and public pages.

Guidelines for compliant use:

  • Only collect public data; do not target private or restricted content.
  • Respect platform terms and applicable data regulations (e.g., GDPR, CCPA).
  • Use proxies responsibly and avoid abusive request patterns.
  • Validate use with your legal team for edge cases or regulated contexts.

Input parameters & output format

Example JSON input

{
"queries": [
"python programming",
"best cooking channels"
],
"maxResults": 10,
"sortBy": "relevance",
"uploadDate": "",
"duration": "",
"type": "video",
"proxyConfiguration": {},
"debug": false
}

Input parameter reference

  • queries (array of string) — One search query or URL per line. Default: ["python programming"]. Required: no
  • maxResults (integer) — Maximum number of results to fetch for each query (1–2000). Default: 10. Required: no
  • sortBy (string; enum: relevance, date, viewCount, rating) — Ordering of results. Default: "relevance". Required: no
  • uploadDate (string; enum: "", lastHour, today, thisWeek, thisMonth, thisYear) — Upload date filter. Default: "". Required: no
  • duration (string; enum: "", short, medium, long) — Duration filter. Default: "". Required: no
  • type (string; enum: video, channel, playlist, movie) — Result type. Default: "video". Required: no
  • proxyConfiguration (object) — Optional proxy settings. Required: no
  • debug (boolean) — Verbose logging. Default: false. Required: no

Example JSON output (video + channel records)

[
{
"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.jpg",
"order": 0,
"input": "python programming",
"hashtags": ["#TheGrinch", "#GrahamNortonShow"],
"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"],
"isMembersOnly": false
},
{
"type": "channel",
"url": "https://www.youtube.com/@SomeChannel",
"description": "Official channel description…",
"joined": "Jan 1, 2010",
"country": "Not specified",
"subscribers": "2.4M subscribers",
"views": "1,234,567,890 views",
"videos": "1,234 videos",
"canonicalChannelUrl": "http://www.youtube.com/@SomeChannel",
"channelUsername": "@SomeChannel",
"channelId": "UCxxxxxxxxxxxxxxxxx",
"links": [],
"inputUrl": "https://www.youtube.com/@SomeChannel",
"aboutUrl": "https://www.youtube.com/@SomeChannel/about"
}
]

Notes:

  • The actor may also emit info/error rows for transparency:
    • Info: {"type":"info","input":"
    • Error: {"type":"error","input":"

FAQ

Is there a free trial?

Yes. This actor includes a trial period with 120 trial minutes so you can test the workflow before subscribing to a monthly plan.

How many results can I scrape per query?

You can set maxResults from 1 up to 2000 per query. The actor will collect items up to that limit and save them to the dataset.

Does it work for YouTube Shorts?

Yes. The scraper processes standard videos and also handles /shorts/ URLs as video items.

Can I sort results like on YouTube?

Yes. Use sortBy to order results by relevance, date, viewCount, or rating for reproducible YouTube search results.

Can I export results to CSV?

Yes. After the run, open the Apify dataset and export your results to JSON, CSV, or Excel for downstream use.

Do I need to provide a login or API key?

No. The actor collects publicly available search results and video/channel metadata without login, making it a practical YouTube search API alternative.

Does it support Python or Node.js integrations?

Yes. You can run the actor programmatically via the Apify platform and pull results from the dataset endpoint in your preferred stack (e.g., Python or Node.js).

What fields are included in the output?

Video records include title, url, id, date, duration, viewCount, likes, commentsCount, channelName, channelUsername, channelUrl, thumbnailUrl, hashtags, keywords, and more. Channel records include description, subscribers, views, videos, canonicalChannelUrl, and identifiers. Info/error rows provide contextual messages for transparency.

Closing CTA / Final thoughts

The 🔍 YouTube Search Scraper is built for fast, structured extraction of YouTube search results at scale. With live dataset saves, robust residential proxy reliability, and a flat JSON schema, it’s ideal for marketers, developers, analysts, and researchers who need clean YouTube SERP data without the overhead. Run it on Apify, export to CSV/JSON/Excel, or integrate programmatically to power your automation and analytics. Start extracting smarter YouTube insights today.

🔗 What are other Youtube scraping tools?

If you want to scrape specific Youtube data, you can use any of the dedicated scrapers below for faster and more targeted results.

🔗 Scraper Name🔗 Scraper Name
📧 YouTube Channel Email Scraper📝 YouTube Transcript Scraper
📞 YouTube Channel Phone Number Scraper📈 YouTube Trending Scraper
💬 YouTube Comments Scraper🧠 YouTube Video Summarizer
📺 YouTube Channel Scraper🎥 YouTube Video Scraper by Hashtag
🗂️ YouTube Metadata Scraper🔍 YouTube Channel Finder
▶️ YouTube Playlist Scraper🔎 YouTube Search Scraper
🧰 YouTube Scraper📝 YouTube Community Posts Scraper
🎥 YouTube Shorts Scraper🎥 YouTube Video Details Scraper