Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3640

Very low number of videos returned in search requests

$
0
0

I tried to find music videos uploaded between specific dates and it seems like the number of videos returned is much below what could be expected.

I called the youtube/v3/search endpoint with these parameters

key: ***part: snippetpublishedAfter: 2023-07-01T00:00:00ZpublishedBefore: 2023-07-10T00:00:00Ztype: videomaxResults: 50order: viewCountq: music video

So, I requested all videos uploaded between 2023-07-01 and 2023-07-10 (10 days range) and related to the words "music video". The response only gives 15 elements :

"kind": "youtube#searchListResponse","etag": "UBCEQ_0Y6Jia19Ygs6uKoD9gFws","regionCode": "FR","pageInfo": {"totalResults": 1000000,"resultsPerPage": 15},"items": [    ... the 15 snippets ...]

The pageInfo element shows "totalResults": 1000000 and even though the documentation youtube/v3/docs/search/list states that this number is an approximation

pageInfo.totalResults

The total number of results in the result set.Please note that the value is an approximation and may not represent an exact value. In addition, the maximum value is 1,000,000.

it seems that there are a lot of videos matching the criteria missing. Only 15 elements in 10 days while it's etimated that 3.7 millions videos are uploaded every day. It seems unrealistic.

Am I missing something ?


Viewing all articles
Browse latest Browse all 3640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>