Exact listeners and scrobbles from Last.fm, logged out
- endpoints
- 30
- credits per call
- 1–2
This API reads Last.fm as JSON, logged out, the way a visitor of last.fm sees it, without a Last.fm API key.
| name | listeners |
|---|---|
| Radiohead | 8,518,422 |
| RADİOHEAD | 36 |
| Radiohead • Lossless | 798 |
1 credit per call≈ $1/1,000 calls1,000 free credits, no card
Get a free API keyRun the call yourself, on the real endpoint
Change a parameter and press Try it. The response on the right is what your code will receive.
Last.fm API
5 of 30 endpoints, ready to run
Listeners, scrobbles, tags, similar artists and the daily listening trend
// Press "Try it" and this pane shows exactly what the // live site returned this second — including an empty // result, if that is the truth. No key, no account.
What Last.fm endpoints does ReefAPI ship?
30 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.
search
1 crSearch last.fm for artists, albums and tracks by name.
- required
- query
- optional
- type
artist
1 crOne artist's last.fm page.
- required
- artist
- optional
- url
wiki
1 crThe full wiki (biography / album or track description) of an artist, album or track, with the…
- required
- artist
- optional
- album, track, url, lang
artist_top_tracks
1 crAn artist's tracks ranked by listeners in a time window, 50 per page.
- required
- artist
- optional
- period, page, url
artist_albums
1 crAn artist's albums, 20 per page, by popularity (all-time listeners) or by release date, plus…
- required
- artist
- optional
- order, page, url
artist_similar
1 crArtists similar to this one (last.fm's similarity list), 10 per page, each with listeners, to…
- required
- artist
- optional
- page, url
tags_of
1 crAll tags users gave an artist, album or track, most used first, each with the artists the tag…
- required
- artist
- optional
- album, track, url
artist_events
1 crAn artist's events (concerts, festivals).
- required
- artist
- optional
- year, page, url
artist_top_listeners
1 crThe last.fm users who listen to this artist the most (as published on the artist's Listeners…
- required
- artist
- optional
- url
artist_images
1 crAn artist's photo gallery on last.fm, 40 per page (image id, full-size image url, thumbnail,…
- required
- artist
- optional
- page, url
shouts
1 crPublic comments ('shouts') on an artist, album, track, tag or user page, with author, time (I…
- required
- —
- optional
- artist, album, track, url, tag, user, sort, page
album
1 crOne album.
- required
- artist, album
- optional
- url
track
1 crOne track.
- required
- artist, track
- optional
- url
track_albums
1 crEvery album a track appears on (originals, compilations, live releases), 20 per page, most li…
- required
- artist, track
- optional
- page, url
tag
1 crA tag (genre) overview.
- required
- tag
- optional
- —
tag_artists
1 crTop artists for a tag, 21 per page, each with listeners and bio summary.
- required
- tag
- optional
- page
tag_albums
1 crTop albums for a tag, 20 per page, each with artist and listeners.
- required
- tag
- optional
- page
tag_tracks
1 crTop tracks for a tag, 50 per page.
- required
- tag
- optional
- page
charts
1 crlast.fm's daily global charts page.
- required
- —
- optional
- —
charts_weekly
1 crlast.fm's weekly global Top Artists chart with each artist's listeners and scrobbles for the…
- required
- —
- optional
- page
user
1 crA public last.fm profile.
- required
- user
- optional
- —
user_recent_tracks
2 crA user's latest 50 scrobbles with the time of each (UTC as the page shows it to a logged-out…
- required
- user
- optional
- —
user_top_artists
2 crA user's most-scrobbled artists in a time window with scrobble counts (50 rows.
- required
- user
- optional
- period
user_top_albums
2 crA user's most-scrobbled albums in a time window with scrobble counts.
- required
- user
- optional
- period
user_top_tracks
2 crA user's most-scrobbled tracks in a time window with scrobble counts.
- required
- user
- optional
- period
user_loved_tracks
2 crTracks a user has loved, newest first, with the date loved, 50 per page.
- required
- user
- optional
- page
user_following
2 crUsers this user follows, 30 per page.
- required
- user
- optional
- page
user_neighbours
2 crUsers last.fm lists as this user's musical neighbours (similar taste), as published on the pr…
- required
- user
- optional
- —
user_tags
2 crTags this user has applied, with how many times each was used, 50 per page.
- required
- user
- optional
- page
user_followers
2 crUsers who follow this user, 30 per page.
- required
- user
- optional
- page
Every parameter, every allowed value →
Missing a Last.fm endpoint, or need a source we don't have yet?Contact us real people · same-day reply.How the Last.fm API works
Last.fm is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 694 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
From an artist name to every album's listeners
Find the artist, read the artist page, list the albums, then read each album with its tracklist.
Artist rows with name, url and listeners.
Listeners, scrobbles, chart position, tags, similar artists and the daily listening trend.
20 albums per page with all-time listeners, release date and track count.
url>
Listeners, scrobbles and every track with its duration and listeners.
A dated table of an artist's audience on Last.fm and the listeners of every album and track.
curl -X POST https://api.reefapi.com/lastfm/v1/artist \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"artist":"Radiohead"}'{
"ok": true,
"data": { … },
"meta": {
"api": "lastfm",
"endpoint": "artist",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}What a Last.fm field actually contains
Fields that read differently from how they look. Every row was measured against live Last.fm on 2026-11-16.
| Field | What it holds |
|---|---|
| listeners, scrobbles (artist, album, track) | The exact all-time figures Last.fm prints in the page header, as integers. The page shows them rounded (Radiohead: 8.5M listeners, 1.44B scrobbles); the API returns 8,518,422 and 1,436,195,464. |
| top_tracks on artist | Ranked by listeners in the last 7 days, the window the artist page opens with (Radiohead Creep: 55,816). All-time and other windows are in artist_top_tracks (Creep all time: 4,271,204). |
| recently_popular on artist_albums | Albums with the most listeners in the last 7 days (OK Computer: 107,126). The rows of the same call carry all-time listeners (OK Computer: 4,958,963). |
| listener_trend | The Recent Listening Trend table of the page: one point per day with listeners, 181 days (2026-05-18 to 2026-11-14 on 2026-11-16) for an artist, album or track. |
| global_chart_position | The artist's place in Last.fm's global Top Artists chart (Radiohead: 3). Null for artists outside it: 8 of 9 artists sampled across genres had none. |
| scrobbles on user top lists | How many times this user played that artist, album or track in the chosen period (RJ, all time: Dream Theater 1,877). |
| timestamp on user_recent_tracks | When the track was scrobbled, as Last.fm prints it to a visitor who is not logged in: in UTC ("Monday 16 Nov 2026, 2:17pm" → 2026-11-16T14:17:00). |
| posted_at on shouts | The comment's time with the UTC offset Last.fm sends (2026-06-03T16:29:51-04:00). |
| page_age_seconds | How old the Last.fm page behind the answer is. 0 means the current page. Last.fm also keeps cached copies (up to about 23 hours old were seen); when the current page cannot be read in time, the cached copy is returned and its age is given here. |
| play_links on track | YouTube video id, Spotify track id and Apple Music link where Last.fm lists them (Creep: Spotify 70LcF31zb1H0PyJoS1Sx1r). |
Data is what Last.fm shows to a visitor who is not logged in. Last.fm's own website shows only the first page of a user's scrobble history and the default period of the library to such a visitor; the API returns the same.
Last.fm coverage, measured
Every number below was read from live Last.fm on 2026-11-16, in 706 calls across its 30 actions.
Listeners, scrobbles, tags, bio, similar artists, top tracks, top albums and daily listening trend on 9 of 9 artists sampled across rock, hip-hop, jazz, K-pop, Turkish pop, classical, metal, electronic and Latin.
Listeners, scrobbles, release date, tracklist with listeners per track and similar albums on 8 of 8 albums; total length on 5 of 8 (Last.fm prints none for the other 3).
Listeners, scrobbles, duration, tags, albums it appears on and similar tracks on 8 of 8 tracks; a wiki summary on 7 of 8.
Last 7, 30, 90, 180 and 365 days and all time, 50 per page, 10 pages (500 tracks) per period.
Top artists (21 per page), top albums (20 per page, up to 500 pages for rock) and top tracks (50 per page, 41 pages for rock) for any tag.
Global only: the daily charts page (20 top tracks, 20 top artists, top new releases, most loved, out now) and the weekly Top Artists chart with listeners and scrobbles, 200 artists. Last.fm publishes no country charts on its website.
Public profiles: scrobble totals, the latest 50 scrobbles, top artists, albums and tracks for 7 to 365 days or all time, loved tracks, followers, following, neighbours and tags.
Search returns one page per query. A user's scrobble history and all-time library stop at page 1 because Last.fm shows only that page to visitors who are not logged in; for a period window it returns up to 50 artists, 5 albums and 10 tracks. Daily charts carry ranks without counts.
What people build with Last.fm
The jobs this data is most often used for.
Track exact listener and scrobble counts of a roster of artists, albums and tracks day by day.
Rank an artist's catalogue by listeners this week, this month or all time.
Build genre charts from Last.fm tags with listeners per artist and album.
Find similar artists and similar tracks for recommendations and playlist curation.
endpoints
credits per call
What Last.fm data costs
The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
- 1,000 free credits on signup, no card
- One key, all 694 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/lastfm/v1/artist \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"artist":"Radiohead"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/lastfm/v1/artist",
headers={"x-api-key": REEF_KEY},
json={
"artist": "Radiohead"
},
timeout=90,
)
print(r.json()["data"])Have a question? We got answers.
The questions people actually ask before wiring up Last.fm.
Do I need a Last.fm account or a Last.fm API key?▾
No. Everything is read from the public Last.fm website without logging in; you only need a ReefAPI key.
Are the listener and scrobble numbers exact?▾
Yes. The API returns the exact integers Last.fm puts behind its rounded figures. For 24 artists, albums and tracks checked on 2026-11-16, the rounded figure on the page (for example 5.3M) matched the exact value returned in 24 of 24 cases.
Can I get an artist's top tracks for the last week or month?▾
Yes. artist_top_tracks takes period 7d, 30d, 90d, 180d, 365d or all and returns 50 tracks per page with listeners in that window, up to page 10 (500 tracks), which is where Last.fm stops.
Are country charts available?▾
No. Last.fm's website publishes only global charts: the daily charts page (Top Tracks, Top Artists, Top New Releases, Most Loved and Out Now, ranks only) and the weekly Top Artists chart with listeners and scrobbles, 4 pages of 50. Country chart pages answered 404 and a country parameter returned the global chart unchanged.
How deep does search go?▾
One page per query: up to 20 to 30 artists, 30 albums and 30 tracks. Last.fm ignores further pages of search, so the API does not offer them. Album search can list the same album twice when Last.fm does.
What can I read about a user?▾
Public profiles only: total scrobbles, artists scrobbled, loved tracks count, scrobbling since, the latest 50 scrobbles, top artists, albums and tracks per period (up to 50 artists, 5 albums or 10 tracks for a period window; 50 of each for all time), loved tracks page by page, followers, following, neighbours and tags.
Is the full artist biography included?▾
Yes. wiki returns the complete text in paragraphs, the factbox (years active, founded in or born, members) and the edit line, for artists, albums and tracks, in English or 11 other languages Last.fm has (de, es, fr, it, ja, pl, pt, ru, sv, tr, zh).
What is the Last.fm API?▾
Last.fm API is a ReefAPI endpoint group for exact listener and scrobble counts for artists, albums and tracks, tags, similar artists, global charts, search and public user listening stats. It returns live JSON through POST requests under /lastfm/v1.
Is the Last.fm API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. Last.fm calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Last.fm login or account?▾
No login to Last.fm is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Last.fm data?▾
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Last.fm API use?▾
Last.fm actions currently cost 1-2 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Last.fm from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call lastfm actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the Last.fm API a Last.fm scraper?▾
It is the managed alternative to a DIY Last.fm scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same exact listener and scrobble counts for artists, albums and tracks, tags, similar artists, global charts, search and public user listening stats back as clean JSON.
43 Media, Film & Knowledge APIs on the same key
One key, one credit pool, one response envelope. If you are pulling Last.fm, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 693 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-11-16.