YouTube Playlist Scraper avatar

YouTube Playlist Scraper

Pricing

from $2.99 / 1,000 playlists

Go to Apify Store
YouTube Playlist Scraper

YouTube Playlist Scraper

Extract public video listings and playlist metadata from YouTube playlist pages with Playwright.

Pricing

from $2.99 / 1,000 playlists

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Categories

Features

Limited permissions

Share

Extract public video listings and playlist metadata from ordinary YouTube playlist pages. Each row describes one video visible on a playlist page, together with the playlist title, owner, displayed counts, playlist position, thumbnails, and extraction provenance. The Actor parses the public page's embedded initial data and does not call YouTube's private browse API, download media, access private playlists, or bypass authentication or CAPTCHAs.

The 2026-10-25 saved run read one public playlist with 13 visible videos and saved the first 5 requested rows.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Add one or more public playlistUrls. This field is required.
  3. Set maxItems to the number of videos you want from each playlist page. Keep it small for the first run.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check counts and pagination state.

Input

playlistUrls is required. Other fields are optional; the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
playlistUrlsstring arrayRequired["https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd"]HTTPS YouTube playlist URLs containing a valid list parameter; 1–50 entries.
maxItemsintegerOptional100Maximum video rows retained from each playlist page, 1–5000.
languageCodestringOptionalenLanguage context sent to the public playlist page.
countryCodestringOptionalUSTwo-letter country context sent to the public playlist page.
proxyConfigurationobjectOptional{"useApifyProxy":false}Optional account-authorized Apify Proxy or credential-free HTTP/SOCKS configuration.
enableProxyFallbackbooleanOptionaltrueTry one ordinary configured Apify Proxy request after a direct failure.
requestDelayMsintegerOptional250Pacing delay between playlist page requests, 0–5000 ms.
requestTimeoutSecsintegerOptional60Timeout per public playlist page request, 15–180 seconds.

Example input using every default:

{
"playlistUrls": [
"https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd"
],
"maxItems": 100,
"languageCode": "en",
"countryCode": "US",
"proxyConfiguration": {
"useApifyProxy": false
},
"enableProxyFallback": true,
"requestDelayMs": 250,
"requestTimeoutSecs": 60
}

Each playlist URL uses one ordinary public page. The Actor reads the cards exposed in that page payload, removes duplicate video IDs within the playlist, and records how many continuation markers were seen. Continuation markers are not followed.

Output

The dataset contains one row per unique visible playlist video. Optional values are omitted when the source does not publish them; they are never inferred. No diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
recordTypestringAlwaysRecord discriminator; always youtube_playlist_video.
playlistIdstringAlwaysPlaylist identifier from the public URL.
playlistUrlstringAlwaysPublic playlist URL.
playlistTitlestringAlwaysPlaylist title.
playlistDescriptionstringWhen publishedPlaylist description exposed by the page.
playlistOwnerNamestringAlwaysPlaylist owner name.
playlistOwnerIdstringAlwaysPlaylist owner channel identifier.
playlistOwnerUrlstringAlwaysPlaylist owner channel URL.
playlistVideoCountTextstringAlwaysDisplayed playlist video count.
playlistVideoCountintegerAlwaysParsed playlist video count.
playlistViewCountTextstringAlwaysDisplayed playlist view count.
playlistViewCountintegerAlwaysParsed playlist view count.
playlistLastUpdatedTextstringAlwaysDisplayed playlist update label.
playlistThumbnailUrlstringAlwaysPlaylist thumbnail URL.
playlistThumbnailCountintegerAlwaysNumber of playlist thumbnail variants.
videoIdstringAlways11-character video ID.
titlestringAlwaysVideo title.
urlstringAlwaysCanonical video URL.
watchUrlstringAlwaysCanonical YouTube watch URL.
durationstringAlwaysDisplayed duration.
durationSecondsintegerAlwaysDuration parsed from the displayed label.
channelNamestringAlwaysChannel or artist name.
channelIdstringAlwaysChannel identifier.
channelUrlstringAlwaysChannel URL.
viewCountTextstringWhen publishedDisplayed video view count.
viewCountintegerWhen publishedParsed video view count.
publishedTimeTextstringAlwaysRelative publication label.
metadataLinesstring arrayAlwaysMetadata labels exposed by the card, such as channel, subscribers, and age.
accessibilityTextstringWhen publishedAccessibility label exposed by the card.
thumbnailsobject arrayAlwaysThumbnail objects with url, width, and height when exposed.
thumbnailUrlstringAlwaysPreferred video thumbnail URL.
thumbnailCountintegerAlwaysNumber of retained video thumbnails.
positionintegerAlwaysOne-based playlist position in the collected order.
playlistIndexintegerAlwaysSource playlist index, zero-based.
playlistIndexSourcestringAlwayspublic-watch-endpoint-index or public-initial-data-order.
listedInPublicPlaylistbooleanAlwaysAlways true for emitted rows.
isLivebooleanAlwaysWhether the card marks the video as live.
continuationDetectedbooleanAlwaysWhether the page exposed a continuation marker.
continuationCountintegerAlwaysNumber of continuation markers observed; they are not followed.
initialItemsExposedintegerAlwaysVideo cards exposed in the initial page payload.
requestedMaxItemsintegerAlwaysmaxItems used for this playlist.
languageCodestringAlwaysLanguage context sent to the page.
countryCodestringAlwaysCountry context sent to the page.
sourceUrlstringAlwaysExact public playlist page URL requested.
metadataEnrichedbooleanAlwaysAlways true for emitted rows.
metadataSourcestringAlwaysAlways youtube-public-playlist-page.
extractionMethodstringAlwaysEmbedded initial-data extraction method.
sourceTypestringAlwaysAlways youtube-playlist.
sourcestringAlwaysAlways youtube-public-playlist-page.
itemSourcestringAlwaysRenderer family that supplied the card.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.

