api-samples icon indicating copy to clipboard operation
api-samples copied to clipboard

Search by viewCount gives incorrect results

Open rrd108 opened this issue 4 years ago • 0 comments

On calling https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=*channelId*&key=*api_key*&maxResults=5&order=viewCount&type=video I am supposed to get the most viewed videos of the channel.

In the response's items array's first element is a 6 months old video with around 4k views.

On the channel's Youtube page if I sort by most viewed, the first one is 10 years old with 200k views.

rrd108 avatar Jan 21 '22 09:01 rrd108