LastFm API
Music
- Our call
- Not called yet
- Key
- API key
- Docs link
- Answered
We haven't called LastFm ourselves, so this is the public-apis listing plus our check of its docs link. Show Music APIs we did call
Come back to see anything that changed: answers, keys, browser access, rate limits.
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
LastFm is listed in Music. LastFm needs an API key: you register with the provider and send the key with each request. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 34 Music APIs: 9 need no key, 14 need an API key and 11 use OAuth, and 9 of them are marked as allowing browser calls. 6 others have the same setup, such as AudD, Freesound and Mubert AI Music API. If you'd rather not sign up for anything, LRCLIB, MusicBrainz and Radio Browser need no key and answered our test call (all no-key Music APIs).
LastFm and other Music APIs
| Fact | LastFm (this page) | LRCLIB | MusicBrainz | Radio Browser | Cucutime |
|---|---|---|---|---|---|
| Key needed From the public-apis list | API key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Not recorded | Yes | Yes |
| Our test call Measured by us | Not tested | 328 ms | 630 ms | 695 ms | Not tested |
| Browser call Measured by us | — | Allowed | Allowed | Allowed | — |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does LastFm need an API key?
LastFm needs an API key: you register with the provider and send the key with each request.
Can I call LastFm from JavaScript in the browser?
It isn't recorded. Try a request from the browser console before relying on it.
Where are the LastFm docs?
At https://www.last.fm/api. When we checked, the link answered 200 in 4993 ms.
What are some alternatives to LastFm?
Other Music APIs in the list include AudD, Freesound, Mubert AI Music API and Songkick.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.