YouTube Music Albums Scraper avatar

YouTube Music Albums Scraper

Pricing

from $2.99 / 1,000 albums

Go to Apify Store
YouTube Music Albums Scraper

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

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

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Set searchQueries or paste public playlist startUrls, then choose maxItems and the track limits.
  3. Keep maxItems and the other limits small for the first run.
  4. 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.

FieldTypeRequired?DefaultMeaning
searchQueriesstring arrayOptionalNot suppliedOptional public YouTube album, artist, or genre searches. Queries are processed after direct playlist URLs and are deduplicated case-insensitively. up to 25 items.
startUrlsstring arrayOptionalNot suppliedOptional 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.
maxItemsintegerOptional10Global cap on album or playlist records across all search queries and direct start URLs. 1–50.
maxSearchItemsintegerOptional10Maximum album-style results considered for each search query before the global cap. When omitted, it follows maxItems. 1–50.
maxStartItemsintegerOptional10Maximum direct playlist URLs processed before the global cap. When omitted, it follows maxItems. 1–50.
maxPagesintegerOptional1Bound 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.
includeTracksbooleanOptionaltrueStore bounded visible tracks from each public playlist page.
maxTracksintegerOptional50Maximum visible tracks retained for each album playlist. 0–200.
languageCodestringOptionalenLanguage context used for public pages.
countryCodestringOptionalUSTwo-letter country context used for public pages.
maxRetriesintegerOptional1Bounded retries after a public page request fails. 0–3.
requestTimeoutSecsintegerOptional60Timeout for one public HTML page request. 15–180.
requestDelayMsintegerOptional250Bounded pacing delay between public page requests.
enableProxyFallbackbooleanOptionaltrueTry one configured Apify Proxy route after direct public-page failure.
proxyConfigurationobjectOptionalNot suppliedOptional 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.

FieldTypeAvailabilityMeaning
recordTypestringAlwaysFixed discriminator: youtube_music_album.
searchQuerystringWhen publishedSearch query that produced the album candidate, for search-sourced rows.
browseIdstringAlwaysYouTube playlist or Music album browse identifier.
titlestringAlwaysAlbum or playlist title visible on the public page.
albumTypestring enumAlwaysConservative classification derived from public metadata: Album, EP, Single, or Playlist.
contentTypestringWhen publishedSource-provided content type when the public search result exposes it.
isOfficialAlbumbooleanAlwaysWhether public data contains explicit official-album evidence.
sourceKindstring enumAlwaysSource classification: official_album or user_playlist.
classificationEvidencestringAlwaysPublic renderer or identifier evidence used for the classification.
artiststringWhen publishedArtist or playlist owner text visible on the source page.
creatorNamestringWhen publishedPublic playlist owner or channel name.
creatorIdstringWhen publishedPublic YouTube channel identifier for the creator.
creatorUrlstringWhen publishedPublic YouTube channel URL for the creator.
yearstringWhen publishedRelease year copied from explicit official release metadata; never inferred from a title.
releaseYearstringWhen publishedExplicit official release year exposed by the public Music album page.
releaseDatestringWhen publishedExplicit official release date text exposed by the public Music album page.
titleYearHintstringWhen publishedYear-looking title text, retained as a hint and never promoted to releaseYear.
releaseMetadataSourcestringAlwaysProvenance label for release metadata or its absence.
albumUrlstringAlwaysCanonical public YouTube playlist or Music album URL.
musicUrlstringAlwaysPublic YouTube Music URL for the playlist or album.
descriptionstringWhen publishedDescription text visible on the public album or playlist page.
descriptionLengthintegerWhen publishedCharacter count of the normalized description.
releaseMetadatastringWhen publishedNormalized public metadata and statistics text retained for reconciliation.
totalTrackCountintegerWhen publishedTrack count reported by the public page.
totalTrackCountTextstringWhen publishedOriginal normalized public track-count text.
totalViewCountintegerWhen publishedView count reported by the public page.
totalViewCountTextstringWhen publishedOriginal normalized public view-count text.
updatedTextstringWhen publishedPublic last-updated text.
thumbnailUrlstringAlwaysLargest normalized public album thumbnail URL.
thumbnailCountintegerAlwaysNumber of distinct public album thumbnails retained.
thumbnailsobject arrayAlwaysDistinct public album thumbnails with source dimensions when exposed.
trackCountintegerAlwaysVisible track records retained after maxTracks is applied.
rawTrackCountintegerAlwaysDistinct track renderers seen on the initial public page before the cap.
tracksobject arrayWhen includeTracks is enabledBounded visible track metadata from the initial public playlist page.
initialItemsExposedintegerAlwaysTrack renderer instances exposed on the initial page.
continuationDetectedbooleanAlwaysWhether the public page exposed continuation metadata.
continuationCountintegerAlwaysContinuation markers observed; no continuation request is replayed.
sourcestring enumAlwaysInput source type that produced the row: search or startUrl.
sourceUrlstringAlwaysPublic search or playlist URL associated with the row.
searchUrlstringWhen publishedPublic search URL used to find the album, for search-sourced rows only.
rankintegerAlwaysOne-based rank of the candidate within its source page.
pageintegerAlwaysPublic page number represented by the row; the initial page is used.
sourceRendererstringAlwaysPublic renderer family used for the album candidate.
sourceTransportstring enumAlwaysTransport used: public-rendered-html-direct or public-rendered-html-via-apify-proxy.
extractionMethodstring enumAlwaysParser path: youtube-public-page-embedded-initial-data.
metadataSourcestring enumAlwaysPublic detail source: youtube-public-playlist-page.
metadataEnrichedbooleanAlwaysWhether the public detail page was fetched and merged.
albumPageAvailablebooleanAlwaysWhether a public album or playlist detail page was parsed successfully.
requestedMaxItemsintegerAlwaysGlobal maxItems value used for the run.
requestedMaxSearchItemsintegerAlwaysPer-search maxSearchItems value used for the run.
requestedMaxStartItemsintegerAlwaysDirect-URL maxStartItems value used for the run.
requestedMaxPagesintegerAlwaysConfigured page bound; continuation pages are not requested.
requestedMaxTracksintegerAlwaysPer-record maxTracks value used for the run.
includeTracksbooleanAlwaysWhether visible track rows were retained.
languageCodestringAlwaysLowercase language context used for public pages.
countryCodestringAlwaysUppercase two-letter country context used for public pages.
scrapedAtstringAlwaysTime 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"
}
  • tracks entries contain position (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), and sourceRenderer (string), when exposed.
  • thumbnails entries contain url (string), width (integer), and height (integer).

