YouTube Playlist Results API

/ Home / YouTube Search API / Playlist Results

When a YouTube search contains playlist results, they are parsed and exist within the playlist_results array in the JSON output.

YouTube playlist results examples

Playlist results overview

When SerpApi encounters playlist results, we add them to our JSON output as the array playlist_results. For each playlist result, we are able to extract its position_on_page, title, link, video_count videos and thumbnail. From the videos, we are able to extract title, link and length.

Playlist results overview Playlist results overview

JSON Example

{
  ...
  "playlist_results": [
    {
      "position_on_page": 2,
      "title": "Mix - Rock",
      "link": "https://www.youtube.com/watch?v=2AQ44nPrRTM&list=RDGMEMJQXQAmqrnmK1SEjY_rKBGA&start_radio=1",
      "video_count": 50,
      "videos": [
        {
          "title": "Fall Out Boy - Ghostbusters (I'm Not Afraid) (Audio) ft. Missy Elliott",
          "link": "https://www.youtube.com/watch?v=2AQ44nPrRTM&list=RDGMEMJQXQAmqrnmK1SEjY_rKBGA&start_radio=1",
          "length": "3:08"
        },
        {
          "title": "Five Finger Death Punch - Wrong Side Of Heaven",
          "link": "https://www.youtube.com/watch?v=o_l4Ab5FRwM&list=RDGMEMJQXQAmqrnmK1SEjY_rKBGA&start_radio=1",
          "length": "7:13"
        }
      ],
      "thumbnail": "https://i.ytimg.com/vi/2AQ44nPrRTM/hqdefault.jpg?sqp=-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLA6mzZ48wn20UT6UnGOGg-aDpQWGA"
    },
    {
      "position_on_page": 4,
      "title": "Alternative rock of the 2000s (2000-2009)",
      "link": "https://www.youtube.com/watch?v=kXYiU_JCYtU&list=PL6Lt9p1lIRZ311J9ZHuzkR5A3xesae2pk",
      "channel": {
        "name": "Big Alternative Music Fan",
        "link": "https://www.youtube.com/channel/UCAOnQrWTzICf_gPqW9v0ijA"
      },
      "video_count": 549,
      "videos": [
        {
          "title": "Numb (Official Video) - Linkin Park",
          "link": "https://www.youtube.com/watch?v=kXYiU_JCYtU&list=PL6Lt9p1lIRZ311J9ZHuzkR5A3xesae2pk",
          "length": "3:07"
        },
        {
          "title": "In The End (Official HD Video) - Linkin Park",
          "link": "https://www.youtube.com/watch?v=eVTXPUF4Oz4&list=PL6Lt9p1lIRZ311J9ZHuzkR5A3xesae2pk",
          "length": "3:39"
        }
      ],
      "thumbnail": "https://i.ytimg.com/vi/kXYiU_JCYtU/hqdefault.jpg?sqp=-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLD6YrsaajjGGnLIDMUzLbb7zjaiQg"
    },
    ...
  ],
  ...
}