Roodie
Roodie

Reputation: 247

Youtube v3 API "id" query parameter length

I am using the Youtube v3 api (video list function) to retrieve the statistics for some videos uploaded by a client. I filter the list by the video ids.

Does anyone have any idea how long the "id" parameter could be for such request? The reference only states this:

id - string - The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.

Upvotes: 1

Views: 649

Answers (1)

Gal Appelbaum
Gal Appelbaum

Reputation: 1955

In theory 50 IDs... you technically can only query 50 videos at a time, so unless you use next page tokens and keep the IDs, you're limited to 50... Personally I wouldn't go above 50 at a time...

Upvotes: 2

Related Questions