Spotify Downloader API

This API enables you to download songs, playlists, and albums from Spotify effortlessly using just a Spotify ID or URL.

Unlock the power of music with our Spotify Download API. This project enables you to download songs, playlists, and albums from Spotify effortlessly using just a Spotify ID or URL. Whether you want to integrate music downloads into your app or create a custom music experience, our API makes it easy and efficient. Designed for simplicity and performance, our API ensures you get the music you love with minimal hassle. Perfect for developers looking to enhance their applications with Spotify's vast music library.

API Documentation

Endpoints


Endpoint: GET /downloadSong/:songId

Description: Downloads a song from Spotify using the song ID or URL.

Parameters:

- songId (required): The ID or URL(encoded) of the song to download.

Example Request:

```
GET /downloadSong/3n3Ppam7vgaVa1iaRUc9Lp
GET /downloadSong/https%3A%2F%2Fopen.spotify.com%2Ftrack%2F3n3Ppam7vgaVa1iaRUc9Lp
```



                                                                            
GET https://zylalabs.com/api/4661/spotify+downloader+api/5753/download+song
                                                                            
                                                                        

Download Song - Endpoint Features

Object Description
songId [Required] Parameters: - songId (required): The ID or URL of the song to download.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "success": true,
  "data": {
    "id": "7jT3LcNj4XPYOlbNkPWNhU",
    "artist": "Kordhell",
    "title": "Killers From The Northside",
    "album": "Killers From The Northside",
    "cover": "https://i.scdn.co/image/ab67616d0000b27325ca842a1ae7c22bf33021e6",
    "releaseDate": "2021-09-30",
    "downloadLink": "https://cdn4.meow.gs/api/stream?t=StwhNcFoLHk7ly_OyBz_i&e=1721161472679&h=R8T2OrIeGvdxV8hQRNqFY_VmhRN_JcjqMJeqPku7QZ4&s=L21QJeDYoYaVtnZWvTZx-SIrYWKQMErMqchaVBna5yY&i=a0rTLcxQsi49eA7EXQ6lAA"
  },
  "generatedTimeStamp": 1721161399968
}
                                                                                                                                                                                                                    
                                                                                                    

Download Song - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4661/spotify+downloader+api/5753/download+song?songId=https://open.spotify.com/track/7jT3LcNj4XPYOlbNkPWNhU' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Endpoint: GET /downloadPlaylist/:playlistId

Description: Downloads a playlist from Spotify using the playlist ID or URL.

Parameters:

- playlistId (required): The ID or URL(URLencode) of the playlist to download.

Example Request:

```
GET /downloadPlaylist/37i9dQZF1DXcBWIGoYBM5M
GET /downloadPlaylist/https%3A%2F%2Fopen.spotify.com%2Fplaylist%2F37i9dQZF1DXcBWIGoYBM5M
```



                                                                            
GET https://zylalabs.com/api/4661/spotify+downloader+api/5754/download+playlist
                                                                            
                                                                        

Download Playlist - Endpoint Features

