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

User profile, friends, listening history, top entities, and weekly charts.

Last.fm User 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 User. 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 14 operations across 14 paths, and defines 20 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.

14 operations 14 paths 20 schemas 14 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 User 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 14

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

User 14

User profile, friends, listening history, top entities, and weekly charts.

GET
/
Invoke A Read Method
invokeReadMethod 16 params → 200400403429
GET
/?method=user.getFriends
Get User Friends
userGetFriends 6 params → 200
GET
/?method=user.getInfo
Get User Info
userGetInfo 3 params → 200
GET
/?method=user.getLovedTracks
Get Loved Tracks
userGetLovedTracks 5 params → 200
GET
/?method=user.getPersonalTags
Get Personal Tags
userGetPersonalTags 7 params → 200
GET
/?method=user.getRecentTracks
Get Recent Tracks
userGetRecentTracks 8 params → 200
GET
/?method=user.getTopAlbums
Get User Top Albums
userGetTopAlbums 6 params → 200
GET
/?method=user.getTopArtists
Get User Top Artists
userGetTopArtists 6 params → 200
GET
/?method=user.getTopTags
Get User Top Tags
userGetTopTags 4 params → 200
GET
/?method=user.getTopTracks
Get User Top Tracks
userGetTopTracks 6 params → 200
GET
/?method=user.getWeeklyAlbumChart
Get Weekly Album Chart
userGetWeeklyAlbumChart 5 params → 200
GET
/?method=user.getWeeklyArtistChart
Get Weekly Artist Chart
userGetWeeklyArtistChart 5 params → 200
GET
/?method=user.getWeeklyChartList
Get Weekly Chart List
userGetWeeklyChartList 3 params → 200
GET
/?method=user.getWeeklyTrackChart
Get Weekly Track Chart
userGetWeeklyTrackChart 5 params → 200

Schemas 20

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

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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lastfm-user-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 Library API
Last.fm Tag API
Last.fm Track API
Where this information came from

This is an independent, third-party profile of Last.fm User 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.