# YouTube Playlist Scraper - All Videos in Order, No API Key (`alom/youtube-playlist-scraper`) Actor

Export every video of any YouTube playlist in playlist order, up to YouTube's 5,000 limit: position, title, URL, views, duration, channel and thumbnail; likes, exact date and tags on request. Playlist or watch\&list= URLs, only-new-videos monitoring. No API key or quota.

- **URL**: https://apify.com/alom/youtube-playlist-scraper.md
- **Developed by:** [Alom Dev](https://apify.com/alom) (community)
- **Categories:** Videos, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## YouTube Playlist Scraper: All Videos in Order, No API Key

This **YouTube playlist scraper** exports **every video of a playlist, in playlist order**, with **no API key**: title,
URL, views, duration, channel and thumbnail, with likes, exact upload time and tags on request. It is for course and
lecture lists, music curation and monitoring the playlists you follow. The Free plan's $5 monthly credit covers about
6,200 videos.

- **No API key, no quota, no login.** It reads what youtube.com shows a logged-out visitor.
- **Whole playlists:** pages through up to YouTube's 5,000-video limit, keeping the playlist order. 300 videos took
  13 s in our test.
- **Any link:** a playlist URL or a video URL played from a playlist (`&list=`); bare playlist ids through the API.
- **Only new videos:** schedule it to get just what was added since the last run.
- **$0.80 per 1,000 videos on the Free plan, $0.35 on Business.**

### How to scrape a YouTube playlist in 3 steps

1. Paste **playlist URLs** (e.g. `https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT`).
2. Press **Start**. 30 videos take under a minute.
3. Open the **Output** tab, or export to CSV, Excel or JSON.

### Related actors

- [YouTube Scraper](https://apify.com/alom/youtube-scraper): channels, videos, Shorts, search, playlists and comments in one Actor
- [YouTube Channel Scraper](https://apify.com/alom/youtube-channel-scraper): every video of a channel, with the channel's stats on every row
- [YouTube Shorts Scraper](https://apify.com/alom/youtube-shorts-scraper): Shorts by keyword or channel, with views and likes
- [YouTube Comments Scraper](https://apify.com/alom/youtube-comments-scraper): comments and replies of any video or Short
- [YouTube Video Details Scraper](https://apify.com/alom/youtube-video-details-scraper): exact views, likes and metadata for a list of video URLs
- [YouTube Channel Email Scraper](https://apify.com/alom/youtube-channel-finder): creators by keyword, with the emails they publish

### What can you use it for?

- **Course and lecture lists:** every lesson of a course playlist with its length, for a syllabus or a study plan.
- **Music and curation:** export a playlist to a spreadsheet, or compare two playlists.
- **Channel uploads:** every channel has an uploads playlist (`UU` + the channel id without `UC`), so this lists a
  channel's videos in upload order too.
- **Monitoring:** a daily list of videos added to playlists you follow.

### Input

| Field | What it does |
|---|---|
| `startUrls` | Playlist URLs. A watch URL with `&list=` means that playlist. |
| `playlistUrls` | API only: plain strings, URLs or bare playlist ids. |
| `maxResults` | Max videos per playlist, from the top. Default 100. |
| `includeVideoDetails` | Open every video for likes, exact views, exact upload time, description and tags. Slower, same price. |
| `onlyNewSinceLastRun` + `monitorName` | Skip videos an earlier run with the same monitoring name returned. |

```json
{ "startUrls": [{ "url": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT" }], "maxResults": 500 }
```

`playlists` (plain strings) is understood too.

### Output example

```json
{
    "type": "video",
    "id": "Sg4GMVMdOPo",
    "url": "https://www.youtube.com/watch?v=Sg4GMVMdOPo",
    "title": "Start coding with PYTHON in 5 minutes! 🐍",
    "viewCount": 1000000,
    "viewCountText": "1M views",
    "duration": "00:05:50",
    "durationSeconds": 350,
    "thumbnailUrl": "https://i.ytimg.com/vi/Sg4GMVMdOPo/hqdefault.jpg",
    "channelId": "UC4SVo0Ue36XCfOyb5Lh1viQ",
    "channelName": "Bro Code",
    "channelUrl": "https://www.youtube.com/channel/UC4SVo0Ue36XCfOyb5Lh1viQ",
    "order": 0,
    "fromYTUrl": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT",
    "input": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT",
    "scrapedAt": "2026-11-01T14:19:22.076Z"
}
```

`order` is the position in the playlist (0 = first). Rows have more fields (likes, description, tags, exact date)
that are filled with `includeVideoDetails` and `null` otherwise; values YouTube doesn't show are `null`, never a
made-up `0`. Without details, `viewCount` is the playlist page's rounded number ("1M views").

### How much does it cost?

Pay per result, platform usage (compute and proxy) included. One result = one video row.

| Apify plan | Price per 1,000 videos |
|---|---|
| Free | $0.80 |
| Starter (Bronze) | $0.55 |
| Scale (Silver) | $0.45 |
| Business (Gold) and above | $0.35 |

A 500-video playlist costs **$0.40** on the Free plan. `includeVideoDetails` does not change the price. Playlists
that fail (private, deleted, a wrong id) produce no row and no charge, and so do rows skipped by monitoring.

#### Paid add-on (optional)

| Add-on | What each video gets | Price |
|---|---|---|
| Channel details (`addChannelDetails`) | The channel's subscribers, description, country, join date, total videos and views, avatar and banner, plus `channelEmails` and `channelDescriptionLinks` from its description | $1.00 per 1,000 channels, once per channel per run |

Off by default; switch it on in the input's **Paid add-ons** section. It is charged on top of the row's own price, only
with a delivered row and never past your run's spending limit.

### Limitations

- **Private and "Mix" playlists** (ids starting with `RD`, generated for each viewer) can't be read logged out.
- **The playlist page shows rounded numbers** ("12M views") and no upload date; turn on `includeVideoDetails` for
  exact counts and dates.
- **Hidden videos** (private or deleted entries in a playlist) are skipped, as on youtube.com.
- An unknown playlist fails only that input; it is named in the status message and the `NOT_FOUND` record.

### FAQ

**Do I need a YouTube account or an API key?** No.

**Is it legal?** It collects publicly visible data. You are responsible for how you use it, including data
protection rules for personal data.

**Why did my run say "partial"?** Some playlists could not be finished (for example the run hit its timeout).
Everything scraped so far is in the dataset; the status message says what was missed.

### More scrapers from the same developer

- [YouTube Scraper](https://apify.com/alom/youtube-scraper): videos, channels, Shorts, comments and community posts without the API quota
- [YouTube Video Details Scraper](https://apify.com/alom/youtube-video-details-scraper): exact views, likes, tags and dates for a list of video URLs
- [YouTube Channel Scraper](https://apify.com/alom/youtube-channel-scraper): every video of a channel with the channel's stats
- [YouTube Channel Email Scraper](https://apify.com/alom/youtube-channel-finder): YouTube creators by keyword, with the emails they publish
- [YouTube Comments Scraper](https://apify.com/alom/youtube-comments-scraper): comments and replies of any video, top or newest first
- [YouTube Shorts Scraper](https://apify.com/alom/youtube-shorts-scraper): Shorts from any channel or keyword search

### Feedback

Missing a field, found a bug, or need a feature? Open an issue in the **Issues** tab and I'll take a look. If this
Actor saved you time, a short review on the Store page helps other people find it.

# Actor input Schema

## `startUrls` (type: `array`):

Playlist URLs (<code>youtube.com/playlist?list=PL…</code>). A video URL with <code>\&list=</code> works too. Through the API, bare playlist ids work in <code>playlistUrls</code>.

## `maxResults` (type: `integer`):

Videos taken from each playlist, from the top. YouTube playlists hold up to 5,000 videos.

## `includeVideoDetails` (type: `boolean`):

Opens every video to add exact views, likes, comment count, exact upload time, full description, tags and category. About 2 extra requests per video, so runs take longer; the price per row stays the same.

## `addChannelDetails` (type: `boolean`):

Fill the channel fields of every video: subscribers, description, country, join date, total videos and views, avatar and banner, plus <code>channelEmails</code> and <code>channelDescriptionLinks</code> from the channel's description. Read from the channel's page once per channel per run, and charged once per channel.

## `onlyNewSinceLastRun` (type: `boolean`):

Skip videos that an earlier run with the same <b>Monitoring name</b> already returned (they are not charged). Schedule the run to get only the videos added to a playlist.

## `monitorName` (type: `string`):

Any name, e.g. <code>competitors-weekly</code>. Runs with the same name share their memory. Defaults to <code>default</code>.

## `maxConcurrency` (type: `integer`):

How many playlists are processed at the same time.

## `proxyConfiguration` (type: `object`):

The default (Apify datacenter proxy) works for YouTube and is included in the price. If YouTube starts blocking it, the run switches to residential proxies on its own and says so in the log.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT"
    }
  ],
  "maxResults": 30,
  "includeVideoDetails": false,
  "addChannelDetails": false,
  "onlyNewSinceLastRun": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT"
        }
    ],
    "maxResults": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("alom/youtube-playlist-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT" }],
    "maxResults": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("alom/youtube-playlist-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.youtube.com/playlist?list=PLZPZq0r_RZOOkUQbat8LyQii36cJf2SWT"
    }
  ],
  "maxResults": 30
}' |
apify call alom/youtube-playlist-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alom/youtube-playlist-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PsSMhUaKFRhvylpiJ/builds/RtBU28CqkVF9OR4GX/openapi.json
