muffin
muffin

Reputation: 178

Historical YouTube Trending videos by date and country

I am looking for a way to get top-50 most popular videos from Explore Tab for a specific date or a period of time for a specific country. Can't find a way how to do it in YouTube API Documentation. Is there a way? If not, maybe you know some workarounds for getting a historical data?

For example, I could build a web scraper that would collect trending videos from Wayback Machine but it shows trending videos in the U.S. only. Also, found YouTube Charts website, but it shows only music.

Upvotes: 2

Views: 2745

Answers (1)

As far as I know, there is no such public endpoint or public resource to get these results - besides Wayback Machine and the public/official YouTube channels you can find on their website.

However, since you mentioned using Wayback Machine, you could follow these steps:

  1. Enter to Wayback Machine and search for results about the Pouplar on YouTube channel - see example of extract from Jun 15, 20211.
  2. Retrieve the videos shown in the search results from step 1.

That being said, I recommend you to start creating a database for record trending videos everyday - not sure how you can do this by region, though (this is due there are trending videos by "main countries" like UK, India, some parts of Asia, France, but, as I searched, trending applies for ALL countries) - if I'm wrong in this, please, let me know.

Another possible way to get close results to your expectations could be:

  1. Enter to Popular on YouTube channel and check the Popular now playlist.2
  2. Retrieve those results and organize the results - with this, I mean: check the publication date, check the channel's country/location, etc. It's up to you to check how to organize the available data.

1 Please check that probably there is no data/snapshot on a given day you require - using Wayback Machine -.

2 According to the updated date, this playlist is updated everyday, so, you have to make the same procedure mentioned above (create a database that store results everyday, etc.).

Not sure if with an VPN you can set the VPN and try to get the "Popular now" videos from the selected VPN country, might worth give it a try.

Try also contact with YouTube - probably you might get some sort of answer, ask them if they can provide information about trending videos from a specific region - in a specific time.

Upvotes: 0

Related Questions