{
"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
}'
Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Álbum de Música y Pistas de Lista de Reproducción API simplemente incluye tu token de portador en el encabezado de Autorización.
| Encabezado | Descripción |
|---|---|
Autorización
|
Requerido
Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.
|
Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento. La Prueba Gratuita incluye hasta 50 solicitudes.
Cada punto final devuelve metadatos para un álbum o lista de reproducción de Spotify, incluidos detalles como el título, la fecha de lanzamiento y la información del artista, junto con una lista paginada de pistas. Cada entrada de pista incluye su nombre y una URL para acciones adicionales, como la conversión a MP3
Los campos clave en la respuesta incluyen "tipo" (álbum o lista de reproducción) "id" "url" "nombre" "fechaDeLanzamiento" "artistas" "totalDePistas" y "pistas" Cada entrada de pista contiene "id" "url" y "nombre" proporcionando información esencial para los usuarios
Los datos de respuesta están estructurados en un formato JSON con un objeto "data" de nivel superior que contiene metadatos y un arreglo de "tracks" Cada objeto de pista dentro del arreglo incluye detalles relevantes permitiendo un acceso y manipulación fácil de la información de la pista
Cada punto final proporciona información sobre el álbum o la lista de reproducción, incluyendo su título, descripción, propietario, total de pistas y una lista de pistas con sus respectivas URL. Esto permite a los usuarios reunir detalles completos sobre la colección de música
El parámetro principal para ambos extremos es la URL de Spotify del álbum o lista de reproducción Los usuarios deben proporcionar una URL válida para recuperar los metadatos y la lista de pistas correspondientes No se especifican parámetros adicionales para la personalización
Los usuarios pueden utilizar los datos devueltos para mostrar información de álbumes o listas de reproducción en aplicaciones crear bibliotecas de música o facilitar descargas de MP3 utilizando las URL de las pistas proporcionadas La función de paginación permite manejar colecciones grandes de manera eficiente
Los casos de uso típicos incluyen la creación de aplicaciones de música que muestran detalles de álbumes o listas de reproducción la creación de sistemas de recomendación de música y la posibilidad de que los usuarios descarguen pistas para escucharlas sin conexión a través de la conversión a MP3
La precisión de los datos se mantiene al obtener información directamente de la API de Spotify asegurando que los metadatos y los detalles de las pistas estén actualizados y sean confiables Actualizaciones regulares de Spotify ayudan a mantener la calidad de los datos proporcionados