Getting Started
Anyone is free to use the Last.fm API. Here's what you need to get going:
The Last.fm API allows anyone to build their own programs using Last.fm data, whether they're on the web, the desktop or mobile devices. Find out more about how you can start exploring the social music playground or just browse the list of methods below.
Featured Applications
-
Genre Finder

Shows what 'Percentage' of a certain tag/genre a user is.
-
Squeezebox

Last.fm on your Squeezebox!
-
Global User Matchup Mashup

Which country are you? Match Last.fm users and countries to one another.
API Methods
Album
- Album.addTags
- Album.getBuylinks
- Album.getInfo
- Album.getTags
- Album.getTopTags
- Album.removeTag
- Album.search
- Album.share
Artist
- Artist.addTags
- Artist.getEvents
- Artist.getImages
- Artist.getInfo
- Artist.getPastEvents
- Artist.getPodcast
- Artist.getShouts
- Artist.getSimilar
- Artist.getTags
- Artist.getTopAlbums
- Artist.getTopFans
- Artist.getTopTags
- Artist.getTopTracks
- Artist.removeTag
- Artist.search
- Artist.share
- Artist.shout
Auth
Event
Geo
- Geo.getEvents
- Geo.getMetroArtistChart
- Geo.getMetroHypeArtistChart
- Geo.getMetroHypeTrackChart
- Geo.getMetroTrackChart
- Geo.getMetroUniqueArtistChart
- Geo.getMetroUniqueTrackChart
- Geo.getMetroWeeklyChartlist
- Geo.getMetros
- Geo.getTopArtists
- Geo.getTopTracks
Group
- Group.getHype
- Group.getMembers
- Group.getWeeklyAlbumChart
- Group.getWeeklyArtistChart
- Group.getWeeklyChartList
- Group.getWeeklyTrackChart
Library
- Library.addAlbum
- Library.addArtist
- Library.addTrack
- Library.getAlbums
- Library.getArtists
- Library.getTracks
Playlist
Radio
Tag
- Tag.getSimilar
- Tag.getTopAlbums
- Tag.getTopArtists
- Tag.getTopTags
- Tag.getTopTracks
- Tag.getWeeklyArtistChart
- Tag.getWeeklyChartList
- Tag.search
Tasteometer
Track
- Track.addTags
- Track.ban
- Track.getBuylinks
- Track.getFingerprintMetadata
- Track.getInfo
- Track.getSimilar
- Track.getTags
- Track.getTopFans
- Track.getTopTags
- Track.love
- Track.removeTag
- Track.search
- Track.share
User
- User.getArtistTracks
- User.getEvents
- User.getFriends
- User.getInfo
- User.getLovedTracks
- User.getNeighbours
- User.getPastEvents
- User.getPlaylists
- User.getRecentStations
- User.getRecentTracks
- User.getRecommendedArtists
- User.getRecommendedEvents
- User.getShouts
- User.getTopAlbums
- User.getTopArtists
- User.getTopTags
- User.getTopTracks
- User.getWeeklyAlbumChart
- User.getWeeklyArtistChart
- User.getWeeklyChartList
- User.getWeeklyTrackChart
- User.shout