Run summary

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

FieldMeaning
runTypeStable run summary discriminator.
statusApify run outcome; SUCCEEDED means source-backed rows were saved or requested work completed without a failure.
dataStatusWhether saved data is complete, limited, empty after a successful run, or absent after failure.
dataAvailableWhether at least one normal album record was written.
sourceCountNumber of supplied search queries and direct playlist URLs.
sourcesWithItemsNumber of supplied sources that produced at least one normal record.
searchPagesFetchedPublic search pages successfully fetched.
albumPagesFetchedPublic playlist or album detail pages successfully fetched.
pageAttemptsTotal public page request attempts, including bounded retries and fallback transports.
itemCountNormal album record count written to the dataset.
diagnosticCountCount of bounded diagnostics logged during the run.
failedCountBounded source or runtime failures observed.
blockedCountFailures classified as public access blocks.
continuationDetectedWhether a fetched public page exposed continuation metadata.
continuationCountBounded continuation marker count observed; no continuation request is replayed.
proxyRequestedWhether an explicit proxy or proxy fallback was requested.
proxyConfiguredWhether an Apify Proxy URL was successfully configured for a request.
includeDiagnosticsWhether diagnostic logging was enabled.
includeTracksWhether visible track rows were retained.
maxItemsGlobal normal-record cap.
maxSearchItemsPer-search candidate cap.
maxStartItemsDirect playlist URL cap.
maxPagesConfigured page bound recorded for the run; only initial pages are fetched.
maxTracksVisible track cap per normal record.
maxRetriesBounded retry count after a public page failure.
requestDelayMsPacing delay between public page requests.
requestTimeoutSecsTimeout for each public HTML page request.
languageCodeLowercase language context used for public pages.
countryCodeUppercase country context used for public pages.
paginationMethodPagination policy used by the Actor.
extractionMethodPublic page extraction method used by the Actor.
durationMsElapsed run duration in milliseconds.
finishedAtUTC timestamp when the summary was written.
runStatusCanonical run status; matches status.
StatusData statusMeaning
SUCCEEDEDCOMPLETEEligible results were saved without an extraction problem.
SUCCEEDEDPARTIALSome results were saved, but a later problem prevented a complete run. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe source completed cleanly and returned no matching results.
FAILEDFAILEDA 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.