Introducing the Instagram APIRead more →

YouTube Playlist Search API. Playlists, podcasts and courses matching your search.

Playlists, podcasts and courses by keyword. We handle the proxies, blocks and platform changes.

In your agent: YouTube MCP server →

YouTube Playlist Search API at a glance

Returns the YouTube playlists that match a keyword, a page at a time, in YouTube's order or by popularity, for any region. Each has its ID, link, title, full description, channel, cover, video count and first video, and says whether it is a playlist, a podcast or a course.

GET /v1/youtube/search_playlists

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 14 typed fields null when unknown
  • 20 playlists, podcasts and courses per page, YouTube's relevance ranking (its search order)
  • query is all it needs, e.g. lofi hip hop

Send one request. Get up to 20 playlists, podcasts and courses back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = lofi hip hop
GET /v1/youtube/search_playlistsTry in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  query: "lofi hip hop",
});
const res = await fetch(`https://socialtap.dev/v1/youtube/search_playlists?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/youtube/search_playlistsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 9 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field YouTube doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Words or a name, in any language, matched by YouTube's playlist search as on youtube.com against playlists' titles, descriptions and channels; its operators ("exact phrase", -word) pass through.

  • Write one parser

    YouTube, TikTok, Instagram and 6 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, facebook, …).
In the example "youtube"
idstring
Platform-native playlist ID (string): TikTok's playlist (mix) or collection ID, YouTube's list ID (PL…), Facebook's video list ID.
In the example "RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM"
urlstring
Canonical playlist URL.
In the example "https://www.youtube.com/playlist?list=RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms…"
typestring
playlist: a list its owner curates and orders; collection: posts an account saved into a named public folder (TikTok's collections). New values may be added; treat unknown values as playlist.
In the example "playlist"
platform_typestring
The platform's own label, lowercase (mix, collection, playlist, series, podcast, …).
In the example "playlist"
titlestring
Name its owner gave it.
In the example "Lofi Loft"
descriptionstring
Description as plain text; null when it has none or the platform shows none (TikTok).
In the example "Kick back and coast to these chillhop and lofi beats."
ownerobject
The curating account (for a collection, the one that saved the posts). Where curators are not accounts (Apple Music), only what the platform names, with id and username null.
In the example display_name: "YouTube Music", id: "UC-9-kyTW8ZkZNDHQJ6FgpwQ", is_verified: false, …

What teams build with the YouTube Playlist Search API.

  • Find playlists and podcasts on a topic

    Search a keyword and get matching playlists and podcasts with their titles, channels, video counts and covers, a page at a time.

  • Find courses to learn a skill

    platform_type tells a course from a playlist or a podcast, so you can keep only the courses on a subject.

  • Map the channels that curate a niche

    Count the owners across the results for a set of keywords to see which channels keep the playlists people find.

  • Collect playlist IDs to walk their videos

    Store each result's id and first_video_id, then send them to the YouTube Playlist API for exact views.

Good to know before you build.

  • platform_specific.youtube.updated_at is read from labels such as "Updated 2 days ago" (in approximate_fields), and null when the result shows none; view_count is null: the YouTube Playlist API returns both exactly.
  • YouTube's later pages can repeat playlists from earlier pages: deduplicate by id.
  • No match returns an empty page. Words YouTube shows only to signed-in adults return private_or_unavailable, though sort=popular can answer them.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the YouTube Playlist Search API.

More in the API reference.

Are view counts included?
No. Search results don't show a playlist's views, so view_count is null. The YouTube Playlist API returns them exactly for one playlist.
Can results repeat across pages?
Yes. YouTube's later pages can repeat playlists from earlier pages, so deduplicate by id.
How much does the YouTube Playlist Search API cost?
A page of up to 20 playlists, podcasts and courses costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 1 hour.

Try it with your own search.

Type it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 310 endpoints
Start for free Read the docs