# YouTube Playlist Videos & Metadata Extractor

**Use case:** 

Extract structured video listings from public YouTube playlists (PL..., UU..., OLAK..., or full playlist URLs) with video titles, playlist positions, view counts, likes, durations, channel handles, and thumbnails over pure HTTP at 256MB RAM with cross-source deduplication. $0 start, $0.0005/video.

## Input

```json
{
  "channelUrls": [],
  "playlistUrls": [
    "https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab"
  ],
  "maxVideosPerSource": 20,
  "enrichVideoDetails": false,
  "deduplicate": true,
  "concurrency": 5,
  "requestTimeoutMs": 15000
}
```

## Output

```json
{
  "channelName": {
    "label": "Channel Name",
    "format": "string"
  },
  "channelId": {
    "label": "Channel ID",
    "format": "string"
  },
  "channelHandle": {
    "label": "Channel Handle",
    "format": "string"
  },
  "channelSubscriberCount": {
    "label": "Subscribers",
    "format": "integer"
  },
  "channelVideoCountText": {
    "label": "Channel Videos Text",
    "format": "string"
  },
  "playlistTitle": {
    "label": "Playlist Title",
    "format": "string"
  },
  "playlistPosition": {
    "label": "Playlist Position",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "dataSources": {
    "label": "Data Sources",
    "format": "array"
  },
  "channelUrl": {
    "label": "Channel URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Channel Scraper: Videos, Playlists, Views & Stats Actor is ready to run with the inputs already set for "YouTube Playlist Videos & Metadata Extractor". [Sign up or log in](https://console.apify.com/create-task-from-example/40eiOTMzziN6ycvej) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Playlist Videos & Metadata Extractor" task

The YouTube Channel Scraper: Videos, Playlists, Views & Stats Actor will start running based on the input automatically. You can also change all the input fields, like youtube channel handles, urls, ids, or rss feeds, youtube playlist urls, ids, or rss feeds (optional), and more, to match your specific use case.

### 3. Receive the "YouTube Playlist Videos & Metadata Extractor" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as channel name, channel id, channel handle, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "YouTube Playlist Videos & Metadata Extractor" task via API](https://apify.com/salmon_chaparral/youtube-channel-video-scraper.md).

## FAQ

### What playlist formats can I pass into playlistUrls?

Accepts full youtube.com/playlist?list=... URLs, playlist IDs (PL..., UU..., OLAK...), or playlist Atom RSS URLs.

### Does the output preserve each video's order inside the playlist?

Yes. Each row populates playlistId, playlistTitle, and playlistPosition alongside video metadata and channel context.

### How are duplicate videos handled when scraping multiple playlists at once?

With deduplicate enabled, overlapping video IDs across playlists are merged before pushing to the dataset and never double-billed.

## About this Actor

This example demonstrates how to use [YouTube Channel Scraper: Videos, Playlists, Views & Stats](https://apify.com/salmon_chaparral/youtube-channel-video-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/salmon_chaparral/youtube-channel-video-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/salmon_chaparral/youtube-channel-video-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
