I have some long lists of YouTube video IDs and would like to create playlists with them programmatically. I'm looking at the YouTube API v3, but the impression I get there is that I have to do this one by one, and each request costs 50 units, with a daily quota of 10,000 - which would mean I could add at most 200 items assuming I did nothing else with the API. This seems strange, and I wonder if I am reading this wrong. Does anyone know if its possible to provide multiple IDs in a single request, and how to do that?

New contributor
Graham Wheeler is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    May 21 at 15:18
  • Welcome to Web Applications. Please see How to Ask a Good Question. In particular, "Have you thoroughly searched for an answer before asking your question?" I suggest starting with a Google search PlaylistItems:insert multiple single request Some resources: Quota Extension Form; Quota Calculator; Reference: PlaylistItems:insert May 21 at 15:41
  • Each video added will incur a call at the appropriate quota cost. You can code a loop to add multiple videos, but will still incur the incremental cost of call. May 21 at 15:44
  • Yeah, that's what I was afraid of. Seems a pretty inefficient API. I think I saw something somewhere where you could specify multiple video IDs in an URL and add them to a playlist that way, rather than use the API; need to find that again as it seems it may be a better option. May 22 at 17:52


Your Answer

Graham Wheeler is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.