VOOZH about

URL: https://apify.com/akash9078/youtube-trending-scraper

⇱ YouTube Trending Video Scraper Β· Apify


Pricing

from $0.00005 / actor start

Go to Apify Store

YouTube Trending Video Scraper

Scrape YouTube trending videos by region and category using the YouTube Data API v3. Extract video metadata, views, likes, comments, and more for SEO research, content planning, and trend analysis.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

πŸ‘ Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

0

Bookmarked

50

Total users

35

Monthly active users

2 months ago

Last modified

Share

YouTube Trending Scraper - Apify Actor

🎬 YouTube Trending Videos Scraper - Real-Time Trend Data Extraction

Discover what's trending on YouTube in real time! This Apify Actor scrapes YouTube's most popular/trending videos by region and category using the official YouTube Data API v3. Perfect for SEO research, content planning, competitor analysis, market research, and trend discovery.

Why Choose This YouTube Trending Scraper?

  • βœ… Real-Time Data - Get current trending videos as they appear on YouTube
  • βœ… Multi-Region Support - Scrape trending videos from any country (US, IN, GB, DE, JP, etc.)
  • βœ… Category Filtering - Filter by category (Music, Gaming, Sports, News, etc.)
  • βœ… No Quota Limits - Uses official API with reliable data extraction
  • βœ… Pay Per Event - Only pay for what you use, no monthly subscriptions
  • βœ… Developer Friendly - Python-based with full API integration

πŸš€ Quick Start

Input Configuration

{
"regionCode":"US",
"videoCategoryId":0,
"maxResults":50
}

Run via CLI

$apify run --input'{"regionCode": "US", "maxResults": 50}'

Run via API

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("your-username/youtube-trending-scraper").call(
run_input={"regionCode":"US","maxResults":50}
)

πŸ“Š Output Data

The Actor returns comprehensive trending video data:

{
"video_id":"dQw4w9WgXcQ",
"title":"Video Title",
"description":"Video description",
"channel_id":"UC...",
"channel_title":"Channel Name",
"published_at":"2024-01-15T12:00:00Z",
"thumbnail_url":"https://i.ytimg.com/vi/...",
"view_count":1000000,
"like_count":50000,
"comment_count":2000,
"duration":"PT10M30S",
"region_code":"US",
"video_category_id":null,
"video_url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"tags":["music","official"]
}

🌍 Supported Regions

Scrape YouTube trending videos from 200+ countries and regions using ISO 3166-1 alpha-2 codes:

RegionCodeRegionCode
United StatesUSGermanyDE
IndiaINJapanJP
United KingdomGBFranceFR
CanadaCABrazilBR
AustraliaAUMexicoMX
South KoreaKRSpainES
RussiaRUItalyIT
IndonesiaIDNetherlandsNL

πŸ“‚ Video Categories

Category IDCategoryCategory IDCategory
0All17Sports
1Film & Animation18Shorts
2Autos & Vehicles19Travel & Events
10Music20Gaming
15Pets & Animals21Videoblogging
16Sports22People & Blogs

πŸ’° Pricing (Pay Per Event)

This Actor uses Pay Per Event pricing model:

  • Per Execution: $0.0075 per run (up to 50 videos)
  • Free Units: 0
  • Max Paid Units: 50 videos per execution

Cost Examples

ScenarioVideosCost
Single US trending fetch50$0.0075
Multi-region (5 countries)250$0.0375
Daily monitoring (30 days)1,500$0.225/month

πŸ”§ Use Cases

πŸ“ˆ SEO Research

  • Identify trending topics in your niche
  • Discover high-performing video titles
  • Analyze trending content patterns
  • Track keyword trends over time

🎬 Content Planning

  • Find viral content ideas
  • Monitor competitor videos
  • Analyze trending categories
  • Research content gaps

πŸ“Š Market Research

  • Regional content analysis
  • Trend forecasting
  • Audience interest mapping
  • Brand monitoring

πŸ€– AI & Data Science

  • Training data collection
  • Trend prediction models
  • Sentiment analysis
  • Social media research

πŸ”Œ API Integration

JavaScript

