API Doc

API Methods

User Authentication

The authentication API provides third-parties with a secure means of creating Last.fm user sessions over the Last.fm API, for deeper integration with our platform. All write services require authentication.

1. Get an API Key

You will need to apply for a key before authenticating with the API.

2. Configure Your API Account

Head over to your api account page to configure your account. You need to supply an application name, along with a description and an optional logo. Your account page contains your API key and secret.

3. Choose your authentication path

In some cases, you may want to choose a different authentication path from the obvious (e.g. a mobile app could well use the desktop path if there's a web browser on the device). If in doubt, check them all out.

4. Authentication Spec

See the full authentication API specification for an overview of the API.