User Rating 0.0
Total Usage 0 times

Press Enter or click Add. Add multiple artists to build your playlist.

10
Is this tool helpful?

Your feedback helps us improve.

About

Building a coherent playlist from multiple artists requires more than concatenating random tracks. This tool queries the iTunes Search API for each artist you provide, retrieves their top-ranked songs by popularity, and assembles them into a unified playlist. You control how many tracks per artist (variable n, range 1 - 25), whether to shuffle the final order, and which individual tracks to include or exclude. The total playlist duration T is computed in real time as the sum of all selected track durations. Results are exportable as .m3u playlist files compatible with VLC, Winamp, and most modern players.

Limitations: song availability depends on the iTunes catalog for your region. Artists with very few digital releases may return incomplete results. Duplicate tracks across compilations are filtered by normalized title matching, but live versions or remasters may still appear as separate entries. Preview audio clips are 30-second samples provided by Apple and require an active internet connection.

playlist generator top songs music playlist artist songs playlist maker song finder music tool

Formulas

The total playlist duration T is computed as the sum of individual track durations returned by the API in milliseconds, then converted to a human-readable format:

T = ki=1 di

where di = duration of the i-th selected track in ms, and k = total number of selected tracks across all artists.

Conversion to minutes and seconds:

minutes = floor(T60000) seconds = floor(T mod 600001000)

The Fisher-Yates shuffle algorithm guarantees uniform random permutation of the playlist when shuffle mode is enabled:

for i = n 1 down to 1: j = random(0, i); swap(arr[i], arr[j])

Deduplication uses normalized title comparison: norm(title) = lowercase(strip(title, parentheticals & features)). Two tracks are considered duplicates when norm(t1) norm(t2) artistId1 = artistId2.

Reference Data

Export FormatExtensionCompatible PlayersIncludes MetadataStandard
M3U Playlist.m3uVLC, Winamp, iTunes, foobar2000Title, DurationExtended M3U (EXTM3U)
Plain Text.txtAny text editorArtist, Title, Album, DurationCustom formatted
CSV.csvExcel, Google Sheets, LibreOfficeAll fieldsRFC 4180
JSON.jsonProgrammatic useFull API response subsetECMA-404
iTunes API ParameterValue UsedDescription
termArtist name (URL-encoded)Search query string
entitymusicTrackRestricts to audio tracks only
limit1 - 25Max results per artist
mediamusicMedia type filter
sortpopularSorts by popularity ranking
Genre CodeGenre NameTypical BPM RangeAvg Track Duration
20Alternative110 - 140 BPM3:45
21Rock100 - 150 BPM4:10
14Pop100 - 130 BPM3:30
18Hip-Hop/Rap80 - 115 BPM3:50
11Jazz60 - 180 BPM5:20
6Country90 - 130 BPM3:40
15R&B/Soul70 - 110 BPM4:00
7Electronic120 - 150 BPM5:30
9ClassicalVariable8:00+
16Reggae60 - 90 BPM4:15
12Latin90 - 130 BPM3:55
10Metal100 - 200 BPM5:00

Frequently Asked Questions

The iTunes Search API returns tracks available in your regional store. Artists with limited digital catalog presence, or those whose music is exclusively on competing platforms, may return fewer results. The API also deduplicates by ISRC code internally, so multiple versions of the same recording (e.g., remastered vs. original) may collapse into one entry.
The normalizer strips content inside parentheses and brackets (e.g., "(Live)", "[Remix]", '(feat. X)') before comparison. This means a studio version and a live version of the same song will be flagged as duplicates. If you want both, disable deduplication in the settings panel. Remixes with substantially different titles will pass through as unique tracks.
The exported file follows the Extended M3U standard (EXTM3U). Each entry contains an #EXTINF directive with the track duration in seconds and the display title (Artist - Track Name), followed by the 30-second preview URL from Apple. Open the file in VLC, Winamp, or any M3U-compatible player to hear the previews sequentially. For full-length playback, you would need to replace preview URLs with local file paths or streaming URIs.
The iTunes API sorts by a proprietary popularity metric that weights recent sales and streaming activity more heavily than historical totals. This means a classic artist's results may favor recently re-popularized tracks (e.g., from viral moments or movie soundtracks) over their objectively best-known catalog staples.
The tool supports up to 20 artists with up to 25 tracks each, yielding a theoretical maximum of 500 tracks. Performance remains stable at this scale since DOM rendering uses document fragments and batch insertion. However, API latency scales linearly with artist count due to sequential fetching with 300ms throttle delays.
Apple provides 30-second preview clips as part of their public API terms. These are standardized across all tracks and typically start at the most recognizable section of the song (usually the chorus). Full-length streaming requires authentication with Apple Music or a similar service, which is outside the scope of a keyless public API tool.