const{ ApifyClient }=require('apify-client');
const client =newApifyClient({token:'YOUR_APIFY_TOKEN'});
const input ={
regionCode:'US',
videoCategoryId:0,
maxResults:50
};
const run =await client.actor('your-username/youtube-trending-scraper').call(input);
const dataset =await client.dataset(run.defaultDatasetId).listItems();
console.log(dataset.items);

Python

from apify_client import ApifyClient
client = ApifyClient(token='YOUR_APIFY_TOKEN')
run_input ={
'regionCode':'US',
'videoCategoryId':0,
'maxResults':50
}
run = client.actor('your-username/youtube-trending-scraper').call(run_input=run_input)
# Get results
for item in client.dataset(run['defaultDatasetId']).list_items()['items']:
print(item)

cURL

curl-X POST https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs \
-H"Authorization: Bearer YOUR_TOKEN"\
-d'{"regionCode": "US", "maxResults": 50}'

⚑ Performance

  • Speed: ~50 videos per second
  • Reliability: 99.9% uptime
  • Data Freshness: Real-time (current trending)
  • Rate Limits: Subject to YouTube API quotas

πŸ” Legal & Compliance

This tool is intended for personal, research, and educational use. Users must comply with:

  • YouTube Terms of Service
  • Google API Terms of Service
  • Applicable laws in their jurisdiction

The developer is not liable for misuse.


πŸ“„ License

MIT License

You might also like

Youtube Trending Scraper

api-empire/youtube-trending-scraper

YouTube Trending Scraper extracts real-time trending videos from YouTube. Collect titles, thumbnails, creators, categories, views, likes, and metadata. Ideal for trend research, content planning, competitor analysis, and workflows needing structured YouTube trending data.

YouTube Trending Scraper

simpleapi/youtube-trending-scraper

YouTube Trending Scraper extracts trending videos from YouTube, capturing titles, channels, views, likes, categories, publish dates, and video URLs. Ideal for tracking viral content, market research, content planning, and automating up-to-date YouTube trend insights.

Youtube Trending Scraper

scrapepilotapi/youtube-trending-scraper

YouTube Trending Scraper extracts videos from the YouTube trending page. It collects video titles, URLs, channels, views, likes, publish dates, thumbnails, and ranking data. Ideal for trend discovery, content research, competitor analysis, and video analytics.

YouTube Trending Scraper

scrapier/youtube-trending-scraper

Scrape real-time trending videos with the YouTube Trending Scraper. Extract titles, creators, ranks, views, categories, and metadata from YouTube’s Trending page. Perfect for trend analysis, market insights, and content research. Fast, accurate, and scalable for any region.

Youtube Trending Scraper

scrapapi/youtube-trending-scraper

πŸ“ˆ YouTube Trending Scraper (youtube-trending-scraper) pulls real-time trending videos with title, channel, views, likes, category, tags, publish date, region & rank, thumbnails & URLs. πŸ”Ž Perfect for content strategy, competitor analysis & market research. ⚑ Fast, reliable, SEO-ready.

YouTube Metadata Scraper

scrapier/youtube-metadata-scraper

Scrape comprehensive YouTube video data with the YouTube Metadata Scraper. Extract titles, descriptions, tags, views, likes, comments, upload dates, and more. Perfect for SEO, content analysis, trend tracking, and research. Fast, accurate, and scalable for single or bulk videos.

Youtube Trending Scraper

scrapemesh/youtube-trending-scraper

πŸ“ˆ YouTube Trending Scraper (youtube-trending-scraper) pulls real-time trending videos by country/regionβ€”titles, channels, views, likes, category, rank, publish date & thumbnails. πŸ” Ideal for content strategy, market research, and competitor analysis. πŸš€ Export to CSV/JSON.

Youtube Trending Scraper

scraply/youtube-trending-scraper

πŸŽ₯ YouTube Trending Scraper (youtube-trending-scraper) pulls real-time trending videos by country & category β€” titles, channels, views, thumbnails, publish date & more. πŸ“Š Export CSV/JSON for analytics. πŸ”₯ Perfect for content research, SEO, competitors & trend insights. πŸš€ Fast, reliable, API-ready.