YouTube Trending Scraper - Daily Trends - All Countries
Pricing
from $10.00 / 1,000 results
YouTube Trending Scraper - Daily Trends - All Countries
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
- Go to the actor page on Apify and click "Start"
- Enter one or more country codes in the countries field (e.g., US, GB, DE)
- Select which trending categories you want to scrape
- Set the maximum number of results per country/category combination
- Configure proxy settings if desired
- 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
| Field | Type | Description |
|---|---|---|
countries | Array | Country codes to fetch trends for (default: ["US"]) |
categories | Array | Trending categories: Now, Music, Gaming, Movies (default: ["Now"]) |
maxResults | Integer | Maximum videos per country/category (default: 50) |
proxyConfiguration | Object | Proxy settings for the scraper |
Output
Each trending video produces a record with the following fields:
| Field | Type | Description |
|---|---|---|
rank | Integer | Trending rank position |
country | String | Country code |
category | String | Trending category |
videoId | String | YouTube video ID |
url | String | Full URL to the video |
title | String | Video title |
channelName | String | Channel name |
channelId | String | YouTube channel ID |
viewCount | String | View count text |
publishedTime | String | When the video was published |
duration | String | Video duration |
thumbnailUrl | String | Video thumbnail URL |
description | String | Description snippet |
scrapedAt | String | ISO 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.
Related actors from quick_kirigami
- 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
