Last.fm website screenshot

Last.fm

Last.fm is a music discovery and social listening platform that tracks users' listening habits across devices and services via scrobbling. The Last.fm API provides access to a rich music metadata database covering artist information, album data, track details, user listening history, personalized charts, and music recommendations. Developers can integrate scrobbling, retrieve top charts by geography or tag, explore similar artists and tracks, and access user profile data.

Last.fm publishes 1 API on the APIs.io network: Album API. Tagged areas include Music, Music Metadata, Scrobbling, Music Discovery, and Streaming.

The Last.fm catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Last.fm’s developer surface includes authentication, documentation, getting-started guide, engineering blog, pricing, and 13 more developer resources.

58.2/100 strong ▬ flat Agent 31/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
1 APIs 8 Features 6 Use Cases
MusicMusic MetadataScrobblingMusic DiscoveryStreaming

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 58.2/100 · strong
Contract Quality 18.0 / 25
Developer Ergonomics 7.4 / 20
Commercial Clarity 12.1 / 20
Operational Transparency 6.8 / 13
Governance 7.0 / 12
Discoverability 6.9 / 10
Agent readiness — 31/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/last-fm: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 1

Individual APIs this provider publishes, each with its own machine-readable definition.

Last.fm Album API

Methods for retrieving album metadata and managing album tags

Postman Collections 1

Ready-to-run Postman collections for exercising this provider's APIs.

Pricing Plans 1

Published pricing tiers and plan structures.

Last Fm Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Last Fm Rate Limits

3 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Features 8

Notable capabilities this provider offers.

Music Metadata

Comprehensive metadata for artists, albums, and tracks including biographies, images, tags, and similar items

Scrobbling

Track submission API (Scrobbling 2.0) for recording listening history from any client or device

User Listening History

Access recent tracks, loved tracks, top artists, albums, and tracks for any user

Music Charts

Global and geographic top artists and tracks, plus tag-based and weekly user charts

Music Discovery

Similar artist and track recommendations powered by Last.fm's social listening data

Artist and Track Search

Full-text search across the Last.fm music catalog for artists, albums, and tracks

Tag Exploration

Browse music by community-applied tags to discover themed playlists and artists

User Social Data

Access user friends, listening comparisons, and shared music taste data

Scroll for all 8

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Last Fm Context

32 classes · 1 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Last.fm API Rules

6 rules · 4 warnings 2 info

SPECTRAL

JSON Schema 3

Standalone JSON Schema definitions for this provider's data models.

Artist

10 properties

JSON SCHEMA

Scrobble

10 properties

JSON SCHEMA

Track

13 properties

JSON SCHEMA

Examples 3

Example request and response payloads for these APIs.

Artist Getinfo Response

1 fields

EXAMPLE

Track Scrobble Request

14 fields

EXAMPLE

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Last Fm Authentication

apiKey · 2 schemes

SECURITY

Last Fm Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Last Fm Agentic Access

2 operations · 1 acting

2 operations · 1 acting

AGENTIC

Use Cases 6

What developers build with this provider.

Music Player Scrobbling

Record tracks played in music apps to Last.fm user profiles for history and recommendations

Music Metadata Enrichment

Augment music catalogs with artist bios, album art, tags, and similar artist data

Personalized Charts

Display weekly, monthly, or all-time listening charts for users in applications

Music Discovery Features

Power recommendation engines with similar artist and track data from Last.fm

Social Listening

Show what friends are listening to and compare music tastes between users

Geographic Music Trends

Display top artists and tracks by country or region for localized music features

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 2

SDKs, sample code, and the tooling you integrate with

Access & Security 3

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 4

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: last-fm
url: https://raw.githubusercontent.com/api-evangelist/last-fm/refs/heads/main/apis.yml
name: Last.fm
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/last-fm.png
tags:
- Music
- Music Metadata
- Scrobbling
- Music Discovery
- Streaming
description: Last.fm is a music discovery and social listening platform that tracks users' listening habits across devices
  and services via scrobbling. The Last.fm API provides access to a rich music metadata database covering artist information,
  album data, track details, user listening history, personalized charts, and music recommendations. Developers can integrate
  scrobbling, retrieve top charts by geography or tag, explore similar artists and tracks, and access user profile data.
