Product

How Jentic Works

From API assessment to production deployment in four simple steps.

Product Overview

PLATFORM

Jentic OneSelf-hosted, open-source control plane between your agents and any APIAPI DirectoryBrowse 10,000+ APIs ready for AI agent integrationAPI ScorecardAssess your APIs for AI-readiness with automated scoringAgentic SandboxSafely simulate AI agents with your production APIsJenticSign in to the Jentic web app

CAPABILITIES

IntegrationConnect AI agents to your existing systemsWorkflowsDiscover and capture successful agent workflowsGovernanceDefine, observe, and enforce AI policies

TOOLS

Arazzo UIVisualize Arazzo workflows as interactive documentationArazzo EditorBuild and edit multi-step API workflows visually
Pricing
Developers

GET STARTED

DocumentationGuides and API referenceQuickstartGet up and running in minutes

COMMUNITY

GitHubOpen source projects and examples
Resources
BlogLatest articles and insightsPress & MediaBrand assets and press contactOpen StandardsBuilt on open specs. Never locked in.NewsletterAPIs, AI agents, mixed with architecture and strategy.
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Install Jentic OneBook a Demo
How Jentic WorksJentic OneAPI DirectoryAPI ScorecardAgentic SandboxJenticIntegrationWorkflowsGovernanceArazzo UIArazzo Editor
Pricing
DocumentationQuickstartGitHub
BlogPress & MediaOpen StandardsNewsletter
About UsCareersContact
Request a demoInstall Jentic One
Jentic
For Enterprises
  • Product Overview
  • Agentic Sandbox
  • Book a Demo
For Developers
  • Jentic One
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
ISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic. All rights reserved.
APIs / Media / Spotify Web API
Spotify Web API logo

Spotify Web API

★ Only Publicly Available OpenAPI DocumentMediaAudio Processingoauth289 EndpointsREST

For Agents

Search Spotify's catalog of tracks, albums, artists, and podcasts, control playback across devices, and manage user playlists and libraries. Covers 89 endpoints with OAuth 2.0 user-scoped access.

Use for: I need to search for tracks by a specific artist, I want to create a playlist and add tracks to it, Get the audio features for a list of tracks, Check what is currently playing on the user's active device

Not supported: Does not handle music licensing, royalty payments, or audio file downloads — use for catalog discovery, playback control, and library management only.

Discover music, podcasts, and audiobooks, control playback across devices, and manage personal libraries through 89 endpoints spanning the Spotify platform. The API provides access to Spotify's catalog of 100+ million tracks with search, recommendations, audio features analysis, and playlist management. OAuth 2.0 authorization code flow enables user-scoped actions including playback control via Spotify Connect, library curation, and listening history retrieval.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Spotify Web API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Spotify Web API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Spotify Web API.

Search the Spotify catalog across tracks, albums, artists, shows, episodes, and audiobooks with filtered queries

Control playback on any Spotify Connect device including play, pause, skip, seek, volume, and queue management

Build and modify playlists with track ordering, collaborative editing, and custom cover images

Retrieve audio features (danceability, energy, tempo, valence) and audio analysis for algorithmic music discovery

Access personalized recommendations based on seed tracks, artists, and genres with tunable attributes

Track listening history through recently played items, top artists, and top tracks over different time ranges

Use Cases

Patterns agents use Spotify Web API for, with concrete tasks.

★ AI Agent Music Discovery and Playlist Curation

AI agents build personalized playlists by combining Spotify's recommendation engine with audio feature analysis through Jentic. The agent searches for tracks matching target mood attributes (valence, energy, danceability), retrieves recommendations seeded from user favorites, and assembles a playlist — all without the user manually browsing the Spotify catalog. Jentic handles OAuth token management so the agent can access user-scoped endpoints.

Get the user's top 5 tracks via GET /me/top/tracks, use them as seeds in GET /recommendations with target_energy=0.8, then create a playlist via POST /users/{user_id}/playlists and add the recommended tracks via POST /playlists/{playlist_id}/tracks

Cross-Device Playback Control

Control Spotify playback across all connected devices through the Spotify Connect protocol. The Player endpoints enable starting, pausing, skipping, seeking, and adjusting volume on any active device — phones, speakers, desktops, or smart displays. The API exposes the full device list with current volume and active status, enabling automated playback routing and multi-room audio orchestration without the Spotify app UI.

List available devices via GET /me/player/devices, transfer playback to a specific device via PUT /me/player with device_ids, then start playing a specific album via PUT /me/player/play with context_uri

Audio Feature Analysis for Music Apps

Analyze the musical characteristics of any track in Spotify's catalog using audio features (tempo, key, time signature, danceability, energy, valence, speechiness, acousticness, instrumentalness, liveness) and detailed audio analysis (beats, bars, sections, segments). These features power mood-based filtering, BPM matching for DJ tools, workout playlists by energy level, and music education applications.

Retrieve audio features for 5 tracks via GET /audio-features?ids={id1},{id2},..., filter by danceability > 0.7 and energy > 0.6, and return the matching tracks

Podcast and Audiobook Discovery

Search and browse Spotify's podcast and audiobook catalog with the same API used for music. The search endpoint supports type filtering for shows, episodes, and audiobooks. Users can save shows to their library, track listening progress with playback position, and discover new content through Spotify's recommendation algorithms applied to spoken-word content.