Object Description
playlistId [Required] Parameters: - playlistId (required): The ID or URL of the playlist to download.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"data":{"playlistDetails":{"artist":"PHONK WORLD","title":"KORDHELL PHONK MUSIC","cover":"https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da842b9a7fbf8fa93553811c0347","releaseDate":null},"count":29,"songs":[{"id":"6qyS9qBy0mEk3qYaH8mPss","artist":"Kordhell","title":"Murder In My Mind","album":"Murder In My Mind","cover":"https://i.scdn.co/image/ab67616d0000b2731440ffaa43c53d65719e0150","releaseDate":"2022-01-21","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"3T56drS7FjnZgGcOAHlXzx","artist":"Kordhell","title":"Murder In My Mind - Sped Up","album":"Murder In My Mind (Sped Up)","cover":"https://i.scdn.co/image/ab67616d0000b273f2e3e3735158efa0e2f7b35e","releaseDate":"2022-05-05","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"4aYamw19Hloc6hQlJwWM1y","artist":"Kordhell","title":"LAND OF FIRE","album":"LAND OF FIRE","cover":"https://i.scdn.co/image/ab67616d0000b273c2c8cfd3f522e17789b17686","releaseDate":"2022-08-05","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"3bpR5jv8uzraDgq5YpHwDw","artist":"CORPSE, Scarlxrd, Kordhell","title":"MISA MISA!","album":"MISA MISA!","cover":"https://i.scdn.co/image/ab67616d0000b273199ae30308a28332ce6c8dde","releaseDate":"2022-08-26","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"34lfu3S4fIcKZRNXzbdbo7","artist":"Kordhell","title":"Live Another Day","album":"Phonkageddon","cover":"https://i.scdn.co/image/ab67616d0000b273cc319cc65277ea17783dca6b","releaseDate":"2021-08-27","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"27qLV9EutQkEnn5bS8wji5","artist":"Sinizter, Kordhell","title":"ONE SHOT, ONE KILL","album":"ONE SHOT, ONE KILL","cover":"https://i.scdn.co/image/ab67616d0000b27321d0d310418dddca9070bc31","releaseDate":"2022-07-01","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"1WMuTWPq75xbMdoxcZU8lB","artist":"Dxrk ダーク, Kordhell","title":"UNHOLY","album":"UNHOLY","cover":"https://i.scdn.co/image/ab67616d0000b27321b8dc5b94cfeeb12db9dbcf","releaseDate":"2022-05-06","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"0ORzR5SgTU65R2obmD11s5","artist":"RAIZHELL, Kordhell, fkbambam","title":"To Hell and Back","album":"To Hell and Back","cover":"https://i.scdn.co/image/ab67616d0000b273e812a7e2a4b2b3a92cfc7dd5","releaseDate":"2022-04-01","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"7KmbiagSkUbepU88x7NWjb","artist":"Kordhell","title":"Scopin","album":"Scopin","cover":"https://i.scdn.co/image/ab67616d0000b2736193e56a57682a68c2cd0808","releaseDate":"2022-04-08","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"6ogNyil9DuvZmKjE8hKri5","artist":"Kordhell","title":"Wig Split","album":"Phonkageddon","cover":"https://i.scdn.co/image/ab67616d0000b273cc319cc65277ea17783dca6b","releaseDate":"2021-08-27","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"3DYy54rMUW2scr2IK8rckj","artist":"Kordhell","title":"FATALITY","album":"FATALITY","cover":"https://i.scdn.co/image/ab67616d0000b27368200f35bb430e4a7ab02fd1","releaseDate":"2022-06-10","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"7C1UeCvuHHhNomalplHgRD","artist":"Kordhell","title":"Death Bound","album":"Phonkageddon","cover":"https://i.scdn.co/image/ab67616d0000b273cc319cc65277ea17783dca6b","releaseDate":"2021-08-27","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"0dlz0KoaIE9zaFZNT4XvXn","artist":"Kordhell","title":"Memphis Doom","album":"Memphis Doom","cover":"https://i.scdn.co/image/ab67616d0000b273350bd33cb53c26eee7fbfe2e","releaseDate":"2021-10-08","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"3CLSHJv5aUROAN2vfOyCOh","artist":"DVRST","title":"Close Eyes","album":"Close Eyes","cover":"https://i.scdn.co/image/ab67616d0000b27311447aead485afd7c57aa042","releaseDate":"2021-05-25","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"6nqdgUTiWt4JbABDurkxMI","artist":"Hensonn","title":"Sahara","album":"Sahara","cover":"https://i.scdn.co/image/ab67616d0000b27383bd1e120f8b14407fe73816","releaseDate":"2021-11-16","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"1sWb35nydLCjD71JGURDEv","artist":"Chi X, SLOWYMANE","title":"RAGNAROK","album":"RAGNAROK","cover":"https://i.scdn.co/image/ab67616d0000b273edb178ace0d8ddade2099db8","releaseDate":"2022-07-21","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"2WzAAerBvZvvFXgUpSwHZ9","artist":"PLAYAMANE, Nateki","title":"MIDNIGHT","album":"MIDNIGHT","cover":"https://i.scdn.co/image/ab67616d0000b27317a08c20deadefc069016642","releaseDate":"2022-02-13","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"0wGbyS1tExQSwOYu6UceyE","artist":"ONIMXRU, SMITHMANE","title":"SHADOW","album":"SHADOW","cover":"https://i.scdn.co/image/ab67616d0000b27399fbaa282e2f0b28fc383a06","releaseDate":"2022-07-29","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"01kfSdF9zfcDLri5sSWEoL","artist":"Dxrk ダーク","title":"RAVE","album":"RAVE","cover":"https://i.scdn.co/image/ab67616d0000b273144fcad8ffb348edefb9e851","releaseDate":"2022-03-18","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"0iUrxveyNUBfj0cqjYEijt","artist":"MoonDeity","title":"NEON BLADE","album":"NEON BLADE","cover":"https://i.scdn.co/image/ab67616d0000b27333364d6b6fd36894f1a3b506","releaseDate":"2022-06-01","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"5Sk39LuvdwuvL84jD01Dum","artist":"MUPP, Sadfriendd","title":"vendetta!","album":"vendetta!","cover":"https://i.scdn.co/image/ab67616d0000b27345de6f708fe45e7db8d091db","releaseDate":"2022-05-20","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"5FX30idriKlEIRYTxpNf65","artist":"KUTE","title":"AVOID ME","album":"AVOID ME","cover":"https://i.scdn.co/image/ab67616d0000b273e9cdae5920ca19b2b6dd6daf","releaseDate":"2022-02-11","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"2wYJ7AszuzxSdb0yOjirKQ","artist":"KUTE, Kordhell","title":"Dead on Arrival","album":"Dead on Arrival","cover":"https://i.scdn.co/image/ab67616d0000b27336201d886c3831ef6d99236b","releaseDate":"2022-05-13","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"0HIeI7doCC3xlhlfFxXWMc","artist":"Kordhell","title":"Murder In My Mind - Slowed + Reverb","album":"Murder In My Mind","cover":"https://i.scdn.co/image/ab67616d0000b2731440ffaa43c53d65719e0150","releaseDate":"2022-01-21","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"62ZAFyVwbc9f2M8qCW1qJr","artist":"Kordhell","title":"MURDER PLOT","album":"MURDER PLOT","cover":"https://i.scdn.co/image/ab67616d0000b2731b8344b543d7a6e7c04ac7d4","releaseDate":"2022-12-15","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"2biZJ6YK8Pz1bUby8VDV3Q","artist":"CORPSE, Scarlxrd, Kordhell","title":"MISA MISA!","album":"MISA MISA!","cover":"https://i.scdn.co/image/ab67616d0000b273d44f0c859004ce9ea93bef60","releaseDate":"2022-08-26","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"3iebfHmYMs8dUcAC5qSQ8Y","artist":"Disturbed, Kordhell","title":"Bad Man - Kordhell Remix","album":"Bad Man (Kordhell Remix)","cover":"https://i.scdn.co/image/ab67616d0000b273a4304cb1273a7fbaa0a47d3e","releaseDate":"2023-02-24","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"4e3wMOkmtjHNbPrFE8tCkE","artist":"Kordhell","title":"DAT PHONK","album":"DAT PHONK","cover":"https://i.scdn.co/image/ab67616d0000b273d569c99b7e6ae5adb59f1a33","releaseDate":"2023-02-17","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"7jT3LcNj4XPYOlbNkPWNhU","artist":"Kordhell","title":"Killers From The Northside","album":"Killers From The Northside","cover":"https://i.scdn.co/image/ab67616d0000b27325ca842...
                                                                                                                                                                                                                    
                                                                                                    

Download Playlist - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4661/spotify+downloader+api/5754/download+playlist?playlistId=https://open.spotify.com/playlist/2erlPnqkQL4KNA8HtJ5D0Q' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Endpoint: GET /downloadAlbum/:albumId

Description: Downloads an album from Spotify using the album ID or URL.

Parameters:

- albumId (required): The ID or URL of the album to download.

Example Request:

```
GET /downloadAlbum/4aawyAB9vmqN3uQ7FjRGTy
GET /downloadAlbum/https%3A%2F%2Fopen.spotify.com%2Falbum%2F4aawyAB9vmqN3uQ7FjRGTy
```



                                                                            
GET https://zylalabs.com/api/4661/spotify+downloader+api/5755/download+album
                                                                            
                                                                        

Download Album - Endpoint Features

Object Description
albumId [Required] Parameters: - albumId (required): The ID or URL of the album to download.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "success": true,
  "data": {
    "albumDetails": {
      "artist": "Kordhell",
      "title": "Murder In My Mind",
      "cover": "https://i.scdn.co/image/ab67616d0000b2731440ffaa43c53d65719e0150",
      "releaseDate": "2022-01-21"
    },
    "count": 2,
    "songs": [
      {
        "id": "6qyS9qBy0mEk3qYaH8mPss",
        "artist": "Kordhell",
        "title": "Murder In My Mind",
        "album": "Murder In My Mind",
        "cover": "https://i.scdn.co/image/ab67616d0000b2731440ffaa43c53d65719e0150",
        "releaseDate": "2022-01-21",
        "downloadLink": "https://cdn1.meow.gs/api/stream?t=Q-qyILTE8oHdrGeVw2zSd&e=1721161505810&h=kzTi2lsAJP9N-DEdVpDKqBvKVQnrevV4zoEN59w0YPs&s=bIk12IrM9iIvU-lEXXInQFghavmoDgGbnA7GW8JhLWw&i=wKGXU3lyYlBC6K-k4dIR5A"
      },
      {
        "id": "0HIeI7doCC3xlhlfFxXWMc",
        "artist": "Kordhell",
        "title": "Murder In My Mind - Slowed + Reverb",
        "album": "",
        "cover": "",
        "releaseDate": "",
        "downloadLink": ""
      }
    ]
  },
  "generatedTimeStamp": 1721161452059
}
                                                                                                                                                                                                                    
                                                                                                    

Download Album - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4661/spotify+downloader+api/5755/download+album?albumId=https://open.spotify.com/album/68GI09qAs2XLJmA3hj5K7y' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

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 Downloader API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

To use this API users must indicate the URL of a track or track id to download it.

The Spotify Track Download API allows users to programmatically retrieve and download songs from the Spotify platform.

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.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.


Related APIs