created: '2026-06-13'
modified: '2026-06-13'
specificationVersion: '0.19'
apis:
- aid: last-fm:last-fm-album-api
  name: Last.fm Album API
  description: Methods for retrieving album metadata and managing album tags
  humanURL: https://www.last.fm/api
  baseURL: https://ws.audioscrobbler.com/2.0/
  tags:
  - Album
  properties:
  - type: OpenAPI
    url: openapi/last-fm-album-api-openapi.yml
  - type: Documentation
    url: https://www.last.fm/api
  - type: GettingStarted
    url: https://www.last.fm/api/intro
  - type: Authentication
    url: https://www.last.fm/api/authentication
  - type: TermsOfService
    url: https://www.last.fm/api/tos
  - type: JSONLDContext
    url: json-ld/last-fm-context.jsonld
  - type: JSONSchema
    url: json-schema/artist.json
  - type: JSONSchema
    url: json-schema/track.json
  - type: JSONSchema
    url: json-schema/scrobble.json
  - type: Vocabulary
    url: vocabulary/last-fm-vocabulary.yml
  - type: Examples
    url: examples/artist-getInfo-response.json
  - type: Examples
    url: examples/track-scrobble-request.json
  - type: Examples
    url: examples/user-getRecentTracks-response.json
common:
- type: PostmanWorkspace
  url: https://www.postman.com/kinlaneapi/lastfm/overview
- type: AgenticAccess
  url: agentic-access/last-fm-agentic-access.yml
- type: DomainSecurity
  url: security/last-fm-domain-security.yml
- type: Authentication
  url: authentication/last-fm-authentication.yml
- type: Website
  url: https://www.last.fm/
- type: Documentation
  url: https://www.last.fm/api
- type: GettingStarted
  url: https://www.last.fm/api/intro
- type: Authentication
  url: https://www.last.fm/api/authentication
- type: TermsOfService
  url: https://www.last.fm/api/tos
- type: GitHubOrganization
  url: https://github.com/lastfm
- type: LinkedIn
  url: https://www.linkedin.com/company/last-fm
- type: Blog
  url: https://www.last.fm/blog
- type: Pricing
  url: https://www.last.fm/pro
- type: X
  url: https://x.com/lastfm
- type: StatusPage
  url: https://x.com/lastfmstatus
- type: Plans
  url: plans/last-fm-plans-pricing.yml
- type: RateLimits
  url: rate-limits/last-fm-rate-limits.yml
- type: FinOps
  url: finops/last-fm-finops.yml
- type: Features
  data:
  - name: Music Metadata
    description: Comprehensive metadata for artists, albums, and tracks including biographies, images, tags, and similar items
  - name: Scrobbling
    description: Track submission API (Scrobbling 2.0) for recording listening history from any client or device
  - name: User Listening History
    description: Access recent tracks, loved tracks, top artists, albums, and tracks for any user
  - name: Music Charts
    description: Global and geographic top artists and tracks, plus tag-based and weekly user charts
  - name: Music Discovery
    description: Similar artist and track recommendations powered by Last.fm's social listening data
  - name: Artist and Track Search
    description: Full-text search across the Last.fm music catalog for artists, albums, and tracks
  - name: Tag Exploration
    description: Browse music by community-applied tags to discover themed playlists and artists
  - name: User Social Data
    description: Access user friends, listening comparisons, and shared music taste data
- type: UseCases
  data:
  - name: Music Player Scrobbling
    description: Record tracks played in music apps to Last.fm user profiles for history and recommendations
  - name: Music Metadata Enrichment
    description: Augment music catalogs with artist bios, album art, tags, and similar artist data
  - name: Personalized Charts
    description: Display weekly, monthly, or all-time listening charts for users in applications
  - name: Music Discovery Features
    description: Power recommendation engines with similar artist and track data from Last.fm
  - name: Social Listening
    description: Show what friends are listening to and compare music tastes between users
  - name: Geographic Music Trends
    description: Display top artists and tracks by country or region for localized music features
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com