Spotify Web API


You can use Spotify’s Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more. Browse our available Web API endpoints using the sidebar at left, or via the navigation bar on top of this page on smaller screens.

In order to make successful Web API requests your app will need a valid access token. One can be obtained through OAuth 2.0.

The base URI for all Web API requests is

Need help? See our Web API guides for more information, or visit the Spotify for Developers community forum to ask questions and connect with other developers.

Use this page to mock Spotify Web API in your testing and development.

Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of Spotify Web API, which will allow you to keep building and testing even if the actual API you isn't currently available.

Related mocks

Cloud Channel API

The Cloud Channel API enables Google

Cloud Data Fusion API

Cloud Data Fusion is a fully-managed,

Knowledge Graph Search API

Searches the Google Knowledge Graph for

Books API

The Books API provides information about


BBC Nitro is the BBC’s application

Discovery Engine API

Discovery Engine API.

Ready to accelerate your development flow

Shorter release cycles, more predictable schedules and fewer defects in production.
Start Mocking for Free *Free forever. No credit card needed