LastFm

FREE
By dimashirokov
Updated 9 months ago
Music
0.3/10
Popularity Score
59489ms
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
POSTgetUserRecentTracks

Get a list of the recent tracks listened to by this user. Also includes the currently playing track with the nowplaying=true attribute if the user is currently listening.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
userSTRING
REQUIREDThe last.fm username to fetch the recent tracks of.
apiKeyCREDENTIALS
REQUIREDA Last.fm API key.
Optional Parameters
toDATEPICKER
OPTIONALEnd timestamp of a range - only display scrobbles before this time, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.
extendedSTRING
OPTIONALIncludes extended data in each artist, and whether or not the user has loved each track. Valid values `0` or `1`.
pageSTRING
OPTIONALThe page number to fetch. Defaults to first page.
fromDATEPICKER
OPTIONALBeginning timestamp of a range - only display scrobbles after this time, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication