LastFm

FREE
By dimashirokov
Updated 9 months ago
Music
0.4/10
Popularity Score
59765ms
Latency
-
Success Rate

LastFm API Documentation

Get top artists, tracks and users from online radio.

View API Details
POSTgetAlbumInfo
POSTgetAlbumTags
POSTgetArtistCorrection
POSTgetArtistInfo
POSTgetArtistTags
POSTgetSession
POSTgetSimilarArtists
POSTgetSimilarTags
POSTgetSimilarTracks
POSTgetTagInfo
POSTgetTagTopAlbums
POSTgetTagTopArtists
POSTgetTopAlbumTags
POSTgetTopArtistAlbums
POSTgetTopArtistTags
POSTgetTopArtistTracks
POSTgetTopArtistsByCountry
POSTgetTopArtistsChart
POSTgetTopTagTracks
POSTgetTopTags
POSTgetTopTagsChart
POSTgetTopTrackTags
POSTgetTopTracksByCountry
POSTgetTopTracksChart
POSTgetTrackCorrection
POSTgetTrackInfo
POSTgetTrackTags
POSTgetUserArtistTracks
POSTgetUserArtists
POSTgetUserFriends
POSTgetUserInfo
POSTgetUserLovedTracks
POSTgetUserPersonalTags
POSTgetUserRecentTracks
POSTgetUserTopAlbums
POSTgetUserTopArtists
POSTgetUserTopTags
POSTgetUserTopTracks
POSTgetUserWeeklyAlbumChart
POSTgetUserWeeklyArtistChart
POSTgetUserWeeklyChartList
POSTgetUserWeeklyTrackChart
POSTgetWeeklyTagChartList
POSTloveTrack
POSTscrobbleSingleTrack
POSTscrobbleTracks
POSTsearchAlbum
POSTsearchArtist
POSTsearchTracks
POSTtagAlbum
POSTtagArtist
POSTtagTrack
POSTunloveTrack
POSTuntagAlbum
POSTuntagArtist
POSTuntagTrack
POSTupdateNowPlayingTrack
POSTupdateNowPlayingTrack

Used to notify Last.fm that a user has started listening to a track. Parameter names are case sensitive.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
secretKeyCREDENTIALS
REQUIREDA Last.fm shared secret key.
artistSTRING
REQUIREDThe artist name.
trackSTRING
REQUIREDThe track name.
sessionKeySTRING
REQUIREDA session key generated by authenticating a user via the authentication protocol.
apiKeyCREDENTIALS
REQUIREDA Last.fm API key.
Optional Parameters
albumArtistSTRING
OPTIONALThe album artist - if this differs from the track artist.
trackNumberSTRING
OPTIONALThe track number of the track on the album.
contextSTRING
OPTIONALSub-client version (not public, only enabled for certain API keys)
albumSTRING
OPTIONALThe album name.
mbidSTRING
OPTIONALThe MusicBrainz Track ID.
durationSTRING
OPTIONALThe length of the track in seconds.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication