{"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":838},"timestamp":"2026-06-22T13:03:48.621Z"}
curl --location --request GET 'https://zylalabs.com/api/4117/spotify+track+download+api/23335/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 Track Download 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 🎉)
In today's digital age, music has become an integral part of our lives, enriching moments and defining memories. With the proliferation of streaming music platforms, accessing our favorite songs has never been easier. Among these platforms, Spotify stands out for offering a vast library of songs across all genres and languages. Now, with Spotify Track Download API, users can harness the power of Spotify's extensive music catalog and integrate song download features seamlessly into their applications or services.
Spotify Track Download API enables users to unlock new possibilities in music streaming and consumption. By providing programmatic access to Spotify's rich repository of songs, this API allows developers to enhance the user experience and functionality of their applications. Whether it's building a music player app, creating custom playlists, or enabling offline playback, the Spotify Track Download API opens the door to a world of innovative music-related functionality.
Integrating the Spotify Track Download API into applications is a breeze, thanks to its user-friendly design and comprehensive documentation. Users can seamlessly retrieve song data, including metadata such as song name and artist. This data serves as the basis for creating immersive music experiences tailored to users' preferences and needs.
In a world where music plays a central role in our lives, Spotify Track Download API is a game changer for users looking to extend the music experience in their applications. By providing seamless access to Spotify's vast catalog of music and enabling song downloads, the API allows users to create immersive, personalized music experiences that resonate with users on a deeper level. It leverages Spotify Track Download API and unlocks the potential to revolutionize music streaming and consumption in the digital age.
It will receive the parameters and provide you with a JSON.
Offline Playback: Enable users to download tracks for offline listening, allowing them to enjoy music even without an internet connection.
Personalized Playlists: Empower users to create custom playlists by downloading their favorite tracks, curated to their preferences.
Enhanced User Experience: Provide a seamless and convenient way for users to access their downloaded songs within the application.
Data Synchronization: Automatically synchronize downloaded songs across multiple devices, ensuring a consistent music experience.
Data Backup: Offer users the ability to back up their downloaded songs, preventing loss of data in case of device issues.
1 requests per second in all plans.
To use this API users must indicate the URL of a track to download it.
The Spotify Track Download API allows users to programmatically retrieve and download songs from the Spotify platform.
There are different plans to suit everyone, including a free trial for a small number of requests, but its rate is limited to avoid abuse of the service.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
The Spotify Track Download API allows users to programmatically retrieve and download songs from the Spotify platform.
The Download endpoint returns a JSON object containing details about the requested track, including its URL, title, author, thumbnail, duration, and media links for downloading.
Key fields in the response include "url" (track link), "title" (track name), "author" (artist name), "thumbnail" (image link), "duration" (length of the track), and "medias" (array of downloadable media links).
The response data is structured as a JSON object with nested fields. The main object contains track details, while the "medias" field is an array of objects, each representing a downloadable media link.
The primary parameter for the Download endpoint is the "URL" of the track you wish to download. This URL must point to a valid Spotify track.
The Download endpoint provides information such as track metadata (title, author), media download links, and visual content (thumbnail) related to the track.
Users can utilize the returned data to display track information in their applications, create download buttons for media links, and enhance user interfaces with track thumbnails and metadata.
The data is sourced from Spotify's extensive music catalog, ensuring a wide variety of tracks across genres and languages, providing users with a rich selection.
Data accuracy is maintained through regular updates from Spotify's database, ensuring that track information and media links are current and reliable for users.
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