playlistItems_list
Retrieve YouTube playlist items using a playlist ID or item IDs. Get snippet, content details, and status data for each video.
Instructions
Get items in a YouTube playlist. Requires exactly one filter: playlistId or id. If both are omitted the call is rejected. Quota cost: 1 unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Comma-separated list of playlist item IDs to retrieve. | |
| part | No | Comma-separated playlistItem resource properties to include. Options: contentDetails, id, snippet, status. | snippet,contentDetails,status |
| videoId | No | Return only playlist items that contain the specified video. | |
| pageToken | No | Token identifying a specific page in the result set. | |
| maxResults | No | Maximum items to return, 0-50. Default 5. | |
| playlistId | No | The ID of the playlist whose items to retrieve. | |
| onBehalfOfContentOwner | No | Content owner to act on behalf of (YouTube partners only). | |
| onBehalfOfContentOwnerChannel | No | Channel ID to act on behalf of (YouTube partners only). |