15 April 2014

Is it on Spotify?

A simple answer for a simple question.

Update (2020-04-19): Is it on Spotify? is still online, though it no longer works. All of the links to it here have been left intact regardless.

While at a café with some friends, I heard bits and pieces of a song over the stereo - this song. It sounded pretty nice, so after finding out what it was (in a roundabout manner1) I starred it on Spotify.

This probably won’t come as a surprise, given the title of this piece: a week or so later, it disappeared from the service.

I was wondering if it’d been completely pulled from the catalogue (unlikely, since the same artist had other tracks which were still up), and if not, where in the world it was still available. I also knew that the Spotify Metadata API let you look up a track’s information, which also included its availability.

I searched around for a bit, but couldn’t find anything which would just take a track name, and tell you where it could be heard. I did come across this Quora post from 2012 which suggested calling the API directly in the browser:

Screenshot of a Quora answer describing how to call the Spotify web API.

Which definitely works, but eh. It’s not the most convenient thing to do.

So, one Saturday later, here we are: a website to do just that. 2

Screenshot of Is it on Spotify?

Type in a track, hit Enter, and get an answer.

Screenshot sequence showing the usage of Is it on Spotify?, where the input track was found.

Screenshot sequence showing the usage of Is it o Spotify?, where the input track was not found.

You can also change tracks if the first search result wasn’t the one you were looking for by clicking on the name (if it’s underlined), and see the exact regions by clicking on the number.

It’s not the prettiest, but at least it beats JSON ;)

Check it out here, and (if you want) poke around the code here.


My initial guess was correct: the song hadn’t actually been removed entirely, though it’s only available in the US, Canada, and Australia. Other tracks are available in many more regions, though.

Wish I knew how these licensing things work.


  1. We were far away enough and the ambient sound was loud enough that I wasn’t confident that my phone would be able to identify it. I asked a friend if he happened to know what it was, and he walked over and asked someone he knew who worked there. ↩︎

  2. I’d also been looking for an excuse to try knockout.js - MVVM on the web? Sign me up. ↩︎