Spotify Downloader
Pricing
from $2.65 / 1,000 resolved tracks
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é
Maintained by CommunityActor stats
1
Bookmarked
85
Total users
10
Monthly active users
5 days ago
Last modified
Categories
Features
Share
🎧 Spotify downloader for MP3 links and track data
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
- Add Spotify track URLs in Spotify track URLs, search terms in Search terms, or both.
- Choose whether to include all tracks, explicit tracks only, or clean tracks only.
- Optionally set a minimum and maximum track duration.
- Optionally turn on Include audio preview link or Save MP3 files. Each one has its own charge.
- Set Tracks per search and Total tracks to control run size and cost.
- 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
| Field | Type | What it does |
|---|---|---|
trackUrls | array of strings | Spotify track links, Spotify track URIs, or 22-character track IDs. Up to 1,000 values. Prefilled with five public tracks. |
keywords | array of strings | Song, artist, album, or genre searches. Up to 1,000 values. Empty by default. |
maxTracks | integer | Stops after this many accepted tracks across URLs and searches. Prefilled with 5. Leave it empty or use 0 to get all available tracks. |
maxTracksPerSearch | integer | Maximum track matches to collect from each search term. Default 5. Allowed range is 1 to 100. Applies to search terms only. |
explicitContent | string | all (default), explicit_only, or non_explicit_only. Filtered tracks do not count toward your limits. |
minDurationSeconds | integer | Keeps tracks at or above this length in seconds. Not set by default. |
maxDurationSeconds | integer | Keeps tracks at or below this length in seconds. Not set by default. Minimum value is 1. |
includeSavedMp3File | boolean | Saves each MP3 file to Apify storage and adds its key, content type, and size to the row. Default false. |
includeAudioPreview | boolean | Adds 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
| Field | Type | What it does |
|---|---|---|
trackId | string | Spotify ID of the track. |
trackName | string | Title of the track. |
artistNames | array of strings | Names of the artists on the track. |
albumName | string | Album the track is on. |
durationMs | number | Length of the track in milliseconds. |
explicit | boolean | True when Spotify marks the track as explicit. |
releaseDate | string | Release date, as Spotify gives it. |
coverImageUrl | string | Link to the cover image. |
isrc | string | International Standard Recording Code of the track. |
popularity | number | Popularity, as Spotify gives it. |
spotifyUrl | string | Link to the track on Spotify. |
media.downloadUrl | string | Link to download the MP3 file. |
media.audioPreviewUrl | string | 30-second audio preview link. Only present when you turn on Include audio preview link and Spotify provides one. |
savedFile.key | string | Key of the saved MP3 file in the key-value store. Only present when you turn on Save MP3 files. |
savedFile.contentType | string | Content type of the saved file. |
savedFile.sizeBytes | number | Size 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.
| Event | Price | When it is charged |
|---|---|---|
Run start (apify-actor-start) | $0.005 | Once when a run starts. |
| Resolved track | $0.00265 | For each accepted Spotify track saved with metadata and an MP3 link. That is $2.65 per 1,000 accepted tracks. |
| Audio preview | $0.0005 | For each track whose audio preview link is added to its row. |
| Saved MP3 file | $0.004 | For 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
resolutionModeinput. UseincludeSavedMp3Fileinstead: turn it on to save each MP3 file to Apify storage, or leave it off to get MP3 links only. Old runs that setresolutionModetosave_filesmust switch toincludeSavedMp3File. - Added the
includeAudioPreviewinput. Audio preview links are no longer added by default. Turn it on to getmedia.audioPreviewUrlwhen 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(withplayable,reason,downloadLinkStatus, anddownloadContentLength), andscrape(withproxy,resolutionMode, andscrapedAt). Every saved track is a successful result. UsetrackIdandspotifyUrlto 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, andsavedFile. maxTracksno 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 🫡
🔗 Related Actors
- Spotify Playlists Scraper ↗ - Find public Spotify playlists, then pull their track links to use here.
- Spotify Artist Scraper ↗ - Find public Spotify artist profiles before you look up their tracks.
- Spotify Songs Scraper ↗ - Search public Spotify tracks by keyword and export structured track data.
- SoundCloud MP3 Downloader ↗ - Get playable SoundCloud media links from public tracks, profiles, playlists, and searches.
- YouTube Music Downloader ↗ - Save audio files from direct YouTube Music and YouTube URLs.
Made with ❤️ by Maxime Dupré