Spotify Downloader avatar

Spotify Downloader

Pricing

from $2.65 / 1,000 resolved tracks

Go to Apify Store
Spotify Downloader

Spotify Downloader

Download Spotify tracks from URLs or searches. Get track metadata, preview URLs, MP3 download links, and optional files saved to Apify storage.

Pricing

from $2.65 / 1,000 resolved tracks

Rating

0.0

(0)

Developer

Maxime Dupré

Maxime Dupré

Maintained by Community

Actor stats

1

Bookmarked

85

Total users

10

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Spotify Downloader turns public Spotify track URLs and search terms into a clean Apify dataset with track metadata, MP3 download links, optional audio preview links, and optional MP3 files saved to Apify storage. Use it when you need repeatable Spotify track exports for catalog review, content workflows, audio analysis, or an API pipeline without adding Spotify cookies, a Spotify login, or a Spotify API key.

  • Spotify downloader for public track URLs when you already know the songs you want to resolve.
  • Spotify MP3 downloader for search terms such as song names, artists, albums, or genres.
  • Spotify to MP3 workflows where you need track metadata and a resolved MP3 link in one row.
  • Spotify downloader app replacement for repeatable Apify runs, exports, schedules, and API calls.
  • Spotify saver workflows where you want the MP3 file itself saved in Apify key-value storage.

This Actor is focused on public Spotify tracks. It does not expand playlists, albums, artist pages, podcasts, shows, episodes, comments, followers, or private account content.

✅ What you get for every Spotify track

  • Accepts public Spotify track URLs, Spotify track URIs, track IDs, and search terms.
  • Finds matching tracks from keywords such as song names, artists, albums, or genres.
  • Saves one dataset row per accepted Spotify track.
  • Returns track name, artists, album, duration, explicit flag, popularity, ISRC, release date, cover image, and Spotify URL.
  • Always adds an MP3 download link in media.downloadUrl.
  • Adds the 30-second Spotify audio preview link when you turn on Include audio preview link and Spotify provides one.
  • Saves the MP3 file to Apify key-value storage when you turn on Save MP3 files.
  • Lets you filter by explicit content and track duration.
  • Skips invalid, unavailable, duplicate, or unresolved tracks without saving failure rows. Each URL, URI, or ID that is invalid, missing, removed by your filters, or fails after several tries gets a warning in the run log with its reason. Tracks found by search that fail get one summary warning. Duplicates and search-found tracks removed by filters are skipped without a log line.

Some optional fields are left out of a row when Spotify does not provide that value for a public track. The dataset contains accepted track rows only. If every input fails and nothing is saved, the run ends as failed instead of looking like an empty success.

🚀 How to run the Spotify downloader

  1. Add Spotify track URLs in Spotify track URLs, search terms in Search terms, or both.
  2. Choose whether to include all tracks, explicit tracks only, or clean tracks only.
  3. Optionally set a minimum and maximum track duration.
  4. Optionally turn on Include audio preview link or Save MP3 files. Each one has its own charge.
  5. Set Tracks per search and Total tracks to control run size and cost.
  6. Start the Actor and open the dataset.

For a quick first run, keep the prefilled track URLs. The default input resolves five public tracks so you can inspect the output before adding your own Spotify URLs or searches.

⚙️ Input

Input fields

FieldTypeWhat it does
trackUrlsarray of stringsSpotify track links, Spotify track URIs, or 22-character track IDs. Up to 1,000 values. Prefilled with five public tracks.
keywordsarray of stringsSong, artist, album, or genre searches. Up to 1,000 values. Empty by default.
maxTracksintegerStops after this many accepted tracks across URLs and searches. Prefilled with 5. Leave it empty or use 0 to get all available tracks.
maxTracksPerSearchintegerMaximum track matches to collect from each search term. Default 5. Allowed range is 1 to 100. Applies to search terms only.
explicitContentstringall (default), explicit_only, or non_explicit_only. Filtered tracks do not count toward your limits.
minDurationSecondsintegerKeeps tracks at or above this length in seconds. Not set by default.
maxDurationSecondsintegerKeeps tracks at or below this length in seconds. Not set by default. Minimum value is 1.
includeSavedMp3FilebooleanSaves each MP3 file to Apify storage and adds its key, content type, and size to the row. Default false.
includeAudioPreviewbooleanAdds the 30-second Spotify audio preview link to each row when Spotify provides one. Default false.

Example input

{
"trackUrls": [
"https://open.spotify.com/track/1dGr1c8CrMLDpV6mPbImSI",
"https://open.spotify.com/track/7qiZfU4dY1lWllzX7mPBI3",
"https://open.spotify.com/track/0tgVpDi06FyKpA1z0VMD4v",
"https://open.spotify.com/track/6habFhsOp2NvshLv26DqMb",
"https://open.spotify.com/track/1rfofaqEpACxVEHIZBJe6W"
],
"keywords": [],
"maxTracks": 5,
"maxTracksPerSearch": 5,
"explicitContent": "all",
"includeSavedMp3File": false,
"includeAudioPreview": false
}

🧾 Output

Output fields

