YouTube Trending Scraper - Daily Trends - All Countries avatar

YouTube Trending Scraper - Daily Trends - All Countries

Pricing

from $10.00 / 1,000 results

Go to Apify Store
YouTube Trending Scraper - Daily Trends - All Countries

YouTube Trending Scraper - Daily Trends - All Countries

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Donny

Donny

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Categories

Share

YouTube Trending Scraper

What it does

YouTube Trending Scraper extracts the current trending videos from YouTube for any country and category combination. It uses the YouTube InnerTube browse API to fetch trending page data directly, providing fast and reliable access to what is popular on YouTube right now. The scraper supports all YouTube trending categories including Now (general trending), Music, Gaming, and Movies, and can fetch trends for any country that YouTube supports by using standard ISO country codes.

This tool is ideal for market researchers analyzing video content trends, content creators monitoring what is popular in their niche, journalists tracking viral content, and data analysts building dashboards of YouTube trending patterns across different regions and categories.

Features

  • Multi-Country Support: Fetch trending videos from any country using ISO 3166-1 alpha-2 codes (US, GB, DE, JP, BR, and more)
  • Category Filtering: Scrape specific trending categories: Now (general), Music, Gaming, and Movies
  • Rich Metadata: Each video includes title, channel name, view count, publish time, duration, thumbnail, and description
  • Ranking Information: Videos include their trending rank position for each country/category combination
  • Batch Processing: Process multiple countries and categories in a single run
  • Configurable Limits: Set maximum results per category to control output size and costs
  • Fast API Access: Uses InnerTube API directly for efficient data retrieval without browser overhead
  • Daily Scheduling: Perfect for scheduled daily runs to track trending changes over time

How to use

  1. Go to the actor page on Apify and click "Start"
  2. Enter one or more country codes in the countries field (e.g., US, GB, DE)
  3. Select which trending categories you want to scrape
  4. Set the maximum number of results per country/category combination
  5. Configure proxy settings if desired
  6. Run the actor and export results in JSON, CSV, or Excel format

For automated monitoring, set up a scheduled run to capture trending data daily and build a historical dataset of YouTube trends.

Input

FieldTypeDescription
countriesArrayCountry codes to fetch trends for (default: ["US"])
categoriesArrayTrending categories: Now, Music, Gaming, Movies (default: ["Now"])
maxResultsIntegerMaximum videos per country/category (default: 50)
proxyConfigurationObjectProxy settings for the scraper

Output

Each trending video produces a record with the following fields:

FieldTypeDescription
rankIntegerTrending rank position
countryStringCountry code
categoryStringTrending category
videoIdStringYouTube video ID
urlStringFull URL to the video
titleStringVideo title
channelNameStringChannel name
channelIdStringYouTube channel ID
viewCountStringView count text
publishedTimeStringWhen the video was published
durationStringVideo duration
thumbnailUrlStringVideo thumbnail URL
descriptionStringDescription snippet
scrapedAtStringISO timestamp of extraction

Pricing

This actor runs on the Apify platform with pay-per-usage pricing. A typical run fetching trending videos for one country and one category completes in under 30 seconds and costs less than $0.01. Fetching all four categories across 10 countries typically costs under $0.10 per run. The actor is highly efficient because it uses direct API calls rather than browser-based scraping, keeping compute and memory usage minimal.

  • YouTube Playlist Scraper - Extract all videos from YouTube playlists with full metadata
  • YouTube Channel Scraper - Scrape all videos and metadata from YouTube channels
  • Social Media Analytics Tool - Analyze engagement metrics across social platforms