The API gives users the ability to build programs using data, whether on the web, the desktop or mobile devices. The RESTful API allows for read and write access to the full slate of music data resources - albums, artists, playlists, events, users, and more. It allows users to call methods that respond in either XML or JSON.