Last.fm API
Music Free key (no card)
AuthenticationFree key (no card)
Rate limitAbout 60 requests per minute
Documentation: www.last.fm ยท Checked Sep 13, 2026
About
Last.fm has been tracking what people listen to for two decades, and its free API opens that treasure chest. You can get the most-played artists and songs globally or per country, find artists similar to any band, read community tags and wiki bios, and even pull a specific user's recent listening history. Great for anything taste-based.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: About 60 requests per minute
Verified: 2026-09-13
Best for: personal business developer fun
Setup
- Log in to your free Last.fm account
- Apply for an API key at last.fm/api/account/create
- Name your app and grab the API key plus shared secret from your account page
- Add ?api_key=YOUR_KEY to any endpoint, like the artist search above
Example
https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=cher&api_key=YOUR_KEY&format=jsonUse cases
- A blog shows 'what I'm listening to this week' with real play counts
- A record store site suggests similar artists for every album page
- A party planner builds a crowd-pleaser playlist from each country's top tracks