Nathan Henderson, CPA
Personal site for projects and writing.

Last.fm Artist Overlap Explorer

Public last.fmjavascript
2026-02-26

A free browser-based tool for comparing two public Last.fm users, from recent listening to their overall history.

What I built

  • Compare two public Last.fm users across six listening periods, from 7 days to overall.
  • See shared and unique artists in browser-native Venn visualizations.
  • Rank shared artists with a balance-aware match score and surface a strongest shared signal and deep cut.
  • Summarize each comparison with a deterministic Overlap Fingerprint.
  • Share comparison links and export the results as CSV files.

Stack

JavaScript / Cloudflare Workers / Last.fm API / SVG

What this is

The Last.fm Artist Overlap Explorer compares the listening histories of two public profiles. Enter two usernames to see how their artist overlap changes from the past 7 days to their overall history.

Try the Last.fm Artist Overlap Explorer →

What it shows

Why I built it

The original question was simple: “How much does my music taste overlap with a friend’s?”

The project began as a small Python and Streamlit experiment that turned Last.fm data into a visual answer. I later rebuilt it as a lightweight public web app using the Last.fm API, browser-native JavaScript and SVG, and Cloudflare Workers.

Early prototype

Earlier Streamlit prototype of the Last.fm Artist Overlap Explorer showing shared artists and listening overlap between two users

How it works

Choose any combination of the six available listening periods:

For each period, the app retrieves public top-artist data for both Last.fm users. It matches artist names, separates shared artists from each user’s unique artists, and ranks the overlap using both listeners’ play counts. The comparison is then presented as a Venn diagram, ranked results, and an Overlap Fingerprint.

Open the live Last.fm Artist Overlap Explorer →

View the source code on GitHub

This is an independent project and is not affiliated with Last.fm.