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 Library API

A user's scrobbled artist library.

Last.fm Library 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 Library. 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 2 operations across 2 paths, and defines 16 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.

2 operations 2 paths 16 schemas 2 GET

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 Library 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 2

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

Library 2

A user's scrobbled artist library.

GET
/
Invoke A Read Method
invokeReadMethod 16 params → 200400403429
GET
/?method=library.getArtists
Get Library Artists
libraryGetArtists 5 params → 200

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are Track (14 properties), UserProfile (12 properties), Artist (10 properties), Album (10 properties). Each schema is shown below with its type and property counts.

Artist
object
10 properties
SearchResponse
object
1 property
Image
object
2 properties
ChartResponse
object
1 property
AlbumInfoResponse
object
1 property
ArtistInfoResponse
object
1 property
Track
object
14 properties
TrackInfoResponse
object
1 property
Tag
object
3 properties
UserProfile
object
12 properties
Wiki
object
3 properties
GeoResponse
object
1 property
Album
object
10 properties
UserInfoResponse
object
1 property
ErrorPayload
object
2 properties
TagInfoResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lastfm-library-api-openapi.yml Raw ↑

Other APIs Last.fm publishes across the network.

Last.fm Album API
Last.fm Artist API
Last.fm Auth API
Last.fm Chart API
Last.fm Geo 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 Library 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.