YouTube Trending Scraper
Pricing
from $0.50 / 1,000 chart entry results
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
13 days ago
Last modified
Categories
Features
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
- Add countries in Countries, one per line: ISO codes like
US,FR,JP(defaultUS). - 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).
- Optional: turn on Include video details to add views, likes, comment count, publish date and description to each entry.
- 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/weeksOnChartshow the entry's current and previous position and how long it has been charting.previousRankisnullfor a new entry.viewCountisnullon the Trending now chart: that chart does not carry a view count, only rank. The two Top music videos charts always have one.viewCountChangePercentis the change in views versus the previous period, as a percentage (so289.3means views nearly quadrupled).- Turn on Include video details to also get
likes,commentsCount,publishedAtanddescriptionon 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.
globalis 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.
error | What happened | Retry? |
|---|---|---|
INVALID_INPUT | The country code is not a real country, or not supported for this chart | No |
NO_RESULTS | The chart came back empty for this country | No |
PARSE_ERROR | YouTube changed its page and we could not read it; we fix these fast, open an issue | No |
BLOCKED | YouTube refused us for now, even after trying every proxy tier | Yes |
UPSTREAM_ERROR | Something went wrong on YouTube's side or ours | Yes |
UPSTREAM_UNAVAILABLE | Our API was unreachable | Yes |
TIME_BUDGET_EXCEEDED | The time budget ran out before this country finished | Yes |
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.