YouTube Trending Scraper avatar

YouTube Trending Scraper

Pricing

from $0.50 / 1,000 chart entry results

Go to Apify Store
YouTube Trending Scraper

YouTube Trending Scraper

Get YouTube's official Trending Music and Top Music Videos charts for any country: rank, views, artists, change versus last period. 0.50 USD per 1,000 results, no minimum charge per run.

Pricing

from $0.50 / 1,000 chart entry results

Rating

0.0

(0)

Developer

Brahim Sliti

Brahim Sliti

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Give it countries, get back YouTube's own Trending Music and Top Music Videos charts for each one: rank, title, channel, artists, views and how the rank moved since last period. One row per chart entry.

These are YouTube's official music charts, built into YouTube Charts. YouTube removed its general Trending page in 2025, so this is the closest official chart still available: it covers trending and top music videos, not every kind of trending video.

What people use it for

  • Music industry monitoring. Track where a new release enters the chart and how fast it climbs, country by country.
  • Market research. Compare which artists and songs are trending in the US versus France or Japan on the same day.
  • Content calendars. Spot which music videos are gaining the most this week to time a campaign around them.
  • Competitor tracking. Watch a label's or channel's videos move up or down the chart over time.

How to use it

  1. Add countries in Countries, one per line: ISO codes like US, FR, JP (default US).
  2. Pick a Chart: Trending now (30 entries per country, no view count), or Top music videos this week or today (100 entries, with view count).
  3. Optional: turn on Include video details to add views, likes, comment count, publish date and description to each entry.
  4. Click Start. Export as JSON, CSV or Excel, or pull the results through the API.
{
"countries": ["US", "FR"],
"chart": "top_videos_weekly"
}

What you get

{
"rank": 1,
"previousRank": 18,
"weeksOnChart": 2,
"id": "gsZauX8gwxo",
"title": "expectations (feat. Chappell Roan) (Official Music Video)",
"url": "https://www.youtube.com/watch?v=gsZauX8gwxo",
"thumbnailUrl": "https://i.ytimg.com/vi/gsZauX8gwxo/maxresdefault.jpg",
"channelName": "OliviaRodrigoVEVO",
"artists": ["Olivia Rodrigo"],
"viewCount": 3907969,
"viewCountChangePercent": 289.3,
"country": "US",
"chart": "top_videos_weekly"
}
  • rank/previousRank/weeksOnChart show the entry's current and previous position and how long it has been charting. previousRank is null for a new entry.
  • viewCount is null on the Trending now chart: that chart does not carry a view count, only rank. The two Top music videos charts always have one.
  • viewCountChangePercent is the change in views versus the previous period, as a percentage (so 289.3 means views nearly quadrupled).
  • Turn on Include video details to also get likes, commentsCount, publishedAt and description on each entry, at no extra cost.

Pricing

0.50 USD per 1,000 results. Include video details at no extra cost. There is no minimum charge per run and no monthly fee.

Example: Trending now for 2 countries (60 results) costs 0.03 USD.

Good to know

  • This is a music chart, not a general list of trending videos: YouTube itself removed the general Trending page in 2025. For videos trending for any other reason, there is no official YouTube source left to scrape honestly.
  • global is only accepted for the Top music videos charts, not for Trending now (YouTube does not publish a global Trending now chart).
  • For a channel's own video list and stats, use our YouTube Channel Scraper.
  • You don't need a proxy, a YouTube account or a YouTube API key.

Errors

A bad input never crashes the run. It becomes a row with an error code, and you are not charged for it.

errorWhat happenedRetry?
INVALID_INPUTThe country code is not a real country, or not supported for this chartNo
NO_RESULTSThe chart came back empty for this countryNo
PARSE_ERRORYouTube changed its page and we could not read it; we fix these fast, open an issueNo
BLOCKEDYouTube refused us for now, even after trying every proxy tierYes
UPSTREAM_ERRORSomething went wrong on YouTube's side or oursYes
UPSTREAM_UNAVAILABLEOur API was unreachableYes
TIME_BUDGET_EXCEEDEDThe time budget ran out before this country finishedYes

FAQ

Is this every trending video on YouTube? No. YouTube removed its general Trending page in 2025. This actor covers YouTube's own music charts (Trending now, Top music videos), which is the closest official chart still published.

I already use another YouTube trending actor. Do I have to change my code? Probably not. The output field names follow the most used YouTube trending scraper on the Store.

Can I call it from my code or from an AI agent? Yes, like any Apify actor: REST API, the Python and JavaScript clients, or the Apify MCP server. The examples are in the API tab.

Something broke or a field is missing? Open an issue on this page. We read every one and usually answer within a day.