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.

1 APIs 8 Features
MusicMusic MetadataScrobblingMusic DiscoveryStreaming

APIs

Last.fm API

The Last.fm API provides access to the Last.fm music platform, enabling developers to retrieve music metadata for artists, albums, and tracks; read and write user scrobble data;...

Pricing Plans

Last Fm Plans Pricing

3 plans

PLANS

Rate Limits

Last Fm Rate Limits

3 limits

RATE LIMITS

FinOps

Features

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

Use Cases

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

Semantic Vocabularies

Last Fm Context

32 classes · 1 properties

JSON-LD

Example Payloads

Artist Getinfo Response

1 fields

EXAMPLE

Track Scrobble Request

14 fields

EXAMPLE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
📜
TermsOfService
TermsOfService
👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
📰
Blog
Blog
💰
Pricing
Pricing
🔗
X
X
🟢
StatusPage
StatusPage
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
aid: last-fm
url: https://raw.githubusercontent.com/api-evangelist/last-fm/refs/heads/main/apis.yml
name: Last.fm
type: Index
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
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-api
  name: Last.fm API
  tags:
  - Music
  - Artists
  - Albums
  - Tracks
  - Scrobbling
  - Charts
  - Users
  humanURL: https://www.last.fm/api
  baseURL: https://ws.audioscrobbler.com/2.0/
  properties:
  - url: https://www.last.fm/api
    type: Documentation
  - url: https://www.last.fm/api/intro
    type: GettingStarted
  - url: https://www.last.fm/api/authentication
    type: Authentication
  - url: https://www.last.fm/api/tos
    type: TermsOfService
  - url: openapi/last-fm-openapi.yml
    type: OpenAPI
  - url: json-ld/last-fm-context.jsonld
    type: JSONLDContext
  - url: json-schema/artist.json
    type: JSONSchema
  - url: json-schema/track.json
    type: JSONSchema
  - url: json-schema/scrobble.json
    type: JSONSchema
  - url: vocabulary/last-fm-vocabulary.yml
    type: Vocabulary
  - url: examples/artist-getInfo-response.json
    type: Examples
  - url: examples/track-scrobble-request.json
    type: Examples
  - url: examples/user-getRecentTracks-response.json
    type: Examples
  description: The Last.fm API provides access to the Last.fm music platform, enabling developers to retrieve music metadata
    for artists, albums, and tracks; read and write user scrobble data; explore personalized recommendations; access global
    and geographic music charts; search the music catalog; and retrieve user listening histories and social data such as friends
    and loved tracks. Authentication is required for write operations including scrobbling. The API uses REST over HTTP with
    responses available in JSON or XML format.
common:
- 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