Get playlist
getPlaylist(id, query?, options?): Playlist
Returns playlist overview plus the initial page of video items. Use next_cursor with List playlist videos for later pages.
Security
API Token
The preferred authorization scheme for the YouTube Transcript API. Create a key with transcripts:read in the developer dashboard.
Example: Authorization: Bearer YOUR_API_KEY
See Authentication for scopes and rate limits.
Accepted permissions (at least one required)
ParametersExpand Collapse
id:stringPath param:
Playlist ID (PL...) or a full YouTube playlist URL.
required_country?:stringQuery param:
ISO country hint used when region availability matters.
ReturnsExpand Collapse
playlist_id:stringCanonical playlist ID.
title:stringPlaylist title.
description:stringPlaylist description.
video_count:numberTotal videos in the playlist.
view_count_text?:stringDisplay string for views.
author:stringOwner channel name.
thumbnails:Thumbnail[]Artwork at one or more sizes.
videos:PlaylistVideo[]First page of items, including video_id, title, index, and duration.
has_more:booleanWhether another page is available.
next_cursor:string | nullOpaque cursor for the next page.