Last.fm Web Services

user.getNewReleases

Gets a list of forthcoming releases based on a user's musical taste.

Example URLs

To get an example URL for this API call you'll first need to join Last.fm and then get an API account.

Params

user (Required) : The Last.fm username.
userecs (Optional) : 0 or 1. If 1, the feed contains new releases based on Last.fm's artist recommendations for this user. Otherwise, it is based on their library (the default).
api_key (Required) : A Last.fm API key.

Auth

This service does not require authentication.

Sample Response

<albums user="RJ">
  <album releasedate="Mon, 15 Nov 2010 00:00:00 +0000">
    <name>Darkness On The Edge Of Town (2010 Remastered Version)</name>
    <mbid/>
    <url>http://www.last.fm/music/Bruce+Springsteen/Darkness+On+The+Edge+Of+Town+%282010+Remastered+Version%29</url>−
    <artist>
      <name>Bruce Springsteen</name>
      <mbid>70248960-cb53-4ea4-943a-edb18f7d336f</mbid>
      <url>http://www.last.fm/music/Bruce+Springsteen</url>
    </artist>
    <image size="small">http://userserve-ak.last.fm/serve/34s/54475249.jpg</image>
    <image size="medium">http://userserve-ak.last.fm/serve/64s/54475249.jpg</image>
    <image size="large">http://userserve-ak.last.fm/serve/126/54475249.jpg</image>
    <image size="extralarge">http://userserve-ak.last.fm/serve/300x300/54475249.jpg</image>
  </album>
  ...
</albums>

Other Formats

Also available as a feed in rss format

e.g. http://ws.audioscrobbler.com

Errors

  • 2 : Invalid service - This service does not exist
  • 3 : Invalid Method - No method with that name in this package
  • 4 : Authentication Failed - You do not have permissions to access the service
  • 5 : Invalid format - This service doesn't exist in that format
  • 6 : Invalid parameters - Your request is missing a required parameter
  • 7 : Invalid resource specified
  • 8 : Operation failed - Something else went wrong
  • 9 : Invalid session key - Please re-authenticate
  • 10 : Invalid API key - You must be granted a valid key by last.fm
  • 11 : Service Offline - This service is temporarily offline. Try again later.
  • 13 : Invalid method signature supplied
  • 16 : There was a temporary error processing your request. Please try again
  • 26 : Suspended API key - Access for your account has been suspended, please contact Last.fm
  • 29 : Rate limit exceeded - Your IP has made too many requests in a short period