Last.fm's API rug pull, and the now-playing service I built instead ================================================================================ From today, Last.fm is putting most of its API behind a Pro subscription. That includes user.getRecentTracks, which is what the track card on my /now page (https://blog.omgmog.net/now) has been using. What’s changing Last.fm announced on their forums on 18th November (https://support.last.fm/t/api-keys-will-require-pro-from-1st-december/121030) that whoever owns an API key needs Last.fm Pro. People using someone else’s app are fine, only the developer holding the key is affected, but thirteen days’ notice isn’t much for a change that breaks existing keys. A week later they backed off part of it (https://support.last.fm/t/api-update-pro-will-not-be-required-to-use-scrobbling-methods/121188), and apologised for the short notice. Scrobbling (track.scrobble, track.updateNowPlaying, track.removeNowPlaying and the auth calls) stays free for existing keys. Everything else needs Pro, as does creating a new key. That includes user.getRecentTracks, so reading my own plays back now costs money. I first found out from Dominik Schwind’s blog (https://lostfocus.de/2026/11/18/last-fm-api/). Last.fm posted it on their forums, on Reddit (https://www.reddit.com/r/lastfm/comments/1xzkxxc/api_keys_will_require_pro_from_1st_december/) and maybe elsewhere, but sent me nothing directly, and I never had a reason to join their forum. An email would have been nice, given it breaks the one feature I use. Their reason, as Cory Dransfeldt quotes it (https://www.coryd.dev/posts/2026/what-to-do-now-that-lastfm-is-going-to-charge-for-api-access), is that “over ten thousand API keys are registered every month, many of which appear to be for data scraping purposes that don’t benefit our community”. Dominik reckons it’s a sign of the times, with AI scrapers and vibe-coded apps pushing APIs behind paywalls. Fair enough, though a personal key polling once an hour isn’t what’s hammering them. How I was using Last.fm My Last.fm profile said I’ve been scrobbling since 24th August 2004. I mostly stopped using it years ago. I started again at Christmas 2025 (https://github.com/omgmog/omgmog.github.com/commit/a1aaf39), when I was bored and added a Last.fm card to the /now page using GitHub Actions. That later led to a post about the commit noise (https://blog.omgmog.net/post/reducing-github-action-commit-noise/) it caused. The /now page was built by a GitHub Actions workflow every hour, and on every push. Each run made at least one user.getRecentTracks request to fill the card, all from one API key. That’s 24 a day on paper, or roughly 8,000 from January to November. GitHub only has around 4,500 of those runs on record, peaking at about 700 in March, so the real number sits somewhere between the two. Last.fm has never published a daily limit that I can find, only a warning (https://www.last.fm/api/intro) that accounts can be suspended for several calls a second or excessive calls. I was nowhere near that, and it now needs a subscription anyway. If the fetch failed, the card quietly disappeared. That fallback was written for outages, and it would have covered this too. From 1st December the card would have vanished and nothing would have complained. Doing it myself I could have paid for Pro at $4.99 a month and it would have fixed this straight away, but I’d have been paying to read back data I put in myself, for free, over twenty years. It’s the usual story with free APIs. Twitter and Reddit went the same way. There’s no self-serve official way to export it either. I got mine out with a third-party exporter (https://mainstream.ghan.nl/export.html) while I still could, and it came to about 16,000 scrobbles in a 13MB JSON file. It pages through the API, which is now the paid part. It’s going in the archive, and I don’t have much use for it beyond that. What bugs me is that in May, when Last.fm announced it was independent again (https://support.last.fm/t/last-fm-is-now-independent/118591), the FAQ covered the API. I build tools using the Last.fm API, should I be concerned? No. API functionality continues as normal. We value the developer community and will continue supporting the ecosystem around Last.fm. Six months later, the read side needs a subscription. I don’t think they lied, plans change and independent companies have bills, but I’d rather not depend on it. I’ve built a replacement, now-playing (https://github.com/omgmog/now-playing). It’s a small Node service on my VPS that polls Spotify once a minute and serves what I’m playing as JSON at /recent.json. It’s one script with no dependencies or database, and Apache proxies that one path. It’s connected to my Spotify account, so my desktop client, phone, and Google speakers all contribute. The /now page fetches the JSON at build time, as it did with Last.fm. It isn’t a full scrobbler. Spotify only returns my last 50 plays, and it seems to leave out very short plays and anything from a private session. That’s enough for “what am I listening to right now”, but not for years of history. For a proper scrobbler, Cory’s post lists ListenBrainz (https://listenbrainz.org/), the self-hosted Koito (https://koito.io/) and teal.fm (https://teal.fm/), which he says hasn’t quite launched. It still depends on Spotify, but behind a service I run, so if Spotify changes its mind only the poller needs replacing. Its API already needs a Premium subscription, which I pay for, and I’ll be watching to see whether they tighten it further. I tried unlinking Last.fm from Spotify, but scrobbles kept arriving a day later, and I couldn’t work out what was still sending them. So I’ve deleted my account. ================================================================================ Published 1 December 2026 Generated from the original post: https://blog.omgmog.net/post/lastfm-api-rug-pull-and-the-now-playing-service-i-built-instead/ - Email: mailto:hello@maxglenister.co.uk - LinkedIn: https://www.linkedin.com/in/omgmog - Mastodon: https://indieweb.social/@omgmog - GitHub: https://github.com/omgmog Max Glenister is an interface designer and full-stack developer with a frontend focus, from Oxfordshire. He writes mostly about front-end development and technology.