What is the maximum results returned for YouTube Data API v3 call

后端 未结 2 1921
半阙折子戏
半阙折子戏 2021-01-06 21:07

Context

I am in the process of providing some consultancy on doing a HTTP GET using YouTube Data API V3; in order to develop a Windows based application to GET a l

相关标签:
2条回答
  • 2021-01-06 21:31

    This only holds for the search-Query. Other queries like "PlaylisItem:list" deliver more results. I have tested with 100.000 items to get the videos of a playlist.

    0 讨论(0)
  • 2021-01-06 21:39

    The API won't provide more than ~500 search results for any arbitrary query. It's by design. Technically, it means that the nextPageToken field won't be returned once you hit ~500 results. No additional parameter can change that.

    If you want more than ~500 results for a query, you have to split it into more specific sub-queries. I'd suggest using the publishedAfter and publishedBefore parameters to achieve that, but feel free to experiment with the other ones here.

    0 讨论(0)
提交回复
热议问题