Last.fm

Music metadata and scrobbling from listener data.

🎬 MediaON SCHEDULEchecked 2h ago
AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL ?

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.

REACHABILITY SCORE ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
CHECK TIER · REACHABILITY

We probe without your API key. A 401/403 auth wall means the server is up — not a full health pass.

Uptime history
—%90d reachable
—%30d reachable
2hLast check · since JUL 8
operationalpartialdownno data
Live response samplecaptured by our last successful check
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"
        }
      ]
    }
  }
}
Call itcurl · fetch · python
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())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — auth-wall reachability checks pending
GET/?method=artist.search&artist=cher&api_key=YOUR_API_KEY&format=jsonPROBED

Search artists by name.

GET/?method=artist.getinfo&artist=Cher&api_key=YOUR_API_KEY&format=json

Artist biography, tags and play counts.

GET/?method=artist.getSimilar&artist=Cher&api_key=YOUR_API_KEY&format=json

Similar artists from listener data.

GET/?method=artist.getTopTracks&artist=Cher&api_key=YOUR_API_KEY&format=json

Most popular tracks for an artist.

GET/?method=chart.getTopArtists&api_key=YOUR_API_KEY&format=json

Global top-artists chart.

GET/?method=tag.getTopTracks&tag=rock&api_key=YOUR_API_KEY&format=json

Top tracks for a genre tag.

Machine-readable spec

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.

Response-shape history

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.