Resources for working with the Youtube API

You can use the Youtube API to get data from youtube. Here are some resources and some things that are good to know.

You need to create an API key and each request will cost a certain amount of Request-Points (depending on the kind of query).

It may help to understand youtube's domain model before starting.

It's best to just try out your requests in the browser to see what you will get.
A request can look like this (note that you have to replace the playlist ID and the API key in order to make this request work):

https://www.googleapis.com/youtube/v3/playlistItems?playlistId=<PLAYLIST_ID>&key=<API-KEY>A&part=snippet&fields=nextPageToken,items(snippet(publishedAt,resourceId(videoId)))

There are more examples and explanations in the docs Show archive.org snapshot .

You can look up the estimated costs of your requests here Show archive.org snapshot .

You can see your current quota limit and how much is used here Show archive.org snapshot (select your project in the upper left dropdown).

Over 4 years ago