FieldTypeWhat it does
trackIdstringSpotify ID of the track.
trackNamestringTitle of the track.
artistNamesarray of stringsNames of the artists on the track.
albumNamestringAlbum the track is on.
durationMsnumberLength of the track in milliseconds.
explicitbooleanTrue when Spotify marks the track as explicit.
releaseDatestringRelease date, as Spotify gives it.
coverImageUrlstringLink to the cover image.
isrcstringInternational Standard Recording Code of the track.
popularitynumberPopularity, as Spotify gives it.
spotifyUrlstringLink to the track on Spotify.
media.downloadUrlstringLink to download the MP3 file.
media.audioPreviewUrlstring30-second audio preview link. Only present when you turn on Include audio preview link and Spotify provides one.
savedFile.keystringKey of the saved MP3 file in the key-value store. Only present when you turn on Save MP3 files.
savedFile.contentTypestringContent type of the saved file.
savedFile.sizeBytesnumberSize of the saved file in bytes.

Optional fields are left out of a row when the value is not available. This example comes from a run with both optional switches on. The media.downloadUrl value is shortened to "...".

{
"trackId": "1dGr1c8CrMLDpV6mPbImSI",
"trackName": "Lover",
"artistNames": [
"Taylor Swift"
],
"albumName": "Lover",
"durationMs": 221306,
"explicit": false,
"releaseDate": "2019-08-23",
"coverImageUrl": "https://i.scdn.co/image/ab67616d0000b273e787cffec20aa2a396a61647",
"isrc": "USUG11901473",
"popularity": 84,
"spotifyUrl": "https://open.spotify.com/track/1dGr1c8CrMLDpV6mPbImSI",
"media": {
"audioPreviewUrl": "https://p.scdn.co/mp3-preview/aad996e106de5278d8387dc838e8f08105dcd588",
"downloadUrl": "..."
},
"savedFile": {
"key": "spotify-1dGr1c8CrMLDpV6mPbImSI.mp3",
"contentType": "audio/mpeg",
"sizeBytes": 8942956
}
}

💳 Pricing

This Actor uses pay-per-event pricing.

EventPriceWhen it is charged
Run start (apify-actor-start)$0.005Once when a run starts.
Resolved track$0.00265For each accepted Spotify track saved with metadata and an MP3 link. That is $2.65 per 1,000 accepted tracks.
Audio preview$0.0005For each track whose audio preview link is added to its row.
Saved MP3 file$0.004For each MP3 file saved to Apify storage.

The audio preview and saved MP3 file charges apply only when you turn those options on and the extra data is added to the row.

Invalid URLs, unsupported inputs, unavailable tracks, unresolved tracks, duplicates, and skipped search matches do not create track charges. The run start charge still applies to every run.

🔌 Integrations

  • Export Spotify track rows as JSON, CSV, Excel, XML, RSS, or HTML from the Apify dataset.
  • Call the Actor through the Apify API for repeatable Spotify downloader workflows.
  • Schedule recurring keyword searches or URL batches when you need fresh track links.
  • Send finished runs to webhooks, Make, Zapier, cloud storage, or your own data pipeline.

❓ FAQ

Do I need a Spotify API key, login, or cookies?

No. The Actor works without user-provided Spotify credentials.

Can this Spotify MP3 downloader save files?

Yes. Turn on Save MP3 files in Media output. The dataset row includes the saved-file key, content type, and size when the MP3 file is saved. This adds a charge per saved file.

Can I use Spotify track URLs and search terms together?

Yes. You can combine known track URLs with keyword searches in one run. Duplicate tracks are saved once.

Are failed or skipped inputs charged?

Skipped inputs create no track charge. You are charged for accepted track rows. The run start charge applies to every run.

Does it support Spotify playlist downloader MP3 workflows?

Not for playlist expansion. This Actor processes Spotify track URLs, track IDs, track URIs, and keyword track searches. If you have track URLs from a playlist, you can submit those track URLs directly.

Why not use the Spotify API?

The official Spotify API is useful for catalog metadata, but it does not provide this Actor's MP3 download links or saved-file output. This Actor is built for public track downloader workflows and does not ask for Spotify developer credentials.

Why did my run save fewer tracks than I entered?

Duplicates and search-found tracks removed by your filters are skipped without a log line. A URL, URI, or ID that is invalid, missing, removed by your filters, or fails after several tries gets a warning with its reason. Failed tracks found by search get one summary warning. If nothing at all is saved and inputs failed, the run ends as failed.

What are Spotify alternatives?

For broader music media workflows, use a source-specific Actor such as SoundCloud MP3 Downloader or YouTube Music Downloader. For Spotify playlist, artist, album, or analytics data, use a Spotify scraper that matches that data job instead of this track downloader.

📝 Changelog

v1.0 (22-11-2026)

  • Removed the resolutionMode input. Use includeSavedMp3File instead: turn it on to save each MP3 file to Apify storage, or leave it off to get MP3 links only. Old runs that set resolutionMode to save_files must switch to includeSavedMp3File.
  • Added the includeAudioPreview input. Audio preview links are no longer added by default. Turn it on to get media.audioPreviewUrl when Spotify provides one.
  • Removed these output fields. There is no replacement for them: status, input, inputType, searchTerm, searchRank, spotifyUri, durationText, media.downloadHost, media.extension, media.contentType, availability (with playable, reason, downloadLinkStatus, and downloadContentLength), and scrape (with proxy, resolutionMode, and scrapedAt). Every saved track is a successful result. Use trackId and spotifyUrl to identify a track.
  • Fields without a value are now left out instead of set to null. This applies to albumName, durationMs, explicit, releaseDate, coverImageUrl, isrc, popularity, media.audioPreviewUrl, and savedFile.
  • maxTracks no longer has a default of 5 or a maximum of 1000. The input form still shows 5. If you leave it empty or use 0, the run now returns all available tracks instead of 5.
  • Reliability improvements.

v0.1

  • Initial release.

🆘 Support

For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡

Made with ❤️ by Maxime Dupré