Jamendo Api Documentation
GET /v3.0/albums
Description
Since February 2021, a new field 'zip_allowed' is returned in this api.
It contains a boolean to know if you can propose or not the possibility to download the album through your application.
Indeed, now Jamendo artists can choose if they want to allow or not the download of their tracks.
If you are already using this api, please take time to modify your code to take into account this new 'zip_allowed' value.
Moreover, in April 2022, the content of the field 'zip' returned in this api will become an empty string if 'zip_allowed' is false.
This method select and filter album entities, returning the main fields concerning albums. The 'zip' field shows the url to be used for getting the album's tracks in high quality mp3, contained in a zip. You can directly download such zip also using the albums/file api.
Albums have represented for long time the central-entity of Jamendo music and the world of music itself. The focus hass naturally shitfted to tracks and the Jamendo Api v3 are clearly reflecting it, but album still represent an important musical entity in our api.
Take into account that starting from 2015, artists can upload to our website also tracks not belonging to any almbum. We call such kind of tracks as singles, and they are available through the tracks api.
Required parameters
client_id
Parameter List
Name | Type | Description |
---|---|---|
client_id | string | A Client Id provided by devportal.jamendo.com. |
format | enum: {xml, json, jsonpretty} | The results formatting type |
callback | string | Use this parameter to have the response json wrapped in a callback function (jsonp technique). Such feature is enable only for json format and GET requests; if used in combination with other formats or a not-get request, the callback parameter is simply ignored and a warning is raised |
offset | integer | The position to start returning results from |
limit | string | The max number of results to return. Default is 10 and Max is 200. Using the keyword 'all' still a max of 200 rows will be returned |
order | []enum: {name, id, releasedate, artist_id, artist_name, popularity_total, popularity_month, popularity_week} | Sort results by the queried field(s). You can specify whether to follow an ascending or descending order adding the suffix _asc or _desc to every field (order=field_asc). Asc is the default one. All rating orders (such as "popularity_total") follow a more specific norm: they use "desc" as default and will forcedly use "desc" even if you requested an "asc". |
fullcount | boolean | Setting this parameter to true, the document header will be enriched with the 'results_fullcount' value, that is, the absolute number of rows the query would return if there was no limit and offset parameter. This value is of course very useful for pagination, but please: use it only if you really need it, as it affects performances! For this performance reasons such parameter is not available in most heavy methods. |
id | []integer | One or more album id |
name | string | An album name |
namesearch | string | Search an album by name (album_name matching *seachquery*) |
artist_id | []string | One or more artist id |
artist_name | string | An artist name |
datebetween | string | Released between dates. This parameter need a value to be used for a between closed interval. The "from" and "to" parts are both mandatory, must be separated by an underscore ("_"), and must be both in the yyyy-mm-dd format |
imagesize | enum: {25, 35, 50, 55, 60, 65, 70, 75, 85, 100, 130, 150, 200, 300, 400, 500, 600} | The cover size in pixel (if not specified, a default one will be returned) |
audioformat | enum: {mp32} | The audio format you wish to use on the fileurl returned field. At the moment mp32 (mp3 192kbps) is the only existing format. |
Sample
Call:
https://api.jamendo.com/v3.0/albums/?client_id=your_client_id&format=jsonpretty&artist_name=we+are+fm
Response:
{ "headers":{ "status":"success", "code":0, "error_message":"", "warnings":"", "results_count":2 }, "results":[ { "id":"104336", "name":"Season One", "releasedate":"2011-12-29", "artist_id":"376782", "artist_name":"WE ARE FM", "image":"https:\/\/usercontent.jamendo.com?type=album&id=104336&width=300", "zip":"https:\/\/storage.jamendo.com\/download\/a104336\/mp32\/", "shorturl":"https:\/\/jamen.do\/l\/a104336", "shareurl":"https:\/\/www.jamendo.com\/list\/a104336", "zip_allowed":true }, { "id":"124067", "name":"Season One: Instrumental", "releasedate":"2013-08-01", "artist_id":"376782", "artist_name":"WE ARE FM", "image":"https:\/\/usercontent.jamendo.com?type=album&id=124067&width=300", "zip":"https:\/\/storage.jamendo.com\/download\/a124067\/mp32\/", "shorturl":"https:\/\/jamen.do\/l\/a124067", "shareurl":"https:\/\/www.jamendo.com\/list\/a124067", "zip_allowed":true } ] }