# YouTube Playlist Scraper: Chapters, Most Replayed & Transcripts

> Paste YouTube playlist, channel or video URLs and get one row per video: playlist position, length, views, date, likes, comments, chapters with end times and links, and the 5 most replayed moments. Full transcripts optional. Private videos are free. Not affiliated with YouTube or Google.

- **Page:** https://kizukidata.com/actors/youtube-playlist-chapters-scraper/
- **Markdown:** https://kizukidata.com/actors/youtube-playlist-chapters-scraper.md
- **Categories:** Videos, Social media, AI
- **Returns only changed items:** yes
- **On Apify Store:** yes

## Pricing

USD 0.50 per 1,000 videos on Free; USD 0.40 on Starter, USD 0.36 on Scale, USD 0.32 on Business

## Run it

[View on Apify Store](https://kizukidata.com/go/youtube-playlist-chapters-scraper)

## What it does

- **Course and playlist indexes.** List a course playlist with every lesson's chapters and their lengths, ready for a syllabus, a search page or a spreadsheet.
- **Clips and highlights.** `mostReplayed` gives the moments viewers replay most in each video, with a link that opens the video at that second. With the transcript on, each moment carries the words said in it.
- **Channel research.** Name a channel and get its uploads, newest first, with views, likes, comments and how much of each video viewers rewatch.
- **Playlist monitoring.** With **Only new videos**, a scheduled run returns only videos added since the last run.
- **AI agents and RAG.** Chapters and transcripts give an agent the structure of a whole playlist in one call.

## How to use it

1. Put **Playlists**, **Channels** and/or **Videos** into the input. Any YouTube link works in any of the three fields: a watch link that carries `list=` is read as its playlist.
2. Set **Maximum videos** (`maxItems`). The default is 20; raise it to read a long playlist.
3. Turn on **Add the full transcript** if you need the words as well.
4. Run it and read the dataset. Sort by `playlistPosition` for playlist order.

### Input example: a whole course playlist

```json
{
    "playlists": ["https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH"],
    "maxItems": 300
}
```

### Input example: a channel's newest videos with transcripts

```json
{
    "channels": ["https://www.youtube.com/@veritasium"],
    "includeTranscript": true,
    "languages": ["en"],
    "maxItems": 30
}
```

## Inputs

| Input | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| Playlists (`playlists`) | array | No | `[]` | Playlist URLs (/playlist?list=, or a watch link with list=) or playlist IDs, up to 50. Videos come in playlist order, past the first 100, until maxItems. Empty input reads 1 sample playlist. |
| Channels (`channels`) | array | No | `[]` | Channel URLs (/channel/, @handle, /c/, /user/) or channel IDs, up to 20. Reads the channel's uploads, newest first, until maxItems. |
| Videos (`videos`) | array | No | `[]` | Single video URLs or 11-character IDs, up to 1000, for chapters and most replayed moments without a playlist. Playlist and channel links are accepted here too. |
| Add the full transcript (`includeTranscript`) | boolean | No | `false` | Add each video's transcript as plain text and the words said in each most replayed moment. Charged as an extra event per video that has a transcript; videos without one are not charged for it. |
| Transcript languages (in order of preference) (`languages`) | array | No | `en` | Up to 10 caption language codes in priority order (e.g. en, ja). Used only with the transcript. Falls back to the spoken auto-captions with a note; never machine-translated. |
| Maximum videos (`maxItems`) | integer | No | `20` | Max rows per run (1-5000), across all playlists, channels and videos. Default 20; raise it for long playlists. Rows for private or removed videos count toward it but are not charged. |
| Only new videos (`onlyNewItems`) | boolean | No | `false` | Skip videos returned in earlier runs with the same input, so a schedule returns only videos newly added to the playlist or channel. Failed rows are retried. |
| Requests at once (`maxConcurrency`) | integer | No | `4` | Concurrent requests (1-5, default 4). Lower it if many rows come back blocked. |

Advanced: `proxyConfiguration` is available for proxy settings and is not required.

## Output

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Stable row ID: the 11-character YouTube video ID. Used for de-duplication and onlyNewItems. |
| `source` | string | Data source: "YouTube". |
| `videoId` | string | The 11-character YouTube video ID. |
| `url` | string | https://www.youtube.com/watch?v=<videoId>. |
| `title` | string \| null | Video title as the watch page shows it (the playlist's title for the entry when the watch page shows none); null when YouTube returned no video. |
| `channelName` | string \| null | Name of the channel that uploaded the video. |
| `channelId` | string \| null | Channel ID of the uploader (UC..., 24 characters). |
| `playlistId` | string \| null | The playlist the video was listed in (a channel's uploads are its UU... playlist); null for a video named on its own. |
| `playlistTitle` | string \| null | Title of that playlist; null for a video named on its own. |
| `playlistChannelName` | string \| null | The playlist owner's channel name; null for a video named on its own or when the playlist shows no owner. |
| `playlistVideoCount` | integer \| null | The number of videos the playlist header shows (hidden and removed entries included, as YouTube counts them). |
| `playlistPosition` | integer \| null | The video's place in the playlist, 1 for the first video; null for a video named on its own. |
| `durationSeconds` | integer \| null | Video length in seconds (from the playlist entry, or from the replay graph for a video named on its own); null for a live stream or when unknown. |
| `durationText` | string \| null | Video length as YouTube shows it (13:54, 1:02:03). |
| `viewCount` | integer \| null | Views as the watch page shows them when the row was read (the playlist's rounded count when the watch page shows none). |
| `publishedAt` | string \| null | Publication date (YYYY-MM-DD) as the watch page shows it; null when it shows only a relative time (a recent live stream) or on a status row. |
| `publishedTimeText` | string \| null | The age the playlist shows for the entry (10 years ago); null for a video named on its own. |
| `likeCount` | integer \| null | Likes; null when hidden or on a status row. |
| `commentCount` | integer \| null | Comment count as a number (23000 for 23K): exact only below 1,000; null when comments are off or hidden. |
| `commentCountText` | string \| null | Comment count as YouTube shows it (23K). |
| `chapterCount` | integer | Number of chapters. |
| `chaptersSource` | string \| null | description (the uploader wrote the chapters) or auto (YouTube generated them); null without chapters. |
| `chapters` | array | The chapters YouTube shows on the progress bar, in order: index (1 for the first), title, start and end (seconds; end is the next chapter's start or the video's end, null when the length is unknown), durationSeconds, timestamp and url (the video opened at the chapter). Empty when the video has none. |
| `mostReplayed` | array | The most replayed moments of the video, most replayed first, up to 5: rank, start and end (seconds), timestamp, url (the video opened at the moment), intensity (0-1, the height of YouTube's replay graph there), labeledByYouTube (true for a range YouTube itself marks "Most replayed", false for a peak read off the graph) and text (what is said during the moment, at most 600 characters; null unless includeTranscript is on and something is said then). Empty when YouTube shows no replay graph for the video (new or little-watched videos) or on a status row. |
| `heatmap` | object \| null | The replay graph of the whole video: intervalSeconds and values (heights from 0 to 1 in time order, usually 100 points); null when YouTube shows no graph. |
| `transcript` | string \| null | The whole transcript as plain text in paragraphs; null unless includeTranscript is on and the video has a caption track (transcriptNote then says why). |
| `transcriptLanguage` | string \| null | Language code of the caption track used (en, ja, pt-BR); null without a transcript. |
| `captionKind` | string \| null | manual (written by a person) or auto (auto-generated by YouTube); null without a transcript. |
| `transcriptNote` | string \| null | One sentence: why the transcript is missing although it was asked for (no caption track, private, blocked), or why it is not in a requested language; null otherwise. |
| `fetchedAt` | string \| null | When the video was read (ISO 8601); null on a status row. |
| `error` | object \| null | null, or {type, message} on an uncharged status row: unavailable (private, removed or not a video), blocked, timeout or too-large. |
| `isNew` | boolean | Only with onlyNewItems: whether the video is new since the previous run. |

## Sources and limits

- What YouTube shows for public playlists, channels and videos (https://www.youtube.com/): Playlist pages in playlist order, a channel's uploads, and the public video page of each video; the chapters and the replay graph shown next to the player. Captions only when a transcript is asked for.

### Limitations

- This Actor is unofficial and independent: it is not affiliated with, endorsed by or sponsored by YouTube or Google. It needs no login and no API key, and it never downloads video or audio.
- Only public videos are read. Private, removed, members-only and age-gated videos in a playlist return an uncharged status row. YouTube Mixes (`RD…`) are made per viewer and are not read.
- Chapters are the ones YouTube shows on the progress bar. A video without chapters returns an empty list.
- Most replayed needs enough views: new or little-watched videos have no replay graph, so `mostReplayed` is empty and `heatmap` is `null`.
- Comment counts above 999 are rounded by YouTube (`1.7K`). Like counts are exact unless the uploader hides them.
- Transcripts are the video's own caption tracks, never machine-translated. A video without one returns `transcript: null` with `transcriptNote` saying why, and is charged as a video only.
- `maxItems` is shared by all inputs. Playlists and channels are read in parallel, so with several of them a long one can fill the cap before a short one is read. Raise `maxItems` or run them separately when each needs its own count.
- Length of a single video named in `videos` comes from the replay graph (rounded to the second) when YouTube shows one; videos from a playlist take the length the playlist shows. A single video without a replay graph has `durationSeconds: null`, and its last chapter has `end: null`.

Read the data-source note: https://kizukidata.com/data-sources/#youtube-playlist-chapters-scraper

## Billing

Apify charges per result; the Store page is the commercial reference. Rows that only record a failure are not charged. Every run also carries a start fee of USD 0.00005 per GB of memory (USD 0.00005 at the default 0.5 GB), even a run that returns no results.

## Verification

The facts on this page come from the Actor's own documentation and its input and dataset schemas. No customer testimonials, ratings, or uptime numbers are shown.

## All Kizuki Actors

https://kizukidata.com/actors/ · https://kizukidata.com/llms.txt
