How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Last.fm Auth API

Token, session, and mobile session acquisition for authenticated calls.

Last.fm Auth API is one of 9 APIs that Last.fm publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, an API reference, authentication docs, rate-limit docs, and 8 JSON Schemas.

This API exposes 4 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against 2 base URLs: https://ws.audioscrobbler.com/2.0, http://ws.audioscrobbler.com/2.0.

4 operations 4 paths 4 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://ws.audioscrobbler.com/2.0
Authentication
API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

Last.fm Auth API declares 2 security schemes for authenticating requests. An API key is passed in the query as api_key (ApiKeyAuth). An API key is passed in the query as api_sig (SignedAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Required on all calls. Obtain from https://www.last.fm/api/account/create.
  • SignedAuth — MD5 signature of all request parameters (excluding format and callback) sorted alphabetically by name, concatenated as name+value pairs, with the shared secret…

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Auth 4

Token, session, and mobile session acquisition for authenticated calls.

POST
/
Invoke A Write Method
invokeWriteMethod body → 200400403429
POST
/?method=auth.getMobileSession
Get Mobile Session
authGetMobileSession body → 200
GET
/?method=auth.getSession
Get Web Session
authGetSession 4 params → 200
GET
/?method=auth.getToken
Get Auth Token
authGetToken 2 params → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are WriteRequestBody (4 properties), ErrorPayload (2 properties), SessionResponse (1 property), WriteResponse (1 property). Each schema is shown below with its type and property counts.

WriteResponse
object
1 property
SessionResponse
object
1 property
ErrorPayload
object
2 properties
WriteRequestBody
object
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lastfm-auth-api-openapi.yml Raw ↑

Other APIs Last.fm publishes across the network.

Last.fm Album API
Last.fm Artist API
Last.fm Chart API
Last.fm Geo API
Last.fm Library API
Last.fm Tag API
Last.fm Track API
Last.fm User API
Where this information came from

This is an independent, third-party profile of Last.fm Auth API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.