Platforms/YouTube/Playlist search

YouTube Playlist Search API

GET ยท 1 credit

Send words to search for, and get the playlists that match, about 20 a page.

GET /v1/youtube/search/playlists

What people use it for

  • Course discovery: find complete courses and series on a topic.
  • Curation research: see which collections rank for a subject and who made them.

How it works with other endpoints

Each playlist's id goes to Playlist for its videos. For single videos, use Search.

Limits

  • About 20 playlists a page.
  • Shows count seasons in video_count, not videos.

Example request

const url = `${process.env.API_URL}/v1/youtube/search/playlists?q=cooking`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
qYesWhat to search for.
regionNoA country's two-letter code, such as GB: results as YouTube ranks them there. US when left out.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "PL0000000000000000000000000000000A",
      "url": "https://www.youtube.com/playlist?list=PL0000000000000000000000000000000A",
      "title": "Weeknight Dinner Recipes",
      "thumbnail": "https://i.ytimg.com/vi/playlist-thumbnail.jpg",
      "video_count": 42,
      "channel_id": "UC0000000000000000000004",
      "channel_name": "Home Cooking Daily",
      "channel_handle": "homecookingdaily"
    }
  ],
  "page": {
    "next_cursor": "eyJ0b2tlbiI6IkVnWlEifQ",
    "has_more": true
  },
  "meta": {
    "platform": "youtube",
    "endpoint": "playlist_search",
    "params": {
      "q": "cooking"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Why do some results count seasons, not videos?

Some results are shows, which YouTube counts by season.

How do I get a playlist's videos?

Send its id to Playlist.

Can I search in another country?

Yes: region takes a country's two-letter code. US when left out.

Works with

YouTube guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required