3
votes

I have a channel with 500+ videos, and would like a list of all the video URLS within my channel.

I have tried:

https://gdata.youtube.com/feeds/api/users/default/uploads?key=DEVELOPER_KEY

Developer Key from: https://code.google.com/apis/youtube/dashboard

I simply get: User authentication required. Error 401

No idea how to proceed.

2

2 Answers

0
votes

https://gdata.youtube.com/feeds/api/users/your_youtube_username/uploads?max-query=50&start-index=51

Replace default with your YouTube username. This GET request does not seem to require a developer key.

YouTube API v2.0 - API Query Parameters describes the use of the max-query search parameter. As it will only return a maximum of 50 results, use it with start-index to determine the range of the requested results. The sample link above will return upload results of indexes 51 to 100.

Hence, you will need to make multiple requests in order to fetch all 500+ videos.
YouTube API - Get All Videos From User limits? has a similar question.