# Last.fm User API

**Canonical:** https://apis.io/apis/lastfm/lastfm-user-api/  
**Provider:** Last.fm — https://apis.io/providers/lastfm/  
**Base URL:** https://ws.audioscrobbler.com/2.0  
**Documentation:** https://www.last.fm/api

Last.fm User API is one of 9 APIs that [Last.fm](https://apis.io/providers/lastfm/) publishes on the [APIs.io](https://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.

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

## Machine-readable artifacts (24)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/openapi/lastfm-user-api-openapi.yml
- **Documentation** — https://www.last.fm/api
- **GettingStarted** — https://www.last.fm/api/intro
- **APIReference** — https://www.last.fm/api/intro
- **Authentication** — https://www.last.fm/api/authentication
- **Signup** — https://www.last.fm/api/account/create
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/rate-limits/lastfm-rate-limits.yml
- **TermsOfService** — https://www.last.fm/api/tos
- **ErrorCodes** — https://www.last.fm/api/errorcodes
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-schema/lastfm-album-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-schema/lastfm-artist-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-schema/lastfm-track-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-schema/lastfm-tag-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-schema/lastfm-user-schema.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-structure/lastfm-album-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-structure/lastfm-artist-structure.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-structure/lastfm-track-structure.json
- **JSONLD** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/json-ld/lastfm-context.jsonld
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-album-getinfo-example.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-artist-getinfo-example.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-track-getinfo-example.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-chart-gettopartists-example.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-user-getrecenttracks-example.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/lastfm/refs/heads/main/examples/lastfm-track-scrobble-example.json

## Other Last.fm APIs (8)

- [Last.fm Album API](https://apis.io/apis/lastfm/lastfm-album-api/)
- [Last.fm Artist API](https://apis.io/apis/lastfm/lastfm-artist-api/)
- [Last.fm Auth API](https://apis.io/apis/lastfm/lastfm-auth-api/)
- [Last.fm Chart API](https://apis.io/apis/lastfm/lastfm-chart-api/)
- [Last.fm Geo API](https://apis.io/apis/lastfm/lastfm-geo-api/)
- [Last.fm Library API](https://apis.io/apis/lastfm/lastfm-library-api/)
- [Last.fm Tag API](https://apis.io/apis/lastfm/lastfm-tag-api/)
- [Last.fm Track API](https://apis.io/apis/lastfm/lastfm-track-api/)

## Tags

User

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/lastfm/lastfm-user-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/lastfm/.
