---
title: "YouTube Playlist Videos API"
method: GET
path: "/v1/youtube/playlist-videos"
tags: ["YouTube"]
---

# YouTube Playlist Videos API

`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`

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

## Query parameters

- `url` string, required
- `limit` integer
- `cursor` string
- `fast` boolean
- `cache` boolean

## Response `200`

Success. The data object for this endpoint.

- object
  - `success` unknown, required
  - `data` object, required
    - `url` string: Canonical URL of the item.
    - `id` string: Stable platform ID for the item.
    - `totalVideos` integer: Total videos in the playlist (full size). Differs from totalReturned, which is this response's page length.
    - `totalReturned` integer: Number of items returned in this response.
    - `videos` object[]
      - `id` string: Id of this videos item.
      - `url` string: Canonical URL of the item.
      - `title` string: Title of this videos item.
      - `publishedAt` string: Exact ISO-8601 from reel_item_watch when available; publishedTimeText keeps shelf relative labels.
      - `publishedTimeText` string: Original relative publish label from the platform when an exact timestamp was not available (e.g. "1 year ago").
      - `viewCount` integer: View count.
      - `durationSeconds` integer: Length in seconds for this item (full media length, or a segment span when the endpoint documents a start/end).
      - `thumbnailUrl` string: Thumbnail image URL.
      - `channelName` string: Name of the channel.
      - `channel` object: Channel object on each video row (uploader), same as channel-videos.
        - `id` string: Stable platform ID for the item.
        - `title` string: Title of this videos item.
        - `url` string: Canonical URL of the item.

## Other responses

- `400`: Bad request: wrong platform URL, unknown endpoint, or an invalid parameter value. Not billed.
- `401`: Missing, invalid or revoked API key. Not billed.
- `402`: Not enough credits for this request. Not billed.
- `404`: The resource does not exist or is not public. Not billed.
- `422`: A required parameter is missing or has the wrong type. Not billed.
- `429`: Rate limit reached. Wait for Retry-After seconds. Not billed.
- `502`: The platform could not be reached or returned nothing usable. Retryable, not billed. 503 and 504 use the same envelope.

---

[API](https://skmtc.dev/captapi/apis/captapi-api.md) · [All operations](https://skmtc.dev/captapi/apis/captapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/captapi/apis/captapi-api/revisions/c9b9ac5ff1bd?raw)