Real saved row

This is the complete first row from the 2026-10-25 run. The playlist's displayed total was 13, while the initial payload exposed 13 and the run retained 5. No viewCount, viewCountText, accessibilityText, or playlistDescription was present for this row.

{
"recordType": "youtube_playlist_video",
"playlistId": "PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd",
"playlistUrl": "https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd",
"playlistTitle": "30",
"playlistOwnerName": "Adele",
"playlistOwnerId": "UCsRM0YB_dabtEPGPTKo-gcw",
"playlistOwnerUrl": "https://www.youtube.com/channel/UCsRM0YB_dabtEPGPTKo-gcw",
"playlistVideoCountText": "13 videos",
"playlistVideoCount": 13,
"playlistViewCountText": "4,301,150 views",
"playlistViewCount": 4301150,
"playlistLastUpdatedText": "Last updated on Nov 19, 2021",
"playlistThumbnailUrl": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBRSlz-uLYXKH9UrZySDEo7TEvxnw",
"playlistThumbnailCount": 4,
"videoId": "EFIfRhk8NRc",
"title": "Adele - Strangers By Nature (Official Lyric Video)",
"url": "https://www.youtube.com/watch?v=EFIfRhk8NRc",
"watchUrl": "https://www.youtube.com/watch?v=EFIfRhk8NRc",
"duration": "3:03",
"durationSeconds": 183,
"channelName": "Adele",
"channelId": "UCsRM0YB_dabtEPGPTKo-gcw",
"channelUrl": "https://www.youtube.com/channel/UCsRM0YB_dabtEPGPTKo-gcw",
"publishedTimeText": "4y ago",
"metadataLines": [
"Adele",
"9.5M",
"4y ago"
],
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLAvkMhcBx_b3Y_MDFo1uWseDhdX_Q",
"width": 168,
"height": 94
},
{
"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLCZW31YzGBjQbeuhXgCbY69tcKiag",
"width": 196,
"height": 110
},
{
"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLASp-FxfZUjMqeIFi3N56sZOIJoCw",
"width": 246,
"height": 138
},
{
"url": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCKU_f17RSHfdH8tu9HnR3CHAe0_A",
"width": 336,
"height": 188
}
],
"thumbnailUrl": "https://i.ytimg.com/vi/EFIfRhk8NRc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCKU_f17RSHfdH8tu9HnR3CHAe0_A",
"thumbnailCount": 4,
"position": 1,
"playlistIndex": 0,
"playlistIndexSource": "public-watch-endpoint-index",
"listedInPublicPlaylist": true,
"isLive": false,
"continuationDetected": true,
"continuationCount": 1,
"initialItemsExposed": 13,
"requestedMaxItems": 5,
"languageCode": "en",
"countryCode": "US",
"sourceUrl": "https://www.youtube.com/playlist?list=PL2JtvykrieUxaLXkeuXRHb-pJB9XpVWtd&hl=en&gl=US",
"metadataEnriched": true,
"metadataSource": "youtube-public-playlist-page",
"extractionMethod": "youtube-public-playlist-page-embedded-initial-data",
"sourceType": "youtube-playlist",
"source": "youtube-public-playlist-page",
"itemSource": "ytInitialData.lockupViewModel",
"scrapedAt": "2026-10-25T20:51:36.279Z"
}

