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://www.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://www.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":"ruizesteban_90","title":"Callejeros β€” Creo","cover":"https://i.scdn.co/image/ab67616d00001e02c2a9bdace7dc75d29cc6cd14","releaseDate":null},"count":5,"songs":[{"id":"5Bi9Cq5oVFy1OtUgecbegZ","artist":"Callejeros","title":"Creo","album":"","cover":"https://i.scdn.co/image/ab67616d0000b273c2a9bdace7dc75d29cc6cd14","releaseDate":"","downloadLink":"https://dl.spotidown.app/malpha.123tokyo.xyz/get.php/2/61/emUCNrTM6rU.mp3?cid=MmEwMTo0Zjg6YzAxMjozMmVlOjoxfE5BfERF&h=kxzbFa5GxfgBNujsREzX0A&s=1732129512&n=Creo%20-%20Callejeros&uT=R&uN=QWJkYXJrZW4%3D&fn=1"},{"id":"3s7sufhCgTCX6lc4n6iBlz","artist":"Callejeros","title":"Rocanroles Sin Destino","album":"Incompleto - 20 Rocanroles 20","cover":"https://i.scdn.co/image/ab67616d0000b273336f257eac5d7e897d999dd7","releaseDate":"2012-05-31","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"39KmBOGkD1ztCbVeo2uspA","artist":"Callejeros","title":"Una Nueva Noche FrΓ­a","album":"PresiΓ³n","cover":"https://i.scdn.co/image/ab67616d0000b273b677351ba1a313790b669ad5","releaseDate":"2004","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"08QTzlvatmG99BuahclsPj","artist":"Callejeros","title":"Prohibido","album":"Incompleto - 20 Rocanroles 20","cover":"https://i.scdn.co/image/ab67616d0000b273336f257eac5d7e897d999dd7","releaseDate":"2012-05-31","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."},{"id":"00VTP0gOli5lkpAEzvozcS","artist":"Callejeros","title":"9 de Julio","album":"Incompleto - 20 Rocanroles 20","cover":"https://i.scdn.co/image/ab67616d0000b273336f257eac5d7e897d999dd7","releaseDate":"2012-05-31","downloadLink":"","note":"Use downloadSong API to get the download link after 1-2 minutes, Songs are being downloaded in the background."}]},"generatedTimeStamp":1732122424929}
                                                                                                                                                                                                                    
                                                                                                    

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://www.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, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ 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]


Related APIs