YouTube Playlist Scraper: Chapters, Most Replayed & Transcripts avatar

YouTube Playlist Scraper: Chapters, Most Replayed & Transcripts

Pricing

from $0.32 / 1,000 video rows

Go to Apify Store
YouTube Playlist Scraper: Chapters, Most Replayed & Transcripts

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.

Pricing

from $0.32 / 1,000 video rows

Rating

0.0

(0)

Developer

Kizuki

Kizuki

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Put in YouTube playlist, channel or video URLs and get back one row per video: its position in the playlist, title, channel, length, views, publication date, likes and comment count, its chapters with start and end times and a link to each, the 5 most replayed moments, and YouTube's replay graph. Turn on Add the full transcript to get each video's transcript too. This is an unofficial tool, not affiliated with YouTube or Google.

Playlists are read in playlist order past the first 100 videos, as far as maxItems allows. Empty input ({}) reads 20 videos of one sample playlist.

Use cases

  • 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.

What data can you get?

FieldDescription
id, videoId, urlThe 11-character video ID (also the row ID) and https://www.youtube.com/watch?v=<videoId>
playlistId, playlistTitle, playlistChannelName, playlistVideoCountThe playlist the video was listed in, its title, its owner and the size its header shows. A channel's uploads are its UU… playlist (YouTube shows no size for it, so playlistVideoCount is null). null for a video named on its own
playlistPositionThe video's place in the playlist, 1 for the first. A video listed twice is returned once, and the videos after it move up one place
title, channelName, channelIdVideo title and the uploader's channel
durationSeconds, durationTextLength in seconds and as YouTube shows it (13:54)
viewCount, publishedAt, publishedTimeTextViews, the publication date (YYYY-MM-DD) and the age the playlist shows (10 years ago). Views are exact; when the watch page shows none, the playlist's rounded count is used (12K is 12000)
likeCount, commentCount, commentCountTextLikes, and the comment count as a number and as YouTube shows it (1.7K is 1700; exact below 1,000)
chapters, chapterCount, chaptersSourceThe chapters on the progress bar: index, title, start, end, durationSeconds, timestamp and url (the video opened at the chapter). chaptersSource is description (written by the uploader) or auto (generated by YouTube)
mostReplayedUp to 5 most replayed moments, most replayed first: rank, start, end, timestamp, url, intensity (0-1), labeledByYouTube and text (what is said, with the transcript on)
heatmapThe replay graph of the whole video: intervalSeconds and values (heights from 0 to 1, usually 100 points)
transcript, transcriptLanguage, captionKind, transcriptNoteWith Add the full transcript: the transcript as plain text, its language, manual or auto, and one sentence when it is missing or not in your language
fetchedAtWhen the video was read
errornull, or {type, message} on an uncharged status row: unavailable (private, removed or not a video), blocked, timeout, too-large
isNewOnly with onlyNewItems: whether the video is new since the previous run
sourceYouTube

Every row has every field except isNew. Comment text and commenter names are not collected.

How to use YouTube Playlist Scraper

  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

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

Input example: a channel's newest videos with transcripts

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

Input

FieldDefaultWhat it does
playlists[]Playlist URLs or IDs, up to 50. A watch link with list= counts as the playlist. Videos come in playlist order, all pages, until maxItems
channels[]Channel URL, @handle, /c/ or /user/ URL, or channel ID, up to 20. The channel's uploads, newest first
videos[]Video URLs, Shorts links or IDs, up to 1,000, for videos you want without a playlist
includeTranscriptfalseAdd transcript and the words of each most replayed moment. Charged as an extra event per video that has a transcript
languages["en"]Transcript languages in order of preference (up to 10); used only with the transcript
maxItems20Maximum rows in one run, 1 to 5,000, across all inputs. Status rows count toward it but are not charged
onlyNewItemsfalseReturn only videos that earlier runs with the same input have not returned
maxConcurrency4Requests at once (1 to 5)
proxyConfigurationApify ProxyProxy settings (country, groups, or your own proxy URLs)

Switching from another playlist Actor

The input also accepts field names other playlist tools use: startUrls, urls, playlistUrls and playlist_url are read as playlists (any YouTube link in them is sorted by what it names); channelUrls as channels; videoUrls as videos; maxVideos, maxResults and limit as maxItems.

Output

One row per video, every field present. A video that is private or removed, or that YouTube did not answer for, still gets a row with error set, and that row is not charged. A video listed in two of your playlists is returned once.

Output example

One row of a real run (2026-11-17), the second video of CrashCourse's Computer Science playlist. chapters (5 in the run), mostReplayed (5) and heatmap.values (100) are shortened here.

