Build your own personal music streaming applications using the Libspotify SDK or CocoaLibSpotify.

Important! LibSpotify and CocoaLibSpotify are no longer under active development on any platform and are considered deprecated. If you are building applications for iOS or Android, please use the iOS SDK or Android SDK. We hope to be able to provide you with a new library for other platforms during 2016.

Until then, you can still download these libraries and provision new keys for your project. However, please be aware that we cannot offer active support or guarantee future functionality on LibSpotify or CocoaLibSpotify.

The Libspotify SDK and CocoaLibSpotify are provided for non-commercial use only and that by using Spotify developer tools, you accept our Developer Terms of Use.

The Libspotify SDK and CocoaLibSpotify provide C language APIs that enable you to add Spotify music services to your own applications.

The Libspotify SDK is available for Windows, Mac OS X (x86 / x86_64), iOS, and Linux (x86 / x86_64 / ARM). We also have an Objective C wrapper (CocoaLibSpotify) for iOS.

How Do I Start?

To use the Libspotify SDK you will need to get an application key.

When you have your key, download the Libspotify package for your environment and add the Libspotify API header file (api.h) to your application. Here are some links to help you get started:

Libspotify Downloads

Download the file and unpack it with your favorite extractor. (For most Linux distributions, you can use tar xzf libspotify-*.tar.gz on the command line to extract it.) You will now have a directory called something starting with libspotify-. Inside, you should find a README worth at least skimming through.

ProductVersionOperating SystemArchitectureFiles
libspotify12.1.64iOSARM, i386zip
libspotify12.1.51 betaAndroidARMtar.gz
libspotify12.1.51Mac OS X/Darwinuniversalzip
libspotify12.1.103 betalinux-libc6eabi-armv6hftar.gz

CocoaLibSpotify Downloads

If you’re developing applications for Mac OS X, we recommend using CocoaLibSpotify — our open-source Objective-C wrapper. You can find the CocoaLibSpotify package, along with extensive documentation and sample projects, at the project’s home on GitHub.

Terms of Use

The Libspotify SDK and CocoaLibSpotify are not intended for use in commercial applications or in conjunction with commercial hardware products. By using Spotify developer tools, you accept our Developer Terms of Use.

If you wish to integrate Spotify functionality into a hardware device or software associated with a hardware device, please contact the partner hardware team here before proceeding further.

Third-Party Licenses

Several fantastic pieces of free and open-source software have really helped get Spotify to where it is today. A few require that we include their license agreements within our product. Consider it done. As we enjoy giving credit where it’s due, we included the entire list below. This means you can not only see which software we’ve been using, but the terms of the licenses too. A big thanks from all of us at Spotify to the smart people behind the fantastic programs listed.