Youtube List Playlist Items
youtube_list_playlist_itemsList the videos in any playlist, in playlist order — one shared-pool unit per page.
Instructions
List the videos in any playlist, in playlist order — one shared-pool unit per page.
Unlike youtube_list_channel_videos this needs no channel: give it the playlist ID
(from youtube_get_channel's uploads_playlist_id, youtube_get_playlist, a video's
page, or the user) and it walks that playlist. Each item carries video_id, title,
channel_title, its position in the playlist, and published_at, which is when the
video was added to this playlist — a playlist keeps its own order and its own
add-dates, so these are not the videos' publish dates.
Costs one unit from the shared 10,000-unit pool per page, the large pool — never the
scarce 100/day search.list bucket, which this tool does not touch. Items carry no
view counts; get those from youtube_get_video_stats (its own bucket).
page_token is YouTube's opaque nextPageToken, handed straight back exactly as
received — never a page number or an offset, and never the integer character cursor from
youtube_get_transcript (a different mechanism entirely). An empty playlist returns
items: [] with no error: that is the real answer, not a failure. A private playlist
fails with an error that says so and is distinct from "does not exist"; retrying helps
neither.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No | ||
| max_results | No | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| playlist_id | Yes | ||
| next_page_token | No |