Playing via Spotify Playing via YouTube
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

# Playlists API

DEPRECATED

This functionality is no longer supported. Documentation exists for reference only.

Last.fm playlists do not contain streaming content.

# Fetching Last.fm Playlists

Use the playlist.fetch method call to fetch XSPF playlists. XSPF is a web standard for sharable playlists, and XSPF libraries are available in several languages. playlist.fetch takes a `lastfm' protocol URL as an argument; this identifies the playlist you're requesting. The following protocol url schemes are currently supported:

  • Album Playlists lastfm://playlist/album/<album_id>
  • User Playlists lastfm://playlist/<playlist_id>
  • Tag Playlists lastfm://playlist/tag/<tag_name>/freetracks

# Playback

If you'd like to add play links to your playlist you can link to the Last.fm track page (which will be present in the XSPF extension node), appending '?autostart' to the URL.

API Calls