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
POSTscrobbleSingleTrack

Scrobble a track.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
artistSTRING
REQUIREDThe artist name.
secretKeyCREDENTIALS
REQUIREDA Last.fm shared secret key.
timestampDATEPICKER
REQUIREDThe time the track started playing, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.
sessionKeySTRING
REQUIREDA session key generated by authenticating a user via the authentication protocol.
trackSTRING
REQUIREDThe track name.
apiKeyCREDENTIALS
REQUIREDA Last.fm API key.
Optional Parameters
contextSTRING
OPTIONALSub-client version (not public, only enabled for certain API keys)
mbidSTRING
OPTIONALThe MusicBrainz Track ID.
chosenByUserSTRING
OPTIONALSet to 1 if the user chose this song, or 0 if the song was chosen by someone else (such as a radio station or recommendation service). Assumes 1 if not specified
durationSTRING
OPTIONALThe length of the track in seconds.
trackNumberSTRING
OPTIONALThe track number of the track on the album.
albumArtistSTRING
OPTIONALThe album artist - if this differs from the track artist.
streamIdSTRING
OPTIONALThe stream id for this track received from the radio.getPlaylist service, if scrobbling Last.fm radio
albumSTRING
OPTIONALThe album name.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication