YouTube Music Albums Scraper
Pricing
from $2.99 / 1,000 albums
YouTube Music Albums Scraper
Search current YouTube Music album results and retrieve rich album and optional track metadata through YouTube Music's first-party youtubei endpoints.
Pricing
from $2.99 / 1,000 albums
Rating
0.0
(0)
Developer
w3crawler
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
Share
Extract album-style public YouTube playlists and public YouTube Music album pages into bounded, source-backed records. The Actor uses the public HTML page and embedded initial page data; it does not call private YouTube request protocols.
Get started
- Open the Actor Store page and select Try for free or open the Input tab.
- Set
searchQueriesor paste public playliststartUrls, then choosemaxItemsand the track limits. - Keep
maxItemsand the other limits small for the first run. - Start the Actor, open the dataset, and export the saved records as JSON, CSV, or Excel. Open Run summary (
OUTPUT) to check the outcome and counts.
Input
All fields are optional, but supply at least one searchQueries entry or startUrls URL. The defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.
| Field | Type | Required? | Default | Meaning |
|---|---|---|---|---|
searchQueries | string array | Optional | Not supplied | Optional public YouTube album, artist, or genre searches. Queries are processed after direct playlist URLs and are deduplicated case-insensitively. up to 25 items. |
startUrls | string array | Optional | Not supplied | Optional public YouTube playlist URLs for direct album extraction. These are processed before search queries and count toward the global maxItems cap. up to 50 items. |
maxItems | integer | Optional | 10 | Global cap on album or playlist records across all search queries and direct start URLs. 1–50. |
maxSearchItems | integer | Optional | 10 | Maximum album-style results considered for each search query before the global cap. When omitted, it follows maxItems. 1–50. |
maxStartItems | integer | Optional | 10 | Maximum direct playlist URLs processed before the global cap. When omitted, it follows maxItems. 1–50. |
maxPages | integer | Optional | 1 | Bound recorded for public page work. This implementation fetches only each initial public search or playlist page; continuation availability is reported but continuation requests are not replayed. 1–3. |
includeTracks | boolean | Optional | true | Store bounded visible tracks from each public playlist page. |
maxTracks | integer | Optional | 50 | Maximum visible tracks retained for each album playlist. 0–200. |
languageCode | string | Optional | en | Language context used for public pages. |
countryCode | string | Optional | US | Two-letter country context used for public pages. |
maxRetries | integer | Optional | 1 | Bounded retries after a public page request fails. 0–3. |
requestTimeoutSecs | integer | Optional | 60 | Timeout for one public HTML page request. 15–180. |
requestDelayMs | integer | Optional | 250 | Bounded pacing delay between public page requests. |
enableProxyFallback | boolean | Optional | true | Try one configured Apify Proxy route after direct public-page failure. |
proxyConfiguration | object | Optional | Not supplied | Optional account-authorized Apify Proxy configuration. Keep proxy URLs credential-free. |
Full default input:
{"maxItems": 10,"maxSearchItems": 10,"maxStartItems": 10,"maxPages": 1,"includeTracks": true,"maxTracks": 50,"languageCode": "en","countryCode": "US","maxRetries": 1,"requestTimeoutSecs": 60,"requestDelayMs": 250,"enableProxyFallback": true}
The values above are the schema defaults; add at least one searchQueries entry or startUrls playlist URL before running. The Actor reads public data from YouTube. Optional proxyConfiguration uses the standard Apify Proxy settings.
Output
The dataset contains one row per saved result. Optional information appears only when the source publishes it; missing values are omitted rather than inferred. No diagnostic or placeholder rows are written.
| Field | Type | Availability | Meaning |
|---|---|---|---|
recordType | string | Always | Fixed discriminator: youtube_music_album. |
searchQuery | string | When published | Search query that produced the album candidate, for search-sourced rows. |
browseId | string | Always | YouTube playlist or Music album browse identifier. |
title | string | Always | Album or playlist title visible on the public page. |
albumType | string enum | Always | Conservative classification derived from public metadata: Album, EP, Single, or Playlist. |
contentType | string | When published | Source-provided content type when the public search result exposes it. |
isOfficialAlbum | boolean | Always | Whether public data contains explicit official-album evidence. |
sourceKind | string enum | Always | Source classification: official_album or user_playlist. |
classificationEvidence | string | Always | Public renderer or identifier evidence used for the classification. |
artist | string | When published | Artist or playlist owner text visible on the source page. |
creatorName | string | When published | Public playlist owner or channel name. |
creatorId | string | When published | Public YouTube channel identifier for the creator. |
creatorUrl | string | When published | Public YouTube channel URL for the creator. |
year | string | When published | Release year copied from explicit official release metadata; never inferred from a title. |
releaseYear | string | When published | Explicit official release year exposed by the public Music album page. |
releaseDate | string | When published | Explicit official release date text exposed by the public Music album page. |
titleYearHint | string | When published | Year-looking title text, retained as a hint and never promoted to releaseYear. |
releaseMetadataSource | string | Always | Provenance label for release metadata or its absence. |
albumUrl | string | Always | Canonical public YouTube playlist or Music album URL. |
musicUrl | string | Always | Public YouTube Music URL for the playlist or album. |
description | string | When published | Description text visible on the public album or playlist page. |
descriptionLength | integer | When published | Character count of the normalized description. |
releaseMetadata | string | When published | Normalized public metadata and statistics text retained for reconciliation. |
totalTrackCount | integer | When published | Track count reported by the public page. |
totalTrackCountText | string | When published | Original normalized public track-count text. |
totalViewCount | integer | When published | View count reported by the public page. |
totalViewCountText | string | When published | Original normalized public view-count text. |
updatedText | string | When published | Public last-updated text. |
thumbnailUrl | string | Always | Largest normalized public album thumbnail URL. |
thumbnailCount | integer | Always | Number of distinct public album thumbnails retained. |
thumbnails | object array | Always | Distinct public album thumbnails with source dimensions when exposed. |
trackCount | integer | Always | Visible track records retained after maxTracks is applied. |
rawTrackCount | integer | Always | Distinct track renderers seen on the initial public page before the cap. |
tracks | object array | When includeTracks is enabled | Bounded visible track metadata from the initial public playlist page. |
initialItemsExposed | integer | Always | Track renderer instances exposed on the initial page. |
continuationDetected | boolean | Always | Whether the public page exposed continuation metadata. |
continuationCount | integer | Always | Continuation markers observed; no continuation request is replayed. |
source | string enum | Always | Input source type that produced the row: search or startUrl. |
sourceUrl | string | Always | Public search or playlist URL associated with the row. |
searchUrl | string | When published | Public search URL used to find the album, for search-sourced rows only. |
rank | integer | Always | One-based rank of the candidate within its source page. |
page | integer | Always | Public page number represented by the row; the initial page is used. |
sourceRenderer | string | Always | Public renderer family used for the album candidate. |
sourceTransport | string enum | Always | Transport used: public-rendered-html-direct or public-rendered-html-via-apify-proxy. |
extractionMethod | string enum | Always | Parser path: youtube-public-page-embedded-initial-data. |
metadataSource | string enum | Always | Public detail source: youtube-public-playlist-page. |
metadataEnriched | boolean | Always | Whether the public detail page was fetched and merged. |
albumPageAvailable | boolean | Always | Whether a public album or playlist detail page was parsed successfully. |
requestedMaxItems | integer | Always | Global maxItems value used for the run. |
requestedMaxSearchItems | integer | Always | Per-search maxSearchItems value used for the run. |
requestedMaxStartItems | integer | Always | Direct-URL maxStartItems value used for the run. |
requestedMaxPages | integer | Always | Configured page bound; continuation pages are not requested. |
requestedMaxTracks | integer | Always | Per-record maxTracks value used for the run. |
includeTracks | boolean | Always | Whether visible track rows were retained. |
languageCode | string | Always | Lowercase language context used for public pages. |
countryCode | string | Always | Uppercase two-letter country context used for public pages. |
scrapedAt | string | Always | Time the dataset row was emitted, in ISO UTC. |
The example below is a real saved row from the 2026-10-25 run, limited to fields declared in the dataset schema and to core fields for readability.
{"recordType": "youtube_music_album","searchQuery": "Adele album","browseId": "PLqC0BHAcW3Wev1d0r4d_c4mT3kEeL8xb-","title": "Adele: \"21\" Full Album","albumType": "Playlist","contentType": "LOCKUP_CONTENT_TYPE_PLAYLIST","isOfficialAlbum": false,"sourceKind": "user_playlist","classificationEvidence": "playlist_renderer","artist": "Charlie Adkins","creatorName": "Charlie Adkins","creatorId": "UCyIbJKYjuBXRTXZt2b9Lsyg","creatorUrl": "https://www.youtube.com/channel/UCyIbJKYjuBXRTXZt2b9Lsyg","releaseMetadataSource": "unverified_playlist_metadata","albumUrl": "https://www.youtube.com/playlist?list=PLqC0BHAcW3Wev1d0r4d_c4mT3kEeL8xb-","musicUrl": "https://music.youtube.com/playlist?list=PLqC0BHAcW3Wev1d0r4d_c4mT3kEeL8xb-","description": "Full Adele's Second Album: 21.","descriptionLength": 30,"releaseMetadata": "14 videosLast updated on Dec 1, 2020 · 14 videos · 24,463,256 views · Last updated on Dec 1, 2020","totalTrackCount": 14,"totalTrackCountText": "14 videos","scrapedAt": "2026-10-25T20:45:19.086Z","sourceUrl": "https://www.youtube.com/results?search_query=Adele+album&hl=en&gl=US"}
tracksentries containposition(integer),title(string),subtitle(string),artist(string),channelName(string),channelId(string),channelUrl(string),duration(string),durationSeconds(integer),publishedTimeText(string),videoId(string),videoUrl(string),musicUrl(string),thumbnailUrl(string),thumbnailCount(integer),thumbnails(object array), andsourceRenderer(string), when exposed.thumbnailsentries containurl(string),width(integer), andheight(integer).
Run summary
Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.
| Field | Meaning |
|---|---|
runType | Stable run summary discriminator. |
status | Apify run outcome; SUCCEEDED means source-backed rows were saved or requested work completed without a failure. |
dataStatus | Whether saved data is complete, limited, empty after a successful run, or absent after failure. |
dataAvailable | Whether at least one normal album record was written. |
sourceCount | Number of supplied search queries and direct playlist URLs. |
sourcesWithItems | Number of supplied sources that produced at least one normal record. |
searchPagesFetched | Public search pages successfully fetched. |
albumPagesFetched | Public playlist or album detail pages successfully fetched. |
pageAttempts | Total public page request attempts, including bounded retries and fallback transports. |
itemCount | Normal album record count written to the dataset. |
diagnosticCount | Count of bounded diagnostics logged during the run. |
failedCount | Bounded source or runtime failures observed. |
blockedCount | Failures classified as public access blocks. |
continuationDetected | Whether a fetched public page exposed continuation metadata. |
continuationCount | Bounded continuation marker count observed; no continuation request is replayed. |
proxyRequested | Whether an explicit proxy or proxy fallback was requested. |
proxyConfigured | Whether an Apify Proxy URL was successfully configured for a request. |
includeDiagnostics | Whether diagnostic logging was enabled. |
includeTracks | Whether visible track rows were retained. |
maxItems | Global normal-record cap. |
maxSearchItems | Per-search candidate cap. |
maxStartItems | Direct playlist URL cap. |
maxPages | Configured page bound recorded for the run; only initial pages are fetched. |
maxTracks | Visible track cap per normal record. |
maxRetries | Bounded retry count after a public page failure. |
requestDelayMs | Pacing delay between public page requests. |
requestTimeoutSecs | Timeout for each public HTML page request. |
languageCode | Lowercase language context used for public pages. |
countryCode | Uppercase country context used for public pages. |
paginationMethod | Pagination policy used by the Actor. |
extractionMethod | Public page extraction method used by the Actor. |
durationMs | Elapsed run duration in milliseconds. |
finishedAt | UTC timestamp when the summary was written. |
runStatus | Canonical run status; matches status. |
| Status | Data status | Meaning |
|---|---|---|
SUCCEEDED | COMPLETE | Eligible results were saved without an extraction problem. |
SUCCEEDED | PARTIAL | Some results were saved, but a later problem prevented a complete run. Saved rows remain available. |
SUCCEEDED | NO_RESULTS | The source completed cleanly and returned no matching results. |
FAILED | FAILED | A fatal error occurred before any usable result was saved. |
Example OUTPUT from the saved run:
{"runType": "youtube-public-music-albums-run","status": "SUCCEEDED","dataStatus": "COMPLETE","dataAvailable": true,"sourceCount": 2,"sourcesWithItems": 2,"searchPagesFetched": 1,"albumPagesFetched": 2,"pageAttempts": 3,"itemCount": 2,"diagnosticCount": 0,"failedCount": 0,"blockedCount": 0,"continuationDetected": true,"continuationCount": 2,"proxyRequested": false,"proxyConfigured": false,"includeDiagnostics": true,"includeTracks": true,"maxItems": 2,"maxSearchItems": 1,"maxStartItems": 1,"maxPages": 1,"maxTracks": 5,"maxRetries": 1,"requestDelayMs": 0,"requestTimeoutSecs": 45,"languageCode": "en","countryCode": "US","paginationMethod": "bounded-public-search-page-no-continuation-calls","extractionMethod": "youtube-public-page-embedded-initial-data","durationMs": 1760,"finishedAt": "2026-10-25T20:45:19.193Z","runStatus": "SUCCEEDED"}
Coverage and limitations
The Actor combines two public sources: YouTube search results filtered to playlists, and public playlist pages that are already reachable from a startUrls URL. Search queries and direct URLs are both optional, but at least one must be supplied; direct URLs are processed first, and maxItems caps the combined output. maxSearchItems and maxStartItems bound how many candidates each source can contribute, while maxPages records the page bound without replaying continuation tokens.
An entry is classified conservatively as official_album only when public metadata provides official-album evidence; other playlist-style results remain user_playlist, even when their title looks like an album. A year-looking title is kept as titleYearHint and is never promoted to releaseYear. Track arrays are a snapshot of the initial public playlist page, capped by maxTracks; totalTrackCount, trackCount, rawTrackCount, and the continuation fields show how much the page exposed without pretending later pages were read. Optional fields are omitted when the source does not publish them, and values are not inferred. Blocked, empty, or partial responses are reported in the run summary rather than written as data rows. Optional Apify Proxy settings are supported when supplied.
Usage and support
Your Apify account may incur the normal compute and, when used, proxy usage charges. Start with small item and page limits, inspect the dataset and run summary, then scale gradually. 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 run summary; do not include tokens, cookies, or private data. This Actor is not affiliated with 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.