API Docs | Last.fm Playing via Spotify Playing via YouTube Playback options Listening on… Switch Spotify device Open in Spotify Web Player Change playback source Open on YouTube website Change playback source Previous Play Next Skip to YouTube video Loading player… Scrobble from Spotify? Connect your Spotify account to your Last.fm account and scrobble everything you listen to, from any Spotify app on any device or platform. Connect to Spotify Dismiss Last.fm SearchSearchSearch Toggle navigation Upgrade to Pro Live Music Charts Events Features Subscribe Join Login Upgrade to Pro Live Music Charts Events Features Join Login A new version of Last.fm is available, to keep everything running smoothly, please reload the site. Last.fm API Getting started API Guides Introduction Authentication Web How-To Mobile How-To Desktop How-To Auth Spec Scrobbling 2.0 Documentation Radio API Playlists API API Tools REST Requests XML-RPC Terms of Service API Methods album album.addTags album.getInfo album.getTags album.getTopTags album.removeTag album.search artist artist.addTags artist.getCorrection artist.getInfo artist.getSimilar artist.getTags artist.getTopAlbums artist.getTopTags artist.getTopTracks artist.removeTag artist.search auth auth.getMobileSession auth.getSession auth.getToken chart chart.getTopArtists chart.getTopTags chart.getTopTracks geo geo.getTopArtists geo.getTopTracks library library.getArtists tag tag.getInfo tag.getSimilar tag.getTopAlbums tag.getTopArtists tag.getTopTags tag.getTopTracks tag.getWeeklyChartList track track.addTags track.getCorrection track.getInfo track.getSimilar track.getTags track.getTopTags track.love track.removeTag track.scrobble track.search track.unlove track.updateNowPlaying user user.getFriends user.getInfo user.getLovedTracks user.getPersonalTags user.getRecentTracks user.getTopAlbums user.getTopArtists user.getTopTags user.getTopTracks user.getWeeklyAlbumChart user.getWeeklyArtistChart user.getWeeklyChartList user.getWeeklyTrackChart # album.getInfo Get the metadata and tracklist for an album on Last.fm using the album name or a musicbrainz id. # Example URLs JSON: /2.0/?method=album.getinfo&api_key=YOUR_API_KEY&artist=Cher&album=Believe&format=json XML: /2.0/?method=album.getinfo&api_key=YOUR_API_KEY&artist=Cher&album=Believe # Params artist (Required (unless mbid)] : The artist name album (Required (unless mbid)] : The album name mbid (Optional) : The musicbrainz id for the album autocorrect[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response. username (Optional) : The username for the context of the request. If supplied, the user's playcount for this album is included in the response. lang (Optional) : The language to return the biography in, expressed as an ISO 639 alpha-2 code. api_key (Required) : A Last.fm API key. # Auth This service does not require authentication. # Sample Response Believe Cher 2026126 61bf0388-b8a9-48f4-81d1-7eb02706dfb0 http://www.last.fm/music/Cher/Believe 6 Apr 1999, 00:00 ... ... ... 47602 212991 pop http://www.last.fm/tag/pop ... Believe 239 http://www.last.fm/music/Cher/_/Believe 1 Cher bfcc6d75-a6a5-4bc6-8282-47aec8531818 http://www.last.fm/music/Cher ... # Attributes duration : In seconds # 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 ← album.addTags album.getTags → Company About Last.fm Contact Us Jobs Help Track My Music Community Support Community Guidelines Help Goodies Download Scrobbler Developer API Free Music Downloads Merchandise Account Join Login Subscribe Follow Us Facebook Twitter Instagram YouTube Englishcurrent language Deutsch Español Français Italiano 日本語 Polski Português Русский Svenska Türkçe 简体中文 Time zone: America/New_York CBS Interactive © 2020 Last.fm Ltd. All rights reserved Terms of Use Privacy Policy Legal Policies California Privacy/Info We Collect California Do Not Sell My Info Jobs at CBSi Last.fm Music Audioscrobbler Let us know what you think of the Last.fm website. Leave feedback API Calls Close