Introducing the Instagram APIRead more →

YouTube Playlist API. Send a playlist link or ID.

Owner, video count and exact views of any playlist. We handle the proxies, blocks and platform changes.

In your agent: YouTube MCP server →

YouTube Playlist API at a glance

Returns a public YouTube playlist from its link or list ID, with its owner, video count and exact views. It also has the title, description, cover, the day it was last updated and the video it opens on. It works for playlists people make, a channel's uploads, podcasts, artists' albums and YouTube Music's own lists.

GET /v1/youtube/playlist

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 14 typed fields null when unknown
  • url is all it needs, e.g. https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 14 fields 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
url = https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI
GET /v1/youtube/playlistTry in
// Node 18+: save this as app.mjs (an ES module) and run: node app.mjs
const params = new URLSearchParams({
  url: "https://www.youtube.com/playlist?list=PLXIclLvfETS3AgCnZg4N6QqHu_T27XKIq",
});
const res = await fetch(`https://socialtap.dev/v1/youtube/playlist?${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, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/youtube/playlistLong 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

    A YouTube playlist: its link (youtube.com/playlist?list=…, also on m. and music.youtube.com), its embed (youtube.com/embed/videoseries?list=…), a video's link opened in it (watch?v=…&list=…, youtu.be/…?list=…) or its list ID (PL…, a channel's uploads UU…, an album OLAK5uy_…, YouTube Music's RDCLAK5uy_…).

  • 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 "PLXIclLvfETS3AgCnZg4N6QqHu_T27XKIq"
urlstring
Canonical playlist URL.
In the example "https://www.youtube.com/playlist?list=PLXIclLvfETS3AgCnZg4N6QqHu_T27XKIq"
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 Hip Hop - Lofi beats to study - Study music / Relaxing Music"
descriptionstring
Description as plain text; null when it has none or the platform shows none (TikTok).
In the example "I wish you all the best for your work. ❤️️ I hope my playlist always he…"
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 avatar_url: "https://yt3.ggpht.com/HQs8Bet0yJvtN77N8qIorxtPmh-ZB_qcMAA27P8utiCQC7t8q…", display_name: "Mimi Lofi Chill", id: "UCq9J_CUURRfbP

What teams build with the YouTube Playlist API.

  • Track a playlist's views and size over time

    Read the same playlist links on a schedule and store metrics.post_count and platform_specific.youtube.view_count with the time you read them, to see which lists keep growing and which went quiet.

  • Find who curates a playlist and how recently

    owner names the channel behind a playlist, with its handle, and platform_specific.youtube.updated_at the day it last changed, so you can tell a maintained list from an abandoned one.

  • Catalog a podcast's YouTube playlist

    Send a podcast's playlist link to get its title, description, cover and episode count, ready for a podcast directory or a show's media kit.

  • Check a playlist before featuring it

    Before you link a playlist in a newsletter or a campaign, confirm it is public, see how many videos it holds and the video it opens on.

Good to know before you build.

  • updated_at in platform_specific.youtube is the day YouTube shows ("Updated 3 days ago", "Last updated on Oct 31, 2025") and is in approximate_fields.
  • A mix, the endless list YouTube makes from a video, is no playlist and returns invalid_input naming the video to send to the YouTube Video API.
  • YouTube Music's own lists show no view count, so view_count is null for them.
  • An album's owner is its artist's channel. A compilation credited to Various Artists has no such channel, so its owner has the name alone and a null id.
  • A playlist that doesn't exist, or a signed-in viewer's own list such as Liked videos or Watch later, returns not_found or invalid_input. A private one returns private_or_unavailable.

1 credit per request. Failed requests are free.

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

SourcePrice per successful requestPer 1,000 requests
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 API.

More in the API reference.

Does it return the playlist's videos?
No. It returns the playlist itself: its owner, counts and cover, and the ID of the video it opens on.
Can I send a watch link that plays a playlist?
Yes. A video's link with list= in it (watch?v=…&list=…) returns the playlist it plays in. A mix's list returns invalid_input, as a mix is no playlist.
How much does the YouTube Playlist API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste 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