YouTube Search Scraper avatar

YouTube Search Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
YouTube Search Scraper

YouTube Search Scraper

Scrape video results from YouTube search. Extract titles, descriptions, view counts, durations, channels, badges, and thumbnails for any search query.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

Anyx Solutions

Anyx Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

banner

YouTube Search Scraper

Collect video results from YouTube search at scale — by any search query.

The YouTube Search Scraper extracts structured video data from YouTube search results: titles, descriptions, view counts, durations, publish times, channel badges, and thumbnails. It's built for content strategists, market researchers, trend analysts, and anyone monitoring the creator economy.

⚡ Quick start

{
"search": ["AI tools 2024", "productivity apps", "startup marketing"],
"maxVideos": 50,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
}
}

Use RESIDENTIAL proxy group for best results.

Each query runs independently, and every matching video is saved as its own dataset record.

🧩 Input

FieldTypeRequiredDefaultDescription
searcharrayyesOne or more search terms to look up on YouTube. Each query is scraped independently.
maxVideosintegerno50Maximum number of videos to extract per search query (1–200).
proxyConfigurationobjectno{ "useApifyProxy": false }Apify proxy settings used for the run.

📤 Output

Each scraped video is pushed to the dataset as one record.

Fields

FieldTypeDescription
idstringYouTube video identifier.
titlestringVideo title.
descriptionstringDescription snippet shown in search results.
urlstringDirect link to the video (https://youtu.be/{id}).
publishedTimestringHuman-readable publish time (for example, "2 weeks ago").
videoLengthstringDuration as shown in search results.
viewCountstringView count as shown in search results.
videoBadgesstring[]Video badges (for example, "4K", "CC", "New").
channelBadgesstring[]Channel badges (for example, "Verified").
videoThumbnailsobject[]Thumbnail objects with url, width, height.
channelThumbnailsobject[]Channel avatar thumbnail objects.
searchQuerystringThe search term that returned this video.
scrapedAtstringISO timestamp of when the record was scraped.

💡 Use cases

  • Content strategists map trending topics and competitive positioning across queries.
  • Researchers analyze view counts, publish times, and video formats at scale.
  • Trend analysts monitor the creator economy and emerging content niches.
  • Marketers identify authoritative creators and high-performing video formats.

❓ FAQ

  • What can be scraped? Any public video that appears in YouTube search results for your queries.
  • Can I run multiple queries at once? Yes — add several terms to search and each runs independently.
  • What if YouTube changes its site? We maintain the scraper and update it when major changes affect functionality.

🔗 More scrapers by Anyx

🤝 Anyx Solutions

Anyx Solutions is an Apify Partner. We build custom scrapers and data-extraction pipelines.

🖼 Image credit

Image credit: youtube.com