Introducing the Instagram APIRead more →

YouTube Playlist Videos API. Videos, page by page.

Videos of any playlist with channel and views. We handle the proxies, blocks and platform changes.

In your agent: YouTube MCP server →

YouTube Playlist Videos API at a glance

Returns the videos of a public YouTube playlist in its own order, a page at a time, from its link or list ID. Each video has its title, channel, views, upload date and length, and a collaboration's other channels. It works for playlists people make, a channel's uploads and Shorts, podcasts, albums and YouTube Music's own lists.

GET /v1/youtube/playlist_posts

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 25 typed fields null when unknown
  • 100 videos per page, the playlist's own order, as its owner arranged it
  • url is all it needs, e.g. https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI

Send one request. Get up to 100 videos 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/playlist_postsTry 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=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI",
});
const res = await fetch(`https://socialtap.dev/v1/youtube/playlist_posts?${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/playlist_postsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 24 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 21 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
In the example "youtube"
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
In the example "fOT0BUpITw8"
urlstring
Canonical post URL.
In the example "https://www.youtube.com/watch?v=fOT0BUpITw8"
typestring
Normalized content shape. New values may be added; treat unknown values as other.
In the example "video"
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
In the example "video"
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
In the example "BELLAKEO (Video Oficial) - Peso Pluma, Anitta"
textstring
Caption, description or body as plain text.
In the example "BELLAKEO (Video Oficial) - Peso Pluma, Anitta Double P Records ➸ ESCUCH…"
link_urlstring
The page the post links to: a link post's target, a pin's destination, or the page its link card or link sticker opens; null when it links to none.
In the example null

What teams build with the YouTube Playlist Videos API.

  • Export every video of a playlist

    Follow page.next_cursor until page.has_more is false to collect each video's link, title, channel, length and view count in the order the playlist's owner arranged them.

  • Track what a curator adds to a list

    Read the same playlist link on a schedule and compare its video IDs with the ones you stored: a new ID is a video the curator added, a missing one a video removed.

  • Pull a podcast's episodes from YouTube

    Send a podcast's playlist link to list its episodes with their titles, lengths and views, and the first 15 with their exact upload time and full description.

  • Compare the views of an album's tracks

    Send an album's list ID (OLAK5uy_…) to get every track with its artist's channel and view count, to see which songs people play most.

Good to know before you build.

  • A playlist's first 15 videos have exact views, likes, upload times and descriptions. Later ones show rounded views and dates (approximate_fields) and no likes or description.
  • YouTube serves a channel's Shorts list only as far as its first page, which ends at platform_limit. The YouTube Channel Videos API with tab=shorts walks every short.
  • YouTube hides a playlist's deleted and private videos, and those blocked in the country it is read from, so a walk can list fewer videos than its count.
  • A mix, the endless list YouTube makes from a video, and a signed-in viewer's own lists such as Watch later return invalid_input. A playlist that doesn't exist returns not_found.

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 Videos API.

More in the API reference.

Does it return every video of a playlist?
Yes. Follow page.next_cursor until page.has_more is false. YouTube leaves out deleted and private videos, and a channel's Shorts list stops at its first page.
Can I send a watch link that plays a playlist?
Yes. A video's link with list= in it (watch?v=…&list=…&index=…) lists the whole playlist from its first video, not from the one the link opens on.
Can I get exact view counts?
Yes for a playlist's first 15 videos, with their likes, upload time and description. Later videos show rounded views and dates, listed in approximate_fields: send a video's link to the YouTube Video API for its exact numbers.
How much does the YouTube Playlist Videos API cost?
A page of up to 100 videos 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 24 hours.

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