Music — entry 016 of 32

LastFm

Verified Jul 2026

Last.fm's API is the original scrobbling and music-recommendation service, exposing a listener's scrobble history, global/user top charts, and artist/track/album metadata built from that listening data. Read-only calls need only a free API key with no OAuth handshake, while a lightweight token/session exchange authenticates the write-scrobble methods; Last.fm asks that commercial or academic users contact them before building on top of it. Responses are available as either REST-style JSON or the legacy XML format.

musicscrobblingrecommendationsmetadata
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, XMLResponses can be requested as JSON or XML.

GreatAPIs Score

Score70out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats15/15Supports 2 response formats
Freshness20/20Verified within 6 months

Embed this badge

Scored 70 on greatapis.com
<a href="https://greatapis.com/api/lastfm/"><img src="https://greatapis.com/badge/lastfm.svg" alt="Scored 70 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.