Search for podcasts about AI using GET /search?q=artificial+intelligence&type=show, then retrieve episodes for the top result via GET /shows/{id}/episodes and check if any are in the user's library via GET /me/episodes/contains

Key Endpoints

89 endpoints — discover music, podcasts, and audiobooks, control playback across devices, and manage personal libraries through 89 endpoints spanning the spotify platform.

METHOD

PATH

DESCRIPTION

GET

/search

Search the catalog for tracks, albums, artists, shows, or audiobooks

GET

/recommendations

Get track recommendations based on seeds and tunable attributes

GET

/me/player

Get current playback state and active device

PUT

/me/player/play

Start or resume playback on a device

POST

/playlists/{playlist_id}/tracks

Add tracks to a playlist

GET

/audio-features/{id}

Get audio features for a track

GET

/me/top/tracks

Get user's top tracks by listening frequency

GET

/artists/{id}/top-tracks

Get an artist's top tracks by country

GET

/search

Search the catalog for tracks, albums, artists, shows, or audiobooks

GET

/recommendations

Get track recommendations based on seeds and tunable attributes

GET

/me/player

Get current playback state and active device

PUT

/me/player/play

Start or resume playback on a device

POST

/playlists/{playlist_id}/tracks

Add tracks to a playlist

GET

/audio-features/{id}

Get audio features for a track

GET

/me/top/tracks

Get user's top tracks by listening frequency

GET

/artists/{id}/top-tracks

Get an artist's top tracks by country

Why Jentic?

Three things that make agents converge on Jentic-routed access.

Credential management

Credential isolation

Spotify OAuth 2.0 client credentials and user tokens are stored encrypted in the Jentic vault (MAXsystem). Agents receive scoped access tokens for specific OAuth scopes — the client secret and refresh token never enter the agent's execution context.

Intent-based discovery

Intent-based discovery

Agents search by intent (e.g., 'create a playlist with recommended tracks') and Jentic returns matching Spotify operations with their required OAuth scopes and request schemas, so the agent can navigate Spotify's 89-endpoint surface without reading documentation.

Time to first call

Time to first call

Direct Spotify integration: 2-4 days for OAuth flow, scope management, token refresh, and device discovery. Through Jentic: under 1 hour — search, load schema, execute.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

SoundCloud API

→

Audio streaming platform focused on independent creators and user-generated music content

Choose SoundCloud when the use case involves independent or unsigned artist content, user-uploaded tracks, or community-driven audio sharing rather than major-label catalog access

Complementary

Musixmatch API

→

Song lyrics and metadata database for enriching Spotify track data with synchronized lyrics

Choose Musixmatch when you need song lyrics, synchronized lyric timestamps, or translation data to complement Spotify's audio features and playback

Complementary

Deepgram API

→

Speech-to-text transcription for generating searchable transcripts from podcast episodes

Choose Deepgram when you need to transcribe Spotify podcast episodes or audiobooks into searchable text for content indexing or summarization

FAQs

Specific to using Spotify Web API through Jentic.

What authentication does the Spotify Web API use?

The Spotify Web API uses OAuth 2.0 with the authorization code flow for user-scoped access. It defines 19 scopes covering playback control, library management, playlist editing, user data access, and content upload. Access tokens expire after one hour and must be refreshed. Through Jentic, OAuth tokens and refresh cycles are managed in the MAXsystem vault — agents receive scoped access tokens without handling the OAuth dance.

Can I control playback on a specific device via the API?

Yes. GET /me/player/devices returns all active Spotify Connect devices with their IDs, names, and volume. Transfer playback with PUT /me/player passing the target device_id. Then use PUT /me/player/play, POST /me/player/pause, POST /me/player/next, POST /me/player/previous, and PUT /me/player/seek to control playback. Requires the user-modify-playback-state scope.

What are the rate limits for the Spotify Web API?

Spotify applies rate limits based on a rolling 30-second window. The exact limits vary by endpoint and app category. When exceeded, the API returns HTTP 429 with a Retry-After header indicating seconds to wait. Typical apps get approximately 180 requests per minute for most endpoints. Web API status endpoints and search may have different thresholds.

How do I build a recommendation playlist through Jentic?

Install the Jentic SDK with pip install jentic, then search for 'get music recommendations from spotify'. Jentic returns the GET /recommendations endpoint schema with seed_tracks, seed_artists, seed_genres parameters and tunable attributes (target_energy, target_valence, etc.). The agent constructs the request, receives recommended track URIs, and calls POST /playlists/{playlist_id}/tracks to populate a playlist.

Can I access audio analysis data for any track?

Yes. GET /audio-features/{id} returns high-level attributes (danceability, energy, tempo, key, time signature, valence) for any track. GET /audio-analysis/{id} returns detailed timing data including beats, bars, sections, and segments with pitch and timbre vectors. Both endpoints work with any track in Spotify's catalog regardless of user authorization.

Does the API support podcast and audiobook content?

Yes. The search endpoint accepts type=show for podcasts and type=audiobook for audiobooks. Dedicated endpoints exist for retrieving show details (GET /shows/{id}), episodes (GET /shows/{id}/episodes), audiobook chapters (GET /audiobooks/{id}/chapters), and managing saved shows and audiobooks in the user's library.

GET STARTED

Start building with Spotify Web API

Explore with Jentic
View OpenAPI Document