Last.fm Shifts Its Music API into Overdrive

Kevin Farnham
Jul. 15 2008, 12:25AM EDT

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.

Kevin Farnham

Comments

Comments(1)

User HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

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