YouTube Search
Playlist Search
Search YouTube playlists with the same searchYouTube API and receive PlaylistResult objects.
js
const result = await searchYouTube("JavaScript course", {
type: "playlist",
limit: 20,
});
console.log(result.playlists);Playlist search results expose the playlist identifier, title, thumbnail, URL, content type, video count and optional author information.