Build your own personal music streaming applications using the Libspotify SDK or CocoaLibSpotify.
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.
| Product | Version | Operating System | Architecture | Files |
|---|---|---|---|---|
| libspotify | 12.1.64 | iOS | ARM, i386 | zip |
| libspotify | 12.1.51 beta | Android | ARM | tar.gz |
| libspotify | 12.1.51 | Win32 | x86 | zip |
| libspotify | 12.1.51 | Mac OS X/Darwin | universal | zip |
| libspotify | 12.1.51 | linux-libc6 | x86 | tar.gz |
| libspotify | 12.1.51 | linux-libc6 | x86_64 | tar.gz |
| libspotify | 12.1.51 | linux-libc6 | eabi-armv5t | tar.gz |
| libspotify | 12.1.51 | linux-libc6 | eabi-armv6t | tar.gz |
| libspotify | 12.1.51 | linux-libc6 | eabi-armv7 | tar.gz |
| libspotify | 12.1.103 beta | linux-libc6 | eabi-armv6hf | tar.gz |
CocoaLibSpotify Downloads
If you’re developing applications for iOS or 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.