Skip to main content

Path Parameters

playlist_id
string
required
The YouTube playlist id (the list= value).

Query Parameters

continuation
string
Continuation token from a previous playlist or playlist-items response. Omit it to fetch the first page.

Response

playlist_id
string
The playlist id the items belong to.
items
array
Array of playlist items.
continuation
string
Token to fetch the next page (nullable when no more pages).

Example Response

{
  "playlist_id": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
  "items": [
    {
      "position": 101,
      "video_id": "9bZkp7q19f0",
      "title": "PSY - GANGNAM STYLE",
      "url": "https://www.youtube.com/watch?v=9bZkp7q19f0&list=PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
      "length_seconds": 252,
      "duration": "4:12",
      "channel_name": "officialpsy",
      "view_count": 5100000000,
      "is_playable": true,
      "set_video_id": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf9bZkp7q19f0"
    }
  ],
  "continuation": "4qmFsgJhEiRWTFBMckFY..."
}
Each playlist-items page costs 5 credits. Failed requests are not charged.