11

I was wondering if this is available in v3 (I know it's possible with v2)?

I've tried using watch_later as the id and mine=true in a playlist request. The watch_later playlist is not returned in the generic playlists list results when specifying mine=true.

Piper
  • 1,266
  • 3
  • 15
  • 26
user74826
  • 111
  • 1
  • 5
  • 1
    This is no longer possible as mentioned in [this post](http://stackoverflow.com/questions/36239503/youtube-data-api-v3-playlistitems-update-not-working-for-watch-later-playlists). – Raven Jan 09 '17 at 11:26

1 Answers1

13

Update

As of Sep 12 2016, watch later and watch history can no longer be retrieved YouTube Data API v3.

Original answer (no longer works)

You can get the IDs of you special private playlists with an authenticated request to

GET https://www.googleapis.com/youtube/v3/channels?part=contentDetails&mine=true&key={YOUR_API_KEY}

One of these is your watchLater playlist. Note the playlist id and use it in another authenticated request to get a list of all items on your watchLater list:

GET https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId={YOUR_PLAYLIST_ID}&key={YOUR_API_KEY}
kynan
  • 13,235
  • 6
  • 79
  • 81
  • 14
    this doesn't work anymore (see https://developers.google.com/youtube/v3/revision_history#september-15-2016) – petrbel Jun 27 '17 at 10:13