YouTube

YouTube Playlist Videos API

Paginated playlist contents — cursor/nextCursor/hasMore, same row shape as channel-videos.

Paste a YouTube playlist URL and get one page of videos as clean JSON (same enriched row shape as channel-videos / channel-shorts): id, url, title, publishedAt (ISO from reel_item_watch), publishedTimeText, viewCount, durationSeconds/durationFormatted, genre, badges, thumbnailUrl, channel{}. Envelope: id, totalVideos, totalReturned, nextCursor, hasMore. Pass nextCursor for the next page until hasMore is false. Optional fast=true uses YouTube RSS (no cursor; totalVideos is null because the feed carries no playlist size). Flat 2 credits per page on the native path. For title/channel/thumbnail without videos, use Playlist (1 credit).

Docs: https://captapi.com/apis/youtube-playlist-videos

get/v1/youtube/playlist-videos

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/youtube/playlist-videos
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring required

YouTube playlist URL, e.g. https://youtube.com/playlist?list=ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.

limitinteger

Max items to return (default 50, max 500). Flat 2 credits per call.

cursorstring

Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.

fastboolean

Set true to use YouTube RSS for faster results with less detailed metadata. Leave false when viewCount/duration quality matters.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.