{
"id": "O5nskjZ_GoI",
"source": "YouTube",
"videoId": "O5nskjZ_GoI",
"url": "https://www.youtube.com/watch?v=O5nskjZ_GoI",
"title": "Early Computing: Crash Course Computer Science #1",
"channelName": "CrashCourse",
"channelId": "UCX6b17PVsYBQ0ip5gyeme-Q",
"playlistId": "PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo",
"playlistTitle": "Computer Science",
"playlistChannelName": "CrashCourse",
"playlistVideoCount": 41,
"playlistPosition": 2,
"durationSeconds": 713,
"durationText": "11:53",
"viewCount": 4628706,
"publishedAt": "2017-02-22",
"publishedTimeText": "9 years ago",
"likeCount": 83329,
"commentCount": 1700,
"commentCountText": "1.7K",
"chapterCount": 5,
"chaptersSource": "auto",
"chapters": [
{
"index": 1,
"title": "Introduction",
"start": 0,
"end": 148,
"durationSeconds": 148,
"timestamp": "0:00",
"url": "https://www.youtube.com/watch?v=O5nskjZ_GoI&t=0s"
},
{
"index": 2,
"title": "Computing Origins",
"start": 148,
"end": 397,
"durationSeconds": 249,
"timestamp": "2:28",
"url": "https://www.youtube.com/watch?v=O5nskjZ_GoI&t=148s"
}
],
"mostReplayed": [
{
"rank": 1,
"start": 641.7,
"end": 663.1,
"timestamp": "10:41",
"url": "https://www.youtube.com/watch?v=O5nskjZ_GoI&t=641s",
"intensity": 0.99,
"labeledByYouTube": true,
"text": null
},
{
"rank": 2,
"start": 285.2,
"end": 306.6,
"timestamp": "4:45",
"url": "https://www.youtube.com/watch?v=O5nskjZ_GoI&t=285s",
"intensity": 0.976,
"labeledByYouTube": true,
"text": null
}
],
"heatmap": {
"intervalSeconds": 7.13,
"values": [
0.56,
0.396,
0.393,
0.424,
0.37,
0.305
]
},
"transcript": null,
"transcriptLanguage": null,
"captionKind": null,
"transcriptNote": null,
"fetchedAt": "2026-11-17T04:32:50.910Z",
"error": null
}

With Add the full transcript on, the same row also carries transcript (the text), transcriptLanguage (en), captionKind (manual or auto) and a text in each mostReplayed moment. A video without a transcript keeps transcript: null with transcriptNote: "This video has no caption track". A private or removed video returns error: {"type": "unavailable", "message": "..."} and is not charged.

How much does it cost?

YouTube Playlist Scraper uses pay-per-event pricing: you pay per video row it returns, plus a run start fee, not for the time the run takes. There is no per-playlist fee: a 41-video playlist costs 41 rows.

Apify plan (discount tier)Per 1,000 videosTranscript add-on per 1,000 videos
Free$0.50$1.50
Starter (Bronze)$0.40$1.40
Scale (Silver)$0.36$1.35
Business (Gold)$0.32$1.30

Apify's Free plan includes USD 5 of monthly usage, which covers about 10,000 videos at the Free tier price, or about 2,500 videos with the transcript add-on, run start fees aside.

  • Run start fee: USD 0.00005 per GB of memory per run (USD 0.00005 at this Actor's default 512 MB, as one GB is the minimum).
  • One price covers the whole row: playlist fields, chapters, most replayed moments, replay graph, likes and comment count.
  • The transcript add-on is charged only with Add the full transcript on, and only for videos that have a transcript. A video without one costs the video price only.
  • Private, removed and unanswered videos return a row with error set and are not charged.
  • Videos beyond maxItems are not requested and not charged.

Use with AI agents (MCP)

Add this Actor to an MCP client through Apify's MCP server:

https://mcp.apify.com?tools=fetch-actor-details,kizukidata/youtube-playlist-chapters-scraper
  • Claude Code: run claude mcp add apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/youtube-playlist-chapters-scraper" -t http.
  • Claude (web or desktop app): open Customize → Connectors, choose Add custom connector, name it Apify and paste the server URL above.
  • Cursor: add the server to ~/.cursor/mcp.json:
{
"mcpServers": {
"apify": { "url": "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/youtube-playlist-chapters-scraper" }
}
}

The server signs you in to Apify with OAuth. A client that cannot use OAuth can send your Apify API token in an Authorization: Bearer <APIFY_TOKEN> header instead. From an agent, always set maxItems; heatmap is 100 numbers per video, so ask the agent to read chapters and mostReplayed first.

Integrations and API

Zapier, Make and n8n

Use the Apify integration, choose Run Actor, and pass playlists plus maxItems. Add Get dataset items and map playlistPosition, title, url, chapters and mostReplayed. For a playlist you watch, set onlyNewItems: true and use the new rows as the trigger.

cURL

curl -X POST "https://api.apify.com/v2/acts/kizukidata~youtube-playlist-chapters-scraper/runs" \
-H "Authorization: Bearer <APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"playlists":["https://www.youtube.com/playlist?list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo"],"maxItems":50}'

Python

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("kizukidata/youtube-playlist-chapters-scraper").call(run_input={"playlists": ["PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo"], "maxItems": 50})
for item in sorted(client.dataset(run["defaultDatasetId"]).iterate_items(), key=lambda r: r["playlistPosition"] or 0):
print(item["playlistPosition"], item["title"], [c["timestamp"] for c in item["chapters"]])

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('kizukidata/youtube-playlist-chapters-scraper').call({ videos: ['https://www.youtube.com/watch?v=O5nskjZ_GoI'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].mostReplayed);

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.

FAQ

How long does a run take?

Each video is one small request, sent four at a time. In our test runs, 246 videos took about 90 seconds and 1,000 videos about 5 and a half minutes. With the transcript on, each video waits about a second longer.

Why are rows not in playlist order?

Videos are read in parallel, so rows arrive as they finish. Sort by playlistPosition.

Why is mostReplayed empty?

YouTube shows a replay graph only once a video has enough views, and not for very new videos.

Can I get only the videos added to a playlist since last time?

Yes: set onlyNewItems to true, save the input as a Task and schedule it.

  • YouTube Transcript Scraper: transcripts of single videos as text, Markdown, SRT, VTT or RAG chunks, with phrase search (find), time windows and maxChars for long videos.
  • YouTube Channel Scraper & Monitor: a channel's new videos with views, likes, length and the newest comments.
  • YouTube Comments Scraper: top or newest comments and reply rows of videos, Shorts and channels, with onlyNewItems for scheduled runs.
  • YouTube Shorts Scraper: Shorts by keyword, channel or URL, with view counts, hashtags and optional transcripts.

Your feedback

Bugs, a video whose chapters or moments came out wrong, and feature requests go to the Actor's Issues tab in Apify Console.