API Doc

API Methods

album.getInfo

Get the metadata for an album on Last.fm using the album name or a musicbrainz id. See playlist.fetch on how to get the album playlist.
Original docs: album.getInfo

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=user.getInfo&user=rj&api_key=b25b959554ed76058ac220b7b2e0a026&artist=Cher&album=Believe

Params

artist (Required) : The artist name in question.
album (Optional) : The album name in question.
mbid (Optional) : The musicbrainz id for the album.
api_key (Required) : A Last.fm API key
outtype : The data output format (js, json, php). Default is XML.
callback : Function name that will wrap the data if JSONP (outtype 'js') is used.

Sample Response (JSON Object Structure)

{
  "name": "Believe",
  "artist": "Cher",
  "id": "2026126",
  "mbid": "61bf0388-b8a9-48f4-81d1-7eb02706dfb0",
  "url": "http://www.last.fm/music/Cher/Believe",
  "releasedate": "6 Apr 1999, 00:00",
  "image_small": "...",
  "image_medium": "...",
  "image_large": "...",
  "listeners": 47602,
  "playcount": 212991
  "toptags": [{
      "name": "pop",
      "url": "http://www.last.fm/tag/pop"
  },
  ...
  ]
}