Spotify · GraphQL Specification

Spotify GraphQL Schema

This document describes a conceptual GraphQL schema for the Spotify Web API. The Spotify Web API is a RESTful service, but this schema models its resources and relationships as GraphQL types to enable structured querying of music catalog, user library, playback state, audio analysis, and recommendation data.

Documentation Endpoint View on GitHub MusicAudioStreamingPodcastsPlaylistsGraphQL

Overview

Spotify GraphQL Schema is a GraphQL API specification published by Spotify on the APIs.io network.

This document describes a conceptual GraphQL schema for the Spotify Web API. The Spotify Web API is a RESTful service, but this schema models its resources and relationships as GraphQL types to enable structured querying of music catalog, user library, playback state, audio analysis, and recommendation data.

documentation is published at https://developer.spotify.com/documentation/web-api/reference/.

Tagged areas include Music, Audio, Streaming, Podcasts, and Playlists.

Endpoint

Related API Specs

Spotify Albums API (OpenAPI) Spotify Artists API (OpenAPI) Spotify Audiobooks API (OpenAPI) Spotify Categories API (OpenAPI) Spotify Chapters API (OpenAPI) Spotify Episodes API (OpenAPI) Spotify Genres API (OpenAPI) Spotify Library API (OpenAPI) Spotify Markets API (OpenAPI) Spotify Player API (OpenAPI) Spotify Playlists API (OpenAPI) Spotify Search API (OpenAPI) Spotify Shows API (OpenAPI) Spotify Tracks API (OpenAPI) Spotify Users API (OpenAPI)
Back to Spotify · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This GraphQL schema
curl "https://apis.io/api/v1/graphql/spotify-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.