API Doc

API Methods

Last.fm Web Service Extensions

Overview

The Last.fm API Extensions service lets you run Last.fm's API web services and return the results in a variety of data formats such as JSON, JSONP, and Serialized PHP. The service also works to enhance returned data with more information or provide services that don't yet exist (e.g. unauthenticated radio sessions, or other popularly requested calls). The service runs off of Google's App Engine. It is made to be as transparent and uniform as possible with the actual API.

Note: The Last.fm API Extensions service is not run by, associated with, or officially supported by Last.fm so please do not contact their staff members with questions about this service.

The API root URL is located at http://lastfm-api-ext.appspot.com/2.0/

API calls are made in the same manner as documented on the Last.fm API page., with the addition of passing one more parameter, "outtype" specifying the data output type (defaulting to XML).

e.g. http://lastfm-api-ext.appspot.com/2.0/?method=artist.getinfo&outtype=json&api_key=b25b959554ed76058ac220b7b2e0a026&artist=Cher

Outputs Artist Info in JSON.

Supported Response Formats

Unless otherwise noted on the docs page for a specific method, the output data formats available for API calls are:

Changes