YouTube Trending Tracker avatar

YouTube Trending Tracker

Pricing

$5.00 / 1,000 video fetcheds

Go to Apify Store
YouTube Trending Tracker

YouTube Trending Tracker

Track YouTube trending videos by country and category. Returns title, channel, view count, like count, comment count, duration, tags, and thumbnail URL. Monitor viral content, track emerging creators, and analyze trending topics using the official YouTube Data API v3 free tier.

Pricing

$5.00 / 1,000 video fetcheds

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 months ago

Last modified

Categories

Features

Limited permissions

Share

Track popular YouTube videos by country. With your YouTube Data API v3 key, the Actor uses the official mostPopular chart with rich metadata. Without a key, it reads Kworb's public per-country trending charts, which provide video rank, title, and link but not YouTube engagement statistics.

Features

  • Fetch trending videos for one or more countries in a single run
  • Filter by YouTube category with an API key; keyless mode supports only Overall (0) and Music (10) on Kworb
  • API-key mode returns views, likes, comments, duration, tags, thumbnail, and engagement rate
  • No API key required for available country charts; unsupported countries or categories return no results, not a mislabeled global list
  • Engagement rate is computed as (likes + comments) / views only when those counts are available

Input

FieldTypeDefaultDescription
apiKeystring—YouTube Data API v3 key (optional). Without it, uses Kworb's country chart (limited data).
countriesarray["US"]ISO 2-letter country codes, e.g. ["US", "GB", "KR", "JP"]
maxResultsinteger25Max trending videos per country (1–50)
categoryIdstring"0"YouTube category ID. 0 = All. See category table below.

YouTube Category IDs

IDCategory
0All
10Music
20Gaming
22People & Blogs
23Comedy
24Entertainment
25News & Politics
26Howto & Style
28Science & Technology

Getting a YouTube Data API v3 Key (Free)

  1. Go to Google Cloud Console
  2. Create a project → Enable "YouTube Data API v3"
  3. Credentials → Create API Key
  4. Free tier: 10,000 units/day (each trending request costs ~1 unit per video)

Without an API key, the Actor reads Kworb's per-country chart, not YouTube's retired Trending feed or a global RSS feed. Kworb charts cover only countries listed on its site and may differ from the official API's mostPopular rankings. GB maps to Kworb's uk page. Charts may update on a different schedule from the API; the Actor records fetch time, not a claim that each video became popular at that instant.

Output

Each record represents one trending video:

{
"rank": 1,
"country": "US",
"video_id": "dQw4w9WgXcQ",
"title": "Video Title",
"channel": "Channel Name",
"published_at": "2026-09-01T12:00:00Z",
"view_count": 5000000,
"like_count": 250000,
"comment_count": 12000,
"duration_seconds": 212,
"duration_iso": "PT3M32S",
"category_id": "10",
"tags": ["music", "pop"],
"thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"video_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"engagement_rate": 0.0524,
"fetched_at": "2026-09-02T10:00:00Z",
"data_source": "api"
}

In keyless mode, data_source is kworb_country_chart. It supplies rank, country, video_id, title, thumbnail_url, and video_url; channel, published_at, counts, duration, engagement/virality metrics, and YouTube category are unknown (null), while tags is empty. Music mode reports category_id="10" to identify the selected chart, not a verified video category. API-key mode retains data_source="api" and its existing full metadata.

Pricing

$0.005 per video (Pay-Per-Event). Fetching 25 videos for 4 countries = 100 videos = $0.50.

Example Usage

{
"countries": ["US", "KR"],
"maxResults": 25,
"categoryId": "0"
}
{
"apiKey": "YOUR_API_KEY",
"countries": ["US", "GB", "JP", "BR"],
"maxResults": 50,
"categoryId": "20"
}

Quick test without API key (country-chart fallback)

{
"countries": ["US"],
"maxResults": 25
}

Use Cases

  • Viral content monitoring — track what's trending before it peaks
  • Creator research — discover emerging channels before they explode
  • Market intelligence — correlate trending topics with brand mentions
  • Content strategy — identify trending categories and themes by country
  • Ad placement research — find high-engagement trending content

Notes

  • The YouTube Data API v3 free quota is 10,000 units/day. Each country fetch uses ~1 unit per video retrieved.
  • Keyless source: Kworb country charts. Overall and Music lists are available where Kworb publishes a country page. Other categoryId values require an API key; the Actor does not silently substitute a different category.
  • engagement_rate uses (like_count + comment_count) / view_count in API mode. It is null when keyless counts are unavailable.

Feedback

If this actor powers your content research, a review helps others find it: Leave a review on Apify Store


Keywords: YouTube trending videos tracker, YouTube viral content monitor, trending YouTube by country, YouTube category trends, viral video data scraper, YouTube Data API v3, top YouTube videos, emerging YouTube creators, YouTube trending analytics, social media trend tracking, video view count scraper, YouTube tags extractor, content trend monitoring, no additional cost API