Spotify has launched a suite of Podcast APIs. Through the APIs, developers can create Podcast experiences specifically for Spotify listeners. The Podcast APIs add nine new endpoints to Spotify's host of developer APIs. For the moment, all of the new Podcast endpoints are in beta, and Spotify encourages developers to suggest additional endpoints.
"The new podcast API will function in similar ways to our music-related APIs by empowering developers to build unique experiences for listeners that leverage all of the public (and in this case podcast-related) data on Spotify," the company stated in a blog post announcement. "That means access to show and episode titles, description, and art. It will also allow developers to programmatically search Spotify’s catalog of over 700,000 podcasts and fetch information about shows and episodes."
The new endpoints available in the beta include:
- Subscribe to a list of shows: add a new show or list of shows to a user's library
- Get a list of the current user’s saved shows: fetch podcasts a users has already subscribed to
- Get metadata for a single show: display show description, publisher, and show images
- Get metadata for a set of shows: same as single show for a set of shows
- List episodes for a show: fetch paginated list of
- Get information about an episode: fetch episode description, language, duration and release date
- Get information about a set of episodes: same as information about an episode for multiple episodes
- Are the given shows in the current user’s library?: allows app to verify whether a podcast is in a user's library
- Unfollow a list of shows: Unfollow a show currently followed by user
In addition to these new endpoints, Spotify announced a number of enhancements to its existing endpoints. For complete details, check out the developer blog. The blog announcement also includes instructions regarding how to request new features from the Spotify API team.