Last.fm
Music metadata and scrobbling from listener data.
Last.fm API returns artist, album and track metadata plus similar-artist graphs built from scrobble data. Free API key after signup at last.fm/api. All calls require api_key in the query string; attribution to Last.fm required.
We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass.
GET https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=json
{
"results": {
"artistmatches": {
"artist": [
{
"name": "Cher",
"listeners": "1234567",
"url": "https://www.last.fm/music/Cher"
}
]
}
}
}curl "https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=json"const res = await fetch("https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=json");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://ws.audioscrobbler.com/2.0/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=json")
print(res.json())/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=jsonPROBEDSearch artists by name.
/?method=artist.getinfo&artist=Cher&api_key=YOUR_API_KEY&format=jsonArtist biography, tags and play counts.
/?method=artist.getSimilar&artist=Cher&api_key=YOUR_API_KEY&format=jsonSimilar artists from listener data.
/?method=artist.getTopTracks&artist=Cher&api_key=YOUR_API_KEY&format=jsonMost popular tracks for an artist.
/?method=chart.getTopArtists&api_key=YOUR_API_KEY&format=jsonGlobal top-artists chart.
/?method=tag.getTopTracks&tag=rock&api_key=YOUR_API_KEY&format=jsonTop tracks for a genre tag.
We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
Last.fm: common questions
Is Last.fm free to use?
Yes — Last.fm is a free media API. Free tier: Free personal API key. Whether the free tier allows commercial use is unclear — check the provider docs.
Does Last.fm need an API key?
Yes — Last.fm needs a free API key, which you pass on each request. Rate limits: Unpublished.
Can I call Last.fm from the browser?
Yes — Last.fm returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is Last.fm up right now?
As of our last scheduled check, Last.fm is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.