Share your love of music with the world.


What do you need to get started?

01/ Account

You will need to have a account to use.

Create an Account

02/ API Access

You will need to have access to the API. Be sure to make a note of your API key.

Create an App

03/ Connect Your Account to Spotify

You can do this by opening the desktop application and going to "Preferences". You will see a section with the heading "LAST.FM". Enter your username and password to give Spotify access. This is so Spotify can scrobble the songs you play to


Feel free to use whichever method is easiest for your project.


$ bower install spotifyCurrentlyPlaying.js


$ npm install spotifyCurrentlyPlaying.js


<script src=""></script>

View on Github Download Repo


Lets figure out how to make this thing work.

Add the script:

// Place this before the closing body tag
<script src="path/to/spotifyCurrentlyPlaying.min.js"></script>

Create a container:

// This will be used to display the Spotify widget
<div id="spotify-widget"></div>

Call the SCP( ) function:

// You will need to pass your parameters to the function
// You can initialize it with SCP() or SpotifyCurrentlyPlaying()
    selector: '#spotify-widget',
    username: 'kjbrum',
    api_key: 'xxxxxxxxxxxxxxx',
    width: '100%',
    height: '370'


This is similar to what you will get on your website.

Spread the

Things are better when shared with friends.