The Spotify Song Downloader API allows users to download tracks from Spotify, as well as retrieve metadata about them. With this API, users can easily access and save their favorite music from Spotify, making it a useful tool for music enthusiasts who want to build their personal music collection.
{
"success": true,
"message": "success",
"data": {
"url": "https://open.spotify.com/track/3CLSHJv5aUROAN2vfOyCOh",
"source": "spotify",
"title": "Close Eyes",
"author": "DVRST",
"thumbnail": "https://image-cdn-ak.spotifycdn.com/image/ab67616d0000b27311447aead485afd7c57aa042",
"duration": "2:12",
"track_id": "3CLSHJv5aUROAN2vfOyCOh",
"audioPreview": "https://p.scdn.co/mp3-preview/1f8b8a2c1f25d819f2057a5683f6714598d33f37",
"medias": [
{
"url": "https://cdn-spotify.zm.io.vn/download/3CLSHJv5aUROAN2vfOyCOh?name=Close%20Eyes&artist=DVRST&duration=133&release_year=2021",
"quality": "HQ",
"extension": "mp3",
"type": "audio"
}
],
"type": "single",
"error": false,
"time_end": 405
},
"timestamp": "2026-08-03T13:03:28.442Z"
}
curl --location --request GET 'https://zylalabs.com/api/1599/spotify+song+downloader+api/23328/get+audio?link=https://open.spotify.com/track/3CLSHJv5aUROAN2vfOyCOh' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Spotify Song Downloader API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Spotify Song Downloader APII is a powerful tool for music enthusiasts who want to download and save their favorite tracks from Spotify. With this API, users can easily access and save their favorite music from Spotify, making it a useful tool for anyone who wants to build a personal music collection.
One of the key features of the Spotify Downloader API is its ability to retrieve metadata about tracks from Spotify.
The Spotify Downloader API is built using modern web technologies and is designed to be easy to integrate into existing applications. Developers can use the API to build custom music applications or integrate Spotify data into existing applications. The API is well-documented and comes with comprehensive developer resources, including sample code and SDKs for popular programming languages.
Personal Music Collection: The Spotify Downloader API can be used by music enthusiasts to build a personalized music collection. Users can download their favorite tracks, playlists, and albums from Spotify and save them to their local devices for offline listening. With the API's metadata retrieval feature, users can organize their music collection by genre, artist, or album.
Music Analysis and Research: The Spotify Downloader API can be used by researchers and music analysts to analyze and study music trends. The API can be used to retrieve metadata about tracks, playlists, and albums from Spotify, which can be used to study patterns and trends in music listening and purchasing habits.
Music Discovery: The Spotify Downloader API can be used to discover new music based on user preferences. Users can search for tracks, playlists, and albums from Spotify and discover new artists and genres that they may not have otherwise discovered.
DJ Software: The Spotify Downloader API can be used by DJs to access and download tracks from Spotify for use in their live sets. With the API's metadata retrieval feature, DJs can organize their music by tempo, key, and other attributes to help them create more engaging and dynamic sets.
Podcasts and Radio Shows: The Spotify Downloader API can be used by podcasters and radio show hosts to download tracks from Spotify for use in their shows. With the API's offline listening capabilities, hosts can download tracks and playlists for use during live broadcasts or when recording their shows.
The Download endpoint returns data related to a specific track, including its album details, artist information, and external URLs. The response includes metadata such as the track's name, album type, and artist names, allowing users to gather comprehensive information about the downloaded song.
Key fields in the response data include "tracks," which contains an array of track objects. Each track object includes "album" (with album type and external URLs), "artists" (with artist names and links), and "external_urls" for accessing the track on Spotify.
The response data is structured in JSON format. It consists of a main object containing a "tracks" array. Each track object within this array includes nested objects for "album" and "artists," providing a hierarchical view of the track's metadata.
The Download endpoint provides information about the track's title, album details, artist names, and external links to Spotify. It does not support podcasts, focusing solely on music tracks, which allows users to gather specific details about their favorite songs.
Users can customize their data requests by specifying the Spotify song ID in the Download endpoint. This allows them to retrieve specific tracks based on their unique identifiers, ensuring they get the exact song they want to download.
Typical use cases include building personal music collections, conducting music analysis, discovering new artists, and enhancing DJ sets. Users can download tracks for offline listening or integrate track metadata into music-related applications.
Data accuracy is maintained through direct integration with Spotify's database, ensuring that the metadata retrieved is up-to-date and reliable. Regular updates from Spotify help ensure that the information reflects the current state of the music catalog.
Users can expect a consistent data pattern where each track object includes nested details about the album and artists. The structure remains uniform, allowing for easy parsing and integration into applications, regardless of the specific track being accessed.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund