Last.fm Shifts Its Music API into Overdrive

Kevin Farnham, July 15th, 2008

Last.fm has announced a major upgrade to their API. Last.fm API 2.0 is replacing Last.fm’s original API, which is now considered legacy.

Last.fm’s API is one of the most popular of all music APIs, with over 60 mashups having already been developed using the original API. The methods in the original API will continue to be supported, but this version offers significant new capabilities that will enable much deeper integration of applications with the Last.fm platform. As their announcement notes:

Our vision is the most comprehensive social music API on the web, and today marks a big step forward in that direction.

New features in API 2.0 include:

  • user authentication protocol, enabling creation of user sessions
  • write services: authenticated users can create and update their Last.fm content
  • mobile device support
  • new read/write tagging methods
  • new search, playlist, and event capability
  • enhanced geographical capability, enabling retrieval of events for a particular location

In terms of structure and protocol, the new API 2.0 maintains consistency with the original API: REST and XML-RPC requests are supported. Data is typically returned in XML format, with some methods offering additional format options (for example, you can retrieve geo.getEvents data in XML, RSS, or iCAL format).

One thing that hasn’t changed is the depth and clarity of the Last.fm API documentation. Each method is thoroughly described, and illustrated using example return data.

In addition to the popular Last.fm mashups listed here including TuneGlue, show below from our TuneGlue profile, a slick interactive visualization of the relationship between music artists using the Last.fm and Amazon.com.uk APIs. You can find more Last.fm applications on the build.last.fm site.


ReadWriteWeb’s Sarah Perez has more on the release.

Keep track of music-related APIs at our Music API and Mashup Dashboard.

Both comments and pings are currently closed.

One Response to “Last.fm Shifts Its Music API into Overdrive”

July 15th, 2008
at 6:12 am
Comment by: last.fm mit neuem API - Code Candies

[...] In der neuen Version bleiben die Funktionen des alten API erhalten, es wird fürderhin auf REST bzw. XML-RPC gesetzt. Zusammengefasst: rosige Zeiten für last.fm-Nutzer, und natürlich für last.fm, denn wenn das alles so funktioniert, wird man seine Marktführungsposition noch weiter ausbauen können. [via] [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.