Run summary

Run summary is stored separately from the dataset in the run key-value store under OUTPUT.

FieldMeaning
runTypeSummary record discriminator.
statusActor outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCOMPLETE, PARTIAL, NO_RESULTS, or FAILED.
dataAvailableWhether source-backed rows were saved.
requestedPlaylistCountPlaylist URLs requested.
playlistsWithItemsPlaylists that produced at least one saved row.
maxItemsPer-playlist video cap.
pagesFetchedPublic playlist pages fetched.
itemCountRows saved to the dataset.
diagnosticCountUnique bounded diagnostics recorded; diagnostics are not dataset rows.
failedCountFailed page requests or extractions.
blockedCountResponses classified as blocked.
continuationDetectedWhether any page exposed a continuation marker.
continuationCountContinuation markers observed; they are not followed.
initialItemsExposedInitial video cards exposed across processed playlists.
proxyRequestedWhether proxy use or fallback was requested.
proxyConfiguredWhether Apify Proxy was configured.
includeDiagnosticsWhether bounded diagnostics were recorded.
languageCodeLanguage context used.
countryCodeCountry context used.
requestDelayMsPacing delay between playlist requests.
requestTimeoutSecsPer-request timeout.
paginationMethodPagination method label.
extractionMethodEmbedded-data extraction method.
durationMsActor runtime in milliseconds.
finishedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEEligible videos were saved without a later extraction problem.
SUCCEEDEDPARTIALSome rows were saved, but a later playlist failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe run completed cleanly and returned no visible videos.
FAILEDFAILEDA fatal error occurred before any usable row was saved.

Example OUTPUT from the 2026-10-25 run:

{
"runType": "youtube-public-playlist-run",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"dataAvailable": true,
"requestedPlaylistCount": 1,
"playlistsWithItems": 1,
"maxItems": 5,
"pagesFetched": 1,
"itemCount": 5,
"diagnosticCount": 0,
"failedCount": 0,
"blockedCount": 0,
"continuationDetected": true,
"continuationCount": 1,
"initialItemsExposed": 13,
"proxyRequested": false,
"proxyConfigured": false,
"includeDiagnostics": true,
"languageCode": "en",
"countryCode": "US",
"requestDelayMs": 0,
"requestTimeoutSecs": 60,
"paginationMethod": "public-playlist-page-initial-data",
"extractionMethod": "youtube-public-playlist-page-embedded-initial-data",
"durationMs": 721,
"finishedAt": "2026-10-25T20:51:36.865Z"
}

Coverage and limitations

The Actor reads each playlist URL once and parses the cards exposed in that public page payload. It does not follow continuation markers, so a playlist may show more videos than the Actor returns even when maxItems is high. maxItems is applied per playlist. continuationDetected and continuationCount tell you that more content was exposed but not retrieved.

The initial page may omit playlist descriptions, video view counts, accessibility text, owner details, or other modules for some playlists. Those fields are omitted rather than inferred. Playlist counts, view counts, and update labels are displayed values and can change after the run. playlistIndexSource records whether the index came from a public watch endpoint or from initial-data order.

The Actor uses a fixed ordinary browser user agent, public HTML, bounded retries, and optional proxy fallback. It does not sign in, use private APIs, solve CAPTCHAs, bypass access controls, or download media. Blocked, empty, or partial responses are recorded in OUTPUT and logs rather than written as dataset rows.

Usage and support

Cost depends on Apify compute, the number of playlist URLs, and optional proxy traffic. Start with one playlist and a small maxItems, inspect the dataset and OUTPUT, then add playlists or raise the cap. Requesting more videos than the initial page exposes will not make the Actor retrieve them. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by YouTube or Google. Use it only for public data and in accordance with the source's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.