{
"code": 200,
"codeMsg": "success",
"data": {
"type": "album",
"id": "2ANVost0y2y52ema1E9xAZ",
"url": "https://open.spotify.com/album/2ANVost0y2y52ema1E9xAZ",
"name": "Thriller",
"albumType": "ALBUM",
"releaseDate": "1982-11-30",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"imageUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"totalTracks": 9,
"pagination": {
"page": 1,
"size": 40,
"total": 9,
"totalPages": 1,
"hasMore": false
},
"tracks": [
{
"id": "1hu2s7qkm5bo03eODpRQO3",
"url": "https://open.spotify.com/track/1hu2s7qkm5bo03eODpRQO3",
"name": "Wanna Be Startin' Somethin'",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 363400,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "6XYbMGvtl6tlPoGWaiH7EY",
"url": "https://open.spotify.com/track/6XYbMGvtl6tlPoGWaiH7EY",
"name": "Baby Be Mine",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 260368,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "4IT6vDuKprKl6jyVndlY8V",
"url": "https://open.spotify.com/track/4IT6vDuKprKl6jyVndlY8V",
"name": "The Girl Is Mine (with Paul McCartney)",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
},
{
"id": "4STHEaNw4mPZ2tzheohgXB",
"name": "Paul McCartney"
}
],
"durationMs": 222152,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "2LlQb7Uoj1kKyGhlkBf9aC",
"url": "https://open.spotify.com/track/2LlQb7Uoj1kKyGhlkBf9aC",
"name": "Thriller",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 358807,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "3BovdzfaX4jb5KFQwoPfAw",
"url": "https://open.spotify.com/track/3BovdzfaX4jb5KFQwoPfAw",
"name": "Beat It",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 258296,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "7J1uxwnxfQLu4APicE5Rnj",
"url": "https://open.spotify.com/track/7J1uxwnxfQLu4APicE5Rnj",
"name": "Billie Jean",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 293802,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "4cgjA7B4fJBHyB9Ya2bu0t",
"url": "https://open.spotify.com/track/4cgjA7B4fJBHyB9Ya2bu0t",
"name": "Human Nature",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 245837,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "1CgmY8fVN7kstVDZmsdM5k",
"url": "https://open.spotify.com/track/1CgmY8fVN7kstVDZmsdM5k",
"name": "P.Y.T. (Pretty Young Thing)",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 238333,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
},
{
"id": "07L1pzoVerhRSSaDGZHrKy",
"url": "https://open.spotify.com/track/07L1pzoVerhRSSaDGZHrKy",
"name": "The Lady in My Life",
"artists": [
{
"id": "3fMbdgg4jU18AjLCKBhRSm",
"name": "Michael Jackson"
}
],
"durationMs": 298251,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27332a7d87248d1b75463483df5",
"playable": true
}
]
}
}
curl --location --request POST 'https://zylalabs.com/api/14624/music+album+and+playlist+tracks+api/37586/spotify+album+to+mp3?url=https://open.spotify.com/album/2ANVost0y2y52ema1E9xAZ' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://open.spotify.com/album/2ANVost0y2y52ema1E9xAZ",
"page": 1,
"size": 40
}'
{
"code": 200,
"codeMsg": "success",
"data": {
"type": "playlist",
"id": "37i9dQZF1E35w1blCGl9fw",
"url": "https://open.spotify.com/playlist/37i9dQZF1E35w1blCGl9fw",
"name": "Daily Mix 1",
"description": "makko, Maroon 5, The Chainsmokers and more",
"owner": {
"name": "Spotify",
"id": "spotify"
},
"followers": 0,
"collaborative": false,
"shareUrl": "https://open.spotify.com/playlist/37i9dQZF1E35w1blCGl9fw?si=Q9y2QQzOR_egCdzcSfd5hw",
"imageUrl": "https://pickasso.spotifycdn.com/image/ab67c0de0000deef/dt/v1/img/daily/1/ab6761610000e5eba3e7233b6b2cdca73ec4a00c/en",
"totalTracks": 50,
"pagination": {
"page": 1,
"size": 40,
"total": 50,
"totalPages": 2,
"hasMore": true
},
"tracks": [
{
"id": "4gbVRS8gloEluzf0GzDOFc",
"url": "https://open.spotify.com/track/4gbVRS8gloEluzf0GzDOFc",
"name": "Maps",
"artists": [
{
"id": "04gDigrS5kc9YWfZHwBETP",
"name": "Maroon 5"
}
],
"durationMs": 189960,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273442b53773d50e1b5369bb16c",
"playable": true
},
{
"id": "4cktbXiXOapiLBMprHFErI",
"url": "https://open.spotify.com/track/4cktbXiXOapiLBMprHFErI",
"name": "Memories",
"artists": [
{
"id": "04gDigrS5kc9YWfZHwBETP",
"name": "Maroon 5"
}
],
"durationMs": 189486,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b27386a8ab515de4b7aef28cd631",
"playable": true
},
{
"id": "7BKLCZ1jbUBVqRi2FVlTVw",
"url": "https://open.spotify.com/track/7BKLCZ1jbUBVqRi2FVlTVw",
"name": "Closer",
"artists": [
{
"id": "69GGBxA162lTqCwzJG5jLp",
"name": "The Chainsmokers"
},
{
"id": "26VFTg2z8YR0cCuwLzESi2",
"name": "Halsey"
}
],
"durationMs": 244960,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273495ce6da9aeb159e94eaa453",
"playable": true
},
{
"id": "2tpWsVSb9UEmDRxAl1zhX1",
"url": "https://open.spotify.com/track/2tpWsVSb9UEmDRxAl1zhX1",
"name": "Counting Stars",
"artists": [
{
"id": "5Pwc4xIPtQLFEnJriah9YJ",
"name": "OneRepublic"
}
],
"durationMs": 257265,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b2739e2f95ae77cf436017ada9cb",
"playable": true
},
{
"id": "5jsw9uXEGuKyJzs0boZ1bT",
"url": "https://open.spotify.com/track/5jsw9uXEGuKyJzs0boZ1bT",
"name": "Stitches",
"artists": [
{
"id": "7n2wHs1TKAczGzO7Dd2rGr",
"name": "Shawn Mendes"
}
],
"durationMs": 206880,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273d26246b23c8bfa8ce543b3bb",
"playable": true
},
{
"id": "21jGcNKet2qwijlDFuPiPb",
"url": "https://open.spotify.com/track/21jGcNKet2qwijlDFuPiPb",
"name": "Circles",
"artists": [
{
"id": "246dkjvS1zLTtiykXe5h60",
"name": "Post Malone"
}
],
"durationMs": 215280,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b2739478c87599550dd73bfa7e02",
"playable": true
},
{
"id": "567e29TDzLwZwfDuEpGTwo",
"url": "https://open.spotify.com/track/567e29TDzLwZwfDuEpGTwo",
"name": "STAY (with Justin Bieber)",
"artists": [
{
"id": "2tIP7SsRs7vjIcLrU85W8J",
"name": "The Kid LAROI"
},
{
"id": "1uNFoZAHBGtllmzznpCI3s",
"name": "Justin Bieber"
}
],
"durationMs": 141805,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273b4d59e6fa7e5e7cbc57ac33a",
"playable": true
},
{
"id": "3USxtqRwSYz57Ewm6wWRMp",
"url": "https://open.spotify.com/track/3USxtqRwSYz57Ewm6wWRMp",
"name": "Heat Waves",
"artists": [
{
"id": "4yvcSjfu4PC0CYQyLy4wSq",
"name": "Glass Animals"
}
],
"durationMs": 238805,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273712701c5e263efc8726b1464",
"playable": true
},
{
"id": "5Hroj5K7vLpIG4FNCRIjbP",
"url": "https://open.spotify.com/track/5Hroj5K7vLpIG4FNCRIjbP",
"name": "Best Day Of My Life",
"artists": [
{
"id": "0MlOPi3zIDMVrfA9R04Fe3",
"name": "American Authors"
}
],
"durationMs": 194240,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273cc761ba55b0e7abad4539abe",
"playable": true
},
{
"id": "0lYBSQXN6rCTvUZvg9S0lU",
"url": "https://open.spotify.com/track/0lYBSQXN6rCTvUZvg9S0lU",
"name": "Let Me Love You",
"artists": [
{
"id": "540vIaP2JwjQb9dm3aArA4",
"name": "DJ Snake"
},
{
"id": "1uNFoZAHBGtllmzznpCI3s",
"name": "Justin Bieber"
}
],
"durationMs": 205946,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273212d776c31027c511f0ee3bc",
"playable": true
},
{
"id": "2P4OICZRVAQcYAV2JReRfj",
"url": "https://open.spotify.com/track/2P4OICZRVAQcYAV2JReRfj",
"name": "Waiting For Love",
"artists": [
{
"id": "1vCWHaC5f2uS3yhpwWbIA6",
"name": "Avicii"
}
],
"durationMs": 230613,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b2735393c5d3cac806092a9bc468",
"playable": true
},
{
"id": "7JJmb5XwzOO8jgpou264Ml",
"url": "https://open.spotify.com/track/7JJmb5XwzOO8jgpou264Ml",
"name": "There's Nothing Holdin' Me Back",
"artists": [
{
"id": "7n2wHs1TKAczGzO7Dd2rGr",
"name": "Shawn Mendes"
}
],
"durationMs": 199440,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273ea3ef7697cfd5705b8f47521",
"playable": true
},
{
"id": "6RUKPb4LETWmmr3iAEQktW",
"url": "https://open.spotify.com/track/6RUKPb4LETWmmr3iAEQktW",
"name": "Something Just Like This",
"artists": [
{
"id": "69GGBxA162lTqCwzJG5jLp",
"name": "The Chainsmokers"
},
{
"id": "4gzpq5DPGxSnKTe4SA8HAU",
"name": "Coldplay"
}
],
"durationMs": 247160,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b2730c13d3d5a503c84fcc60ae94",
"playable": true
},
{
"id": "1XGmzt0PVuFgQYYnV2It7A",
"url": "https://open.spotify.com/track/1XGmzt0PVuFgQYYnV2It7A",
"name": "Payphone",
"artists": [
{
"id": "04gDigrS5kc9YWfZHwBETP",
"name": "Maroon 5"
},
{
"id": "137W8MRPWKqSmrBGDBFSop",
"name": "Wiz Khalifa"
}
],
"durationMs": 231173,
"coverUrl": "https://i.scdn.co/image/ab67616d0000b273fc8633e22a7dba6aab817bff",
"playable": true
}
]
},
"_note": "Response truncated for documentation purposes"
}
curl --location --request POST 'https://zylalabs.com/api/14624/music+album+and+playlist+tracks+api/37587/spotify+playlist+to+mp3?url=https://open.spotify.com/playlist/37i9dQZF1E35w1blCGl9fw' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://open.spotify.com/playlist/37i9dQZF1E35w1blCGl9fw",
"page": 1,
"size": 40
}'
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 Music Album and Playlist Tracks 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.
Each endpoint returns metadata for either a Spotify album or playlist, including details like the title, release date, and artist information, along with a paginated list of tracks. Each track entry includes its name and a URL for further actions, such as MP3 conversion.
Key fields in the response include "type" (album or playlist), "id," "url," "name," "releaseDate," "artists," "totalTracks," and "tracks." Each track entry contains "id," "url," and "name," providing essential information for users.
The response data is structured in a JSON format, with a top-level "data" object containing metadata and a "tracks" array. Each track object within the array includes relevant details, allowing for easy access and manipulation of track information.
Each endpoint provides information about the album or playlist, including its title, description, owner, total tracks, and a list of tracks with their respective URLs. This allows users to gather comprehensive details about the music collection.
The primary parameter for both endpoints is the Spotify URL of the album or playlist. Users must provide a valid URL to retrieve the corresponding metadata and track list. No additional parameters are specified for customization.
Users can utilize the returned data to display album or playlist information in applications, create music libraries, or facilitate MP3 downloads by using the track URLs provided. The pagination feature allows for handling large collections efficiently.
Typical use cases include building music applications that display album or playlist details, creating music recommendation systems, and enabling users to download tracks for offline listening through MP3 conversion.
Data accuracy is maintained by sourcing information directly from Spotify's API, ensuring that the metadata and track details are up-to-date and reliable. Regular updates from Spotify help maintain the quality of the data provided.
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