v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 Public APIs

Get playlist details and items

This API endpoint provides the details of a playlist, including playlist metadata and the videos included in the playlist, based on the specified playlist ID.

When accessing this endpoint and providing a valid playlist ID as a parameter, you will receive a response containing comprehensive information about the playlist, such as its title, description, and other metadata.

Additionally, the response will include a list of videos that are part of the playlist, enabling you to access the video details.

Disclaimer:

Data provided by the API is static and not real-time.

This simplifies the process of developing a YouTube clone, allowing developers to solely focus on UI design and creativity, without worrying about complex API key configuration.

get/public/youtube/playlists/{playlistId}

Response

Get playlist details and items

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "channel": {
      "info": {
        "country": "IN",
        "customUrl": "@hiteshchoudharydotcom",
        "description": "Website: https://hiteshchoudhary.com\nHey there everyone, Hitesh here back again with another video!\nThis means I create a lot of videos, every single week. I cover a wide range of subjects like programming, what's latest in tech, new frameworks, open-source products etc. I keep my interest in a wide area of tech like Javascript, Python, PHP, Machine Learning, etc.\n\nFor the Business purpose, Sponsorships and invitation, reach out at team@hiteshchoudhary.com\n\nNOTE: Personal questions and code-related questions are not answered at this email. Post them in the course discussion section or react me out at social platforms.\n\n#iWriteCode\n\nInstagram: https://instagram.com/hiteshchoudharyofficial\nFacebook: www.fb.com/HiteshChoudharyPage",
        "localized": {
          "description": "Website: https://hiteshchoudhary.com\nHey there everyone, Hitesh here back again with another video!\nThis means I create a lot of videos, every single week. I cover a wide range of subjects like programming, what's latest in tech, new frameworks, open-source products etc. I keep my interest in a wide area of tech like Javascript, Python, PHP, Machine Learning, etc.\n\nFor the Business purpose, Sponsorships and invitation, reach out at team@hiteshchoudhary.com\n\nNOTE: Personal questions and code-related questions are not answered at this email. Post them in the course discussion section or react me out at social platforms.\n\n#iWriteCode\n\nInstagram: https://instagram.com/hiteshchoudharyofficial\nFacebook: www.fb.com/HiteshChoudharyPage",
          "title": "Hitesh Choudhary"
        },
        "publishedAt": "2011-10-24T10:25:16Z",
        "thumbnails": {
          "default": {
            "height": 88,
            "url": "https://yt3.ggpht.com/ytc/AOPolaTLK52bUQ_YHxgb7RK8GMt_bksIMavy-aEZ9fUOvg=s88-c-k-c0x00ffffff-no-rj",
            "width": 88
          },
          "high": {
            "height": 800,
            "url": "https://yt3.ggpht.com/ytc/AOPolaTLK52bUQ_YHxgb7RK8GMt_bksIMavy-aEZ9fUOvg=s800-c-k-c0x00ffffff-no-rj",
            "width": 800
          },
          "medium": {
            "height": 240,
            "url": "https://yt3.ggpht.com/ytc/AOPolaTLK52bUQ_YHxgb7RK8GMt_bksIMavy-aEZ9fUOvg=s240-c-k-c0x00ffffff-no-rj",
            "width": 240
          }
        },
        "title": "Hitesh Choudhary"
      },
      "statistics": {
        "subscriberCount": "801000",
        "videoCount": "1442",
        "viewCount": "54384618"
      }
    },
    "playlist": {
      "id": "PLRAV69dS1uWSx4erHGq8hW_GE-Eaj60r-",
      "kind": "youtube#playlist",
      "snippet": {
        "channelId": "UCXgGY0wkgOzynnHvSEVmE3A",
        "channelTitle": "Hitesh Choudhary",
        "description": "Learn and master API with our open source project, https://freeapi.app",
        "localized": {
          "description": "Learn and master API with our open source project, https://freeapi.app",
          "title": "FreeAPI.app"
        },
        "publishedAt": "2023-07-18T12:28:02Z",
        "thumbnails": {
          "default": {
            "height": 90,
            "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/default.jpg",
            "width": 120
          },
          "high": {
            "height": 360,
            "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/hqdefault.jpg",
            "width": 480
          },
          "maxres": {
            "height": 720,
            "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/maxresdefault.jpg",
            "width": 1280
          },
          "medium": {
            "height": 180,
            "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/mqdefault.jpg",
            "width": 320
          },
          "standard": {
            "height": 480,
            "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/sddefault.jpg",
            "width": 640
          }
        },
        "title": "FreeAPI.app"
      }
    },
    "playlistItems": [
      {
        "id": "UExSQVY2OWRTMXVXU3g0ZXJIR3E4aFdfR0UtRWFqNjByLS41NkI0NEY2RDEwNTU3Q0M2",
        "kind": "youtube#playlistItem",
        "snippet": {
          "channelId": "UCXgGY0wkgOzynnHvSEVmE3A",
          "channelTitle": "Hitesh Choudhary",
          "description": "Learn about API and master them with our new open source project. Check it out here:\nhttps://freeapi.app\n\nFacebook: https://www.facebook.com/HiteshChoudharyPage\nInstagram: https://instagram.com/hiteshchoudharyofficial\nhomepage: http://www.hiteshChoudhary.com\n\nDisclaimer:\nIt doesn't feel good to have a disclaimer in every video but this is how the world is right now. \nAll videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.\n\nAll Amazon links are affiliate links (If any).",
          "playlistId": "PLRAV69dS1uWSx4erHGq8hW_GE-Eaj60r-",
          "position": 0,
          "publishedAt": "2023-07-18T12:28:08Z",
          "resourceId": {
            "kind": "youtube#video",
            "videoId": "xJq0EQMFGyg"
          },
          "thumbnails": {
            "default": {
              "height": 90,
              "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/default.jpg",
              "width": 120
            },
            "high": {
              "height": 360,
              "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/hqdefault.jpg",
              "width": 480
            },
            "maxres": {
              "height": 720,
              "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/maxresdefault.jpg",
              "width": 1280
            },
            "medium": {
              "height": 180,
              "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/mqdefault.jpg",
              "width": 320
            },
            "standard": {
              "height": 480,
              "url": "https://i.ytimg.com/vi/xJq0EQMFGyg/sddefault.jpg",
              "width": 640
            }
          },
          "title": "Open Source Project Launch | FreeAPI.app",
          "videoOwnerChannelId": "UCXgGY0wkgOzynnHvSEVmE3A",
          "videoOwnerChannelTitle": "Hitesh Choudhary"
        }
      },
      {
        "id": "UExSQVY2OWRTMXVXU3g0ZXJIR3E4aFdfR0UtRWFqNjByLS4yODlGNEE0NkRGMEEzMEQy",
        "kind": "youtube#playlistItem",
        "snippet": {
          "channelId": "UCXgGY0wkgOzynnHvSEVmE3A",
          "channelTitle": "Hitesh Choudhary",
          "description": "https://hc.lco.dev/jscamp2\nWallpaper: https://imgur.com/a/FYHfk\n\nFacebook: https://www.facebook.com/HiteshChoudharyPage\nInstagram: https://instagram.com/hiteshchoudharyofficial\nhomepage: http://www.hiteshChoudhary.com\n\nDisclaimer:\nIt doesn't feel good to have a disclaimer in every video but this is how the world is right now. \nAll videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.\n\nAll Amazon links are affiliate links (If any).",
          "playlistId": "PLRAV69dS1uWSx4erHGq8hW_GE-Eaj60r-",
          "position": 1,
          "publishedAt": "2023-07-18T12:49:04Z",
          "resourceId": {
            "kind": "youtube#video",
            "videoId": "dtzfTePFKgM"
          },
          "thumbnails": {
            "default": {
              "height": 90,
              "url": "https://i.ytimg.com/vi/dtzfTePFKgM/default.jpg",
              "width": 120
            },
            "high": {
              "height": 360,
              "url": "https://i.ytimg.com/vi/dtzfTePFKgM/hqdefault.jpg",
              "width": 480
            },
            "maxres": {
              "height": 720,
              "url": "https://i.ytimg.com/vi/dtzfTePFKgM/maxresdefault.jpg",
              "width": 1280
            },
            "medium": {
              "height": 180,
              "url": "https://i.ytimg.com/vi/dtzfTePFKgM/mqdefault.jpg",
              "width": 320
            },
            "standard": {
              "height": 480,
              "url": "https://i.ytimg.com/vi/dtzfTePFKgM/sddefault.jpg",
              "width": 640
            }
          },
          "title": "FreeAPI local setup with npm",
          "videoOwnerChannelId": "UCXgGY0wkgOzynnHvSEVmE3A",
          "videoOwnerChannelTitle": "Hitesh Choudhary"
        }
      }
    ]
  },
  "message": "Playlist fetched successfully",
  "statusCode": 200,
  "success": true
}