# Zapier — Spotify Integrations
> zapier.com/apps/spotify/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
Spotify is a music streaming service that provides digital content from record labels and media companies.

- App slug: spotify
- Operations published here: 22 (5 events, 12 functions, 5 queries)

## Authentication
Zapier connects to Spotify via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection spotify
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/spotify/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect Spotify through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_items_to_playlist`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "spotify", owner: "me" });

const { data } = await zapier.runAction({
  app: "spotify",
  actionType: "write",
  action: "add_items_to_playlist",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action spotify write add_items_to_playlist \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Spotify's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "spotify" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions spotify --page-size 50 --max-items 200 --json
```

### Events (5)

Events fire when something happens in Spotify. Use them to start a run.

#### New Played Track
Triggers when a track finishes playing. Use with a Filter step to only trigger when particular song/s plays. 

- Type: read · Key: `get_recently_played`
- Requires: nothing
- SDK: `runAction({ app: "spotify", actionType: "read", action: "get_recently_played" })`
- CLI: `npx zapier-sdk run-action spotify read get_recently_played`

#### New Saved Track
Triggers when a new track is "Liked". 

- Type: read · Key: `get_saved_tracks`
- Requires: nothing
- SDK: `runAction({ app: "spotify", actionType: "read", action: "get_saved_tracks" })`
- CLI: `npx zapier-sdk run-action spotify read get_saved_tracks`

#### New Podcast Episode
Triggers when a new episode is added to the selected show.

- Type: read · Key: `new_episode`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "read", action: "new_episode" })`
- CLI: `npx zapier-sdk run-action spotify read new_episode`

#### New Playlist
Triggers when a new playlist is created. 

- Type: read · Key: `new_playlist`
- Requires: nothing
- SDK: `runAction({ app: "spotify", actionType: "read", action: "new_playlist" })`
- CLI: `npx zapier-sdk run-action spotify read new_playlist`

#### New Track Added to Playlist
Triggers when a new track is added to one of your playlists.

- Type: read · Key: `new_track_added_to_playlist`
- Requires: nothing
- Optional: ID
- SDK: `runAction({ app: "spotify", actionType: "read", action: "new_track_added_to_playlist" })`
- CLI: `npx zapier-sdk run-action spotify read new_track_added_to_playlist`

### Functions (12)

Functions change something in Spotify.

#### Add Items to Playlist
Add one or more items to your playlist. Only available for tracks and episodes. 

- Type: write · Key: `add_items_to_playlist`
- Requires: playlist_id, uris
- Optional: position
- SDK: `runAction({ app: "spotify", actionType: "write", action: "add_items_to_playlist" })`
- CLI: `npx zapier-sdk run-action spotify write add_items_to_playlist`

#### Create Playlist
Create a new playlist. 

- Type: write · Key: `create_playlist`
- Requires: name
- Optional: description, public, collaborative
- SDK: `runAction({ app: "spotify", actionType: "write", action: "create_playlist" })`
- CLI: `npx zapier-sdk run-action spotify write create_playlist`

#### Find Top Tracks for Artist
Retrieve the top tracks for an artist, by market. Returned as an array of line items. 

- Type: write · Key: `find_top_tracks_create`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "write", action: "find_top_tracks_create" })`
- CLI: `npx zapier-sdk run-action spotify write find_top_tracks_create`

#### Get Currently Playing Track
Retrieve the item currently being played on the user's Spotify account.

- Type: write · Key: `get_current_track`
- Requires: nothing
- SDK: `runAction({ app: "spotify", actionType: "write", action: "get_current_track" })`
- CLI: `npx zapier-sdk run-action spotify write get_current_track`

#### Get Show Details
Get Spotify catalog information for a single Saved Show.

- Type: write · Key: `get_show`
- Requires: nothing
- Optional: id
- SDK: `runAction({ app: "spotify", actionType: "write", action: "get_show" })`
- CLI: `npx zapier-sdk run-action spotify write get_show`

#### Get Show Episodes
Retrieves list of 5 most recent episodes in an array of line items.

- Type: write · Key: `get_show_episodes`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "write", action: "get_show_episodes" })`
- CLI: `npx zapier-sdk run-action spotify write get_show_episodes`

#### Get Track's Audio Features
Get audio feature information for a single track identified by its unique Spotify ID.

- Type: write · Key: `get_track_audio_features`
- Requires: id
- Optional: feature_definitions
- SDK: `runAction({ app: "spotify", actionType: "write", action: "get_track_audio_features" })`
- CLI: `npx zapier-sdk run-action spotify write get_track_audio_features`

#### Save Album
Save one or more albums to Your Library.

- Type: write · Key: `save_album`
- Requires: ids
- SDK: `runAction({ app: "spotify", actionType: "write", action: "save_album" })`
- CLI: `npx zapier-sdk run-action spotify write save_album`

#### Save Episode to My User
Add Episode to Your Episodes.

- Type: write · Key: `save_episode`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "write", action: "save_episode" })`
- CLI: `npx zapier-sdk run-action spotify write save_episode`

#### Save Track(s)
Save one or more tracks to Your Library.

- Type: write · Key: `save_tracks`
- Requires: ids
- SDK: `runAction({ app: "spotify", actionType: "write", action: "save_tracks" })`
- CLI: `npx zapier-sdk run-action spotify write save_tracks`

#### Start/Resume Playback
Start or resume current playback on an active device.

- Type: write · Key: `start_playback`
- Requires: playback_copy
- Optional: context_uri, uris, offset, device_id
- SDK: `runAction({ app: "spotify", actionType: "write", action: "start_playback" })`
- CLI: `npx zapier-sdk run-action spotify write start_playback`

#### Update Playlist
Edit the playlist name, description or private/public state.

- Type: write · Key: `update_playlist`
- Requires: playlist_id
- Optional: name, description, public, collaborative
- SDK: `runAction({ app: "spotify", actionType: "write", action: "update_playlist" })`
- CLI: `npx zapier-sdk run-action spotify write update_playlist`

### Queries (5)

Queries read from Spotify and return data. They change nothing.

#### Find Episode
Get Spotify catalog information for a single show episode.

- Type: search · Key: `find_episode`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "search", action: "find_episode" })`
- CLI: `npx zapier-sdk run-action spotify search find_episode`

#### Find Top Track for Artist
Get Spotify catalog information about an artist's top track, by market. 

- Type: search · Key: `find_top_tracks`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "search", action: "find_top_tracks" })`
- CLI: `npx zapier-sdk run-action spotify search find_top_tracks`

#### Find Track
Get Spotify catalog information for a single track.

- Type: search · Key: `find_track`
- Requires: id
- SDK: `runAction({ app: "spotify", actionType: "search", action: "find_track" })`
- CLI: `npx zapier-sdk run-action spotify search find_track`

#### Get Saved Shows
Get a list of the current user’s saved shows as array of line items. Maximum of 50 shows. 

- Type: search · Key: `get_tracks`
- Requires: nothing
- Optional: get_saved_shows_copy
- SDK: `runAction({ app: "spotify", actionType: "search", action: "get_tracks" })`
- CLI: `npx zapier-sdk run-action spotify search get_tracks`

#### Search for Item
Get Spotify catalog information about an album, artist, playlist, track, show or episode that match a keyword string.

- Type: search · Key: `search_item`
- Requires: type, q
- Optional: search_copy
- SDK: `runAction({ app: "spotify", actionType: "search", action: "search_item" })`
- CLI: `npx zapier-sdk run-action spotify search search_item`

## Popular integrations
- [Spotify + ChatGPT (OpenAI)](zapier.com/apps/spotify/integrations/chatgpt.md)
- [Spotify + Notion](zapier.com/apps/spotify/integrations/notion.md)
- [Spotify + Google Meet](zapier.com/apps/spotify/integrations/google-meet.md)
- [Spotify + Slack](zapier.com/apps/spotify/integrations/slack.md)
- [Spotify + Twitch](zapier.com/apps/spotify/integrations/twitch.md)
- [Spotify + Google Forms](zapier.com/apps/spotify/integrations/google-forms.md)
- [Spotify + YouTube](zapier.com/apps/spotify/integrations/youtube.md)
- [Spotify + Discord](zapier.com/apps/spotify/integrations/discord.md)
- [Spotify + SoundCloud](zapier.com/apps/spotify/integrations/soundcloud.md)
- [Spotify + Google Sheets](zapier.com/apps/spotify/integrations/google-sheets.md)
- [Spotify + Airtable](zapier.com/apps/spotify/integrations/airtable.md)
- [Spotify + Pinterest](zapier.com/apps/spotify/integrations/pinterest.md)
- [Spotify + Gmail](zapier.com/apps/spotify/integrations/gmail.md)
- [Spotify + Google Forms (Legacy)](zapier.com/apps/spotify/integrations/google-forms-legacy.md)
- [Spotify + Google Docs](zapier.com/apps/spotify/integrations/google-docs.md)
- [Spotify + Dropbox](zapier.com/apps/spotify/integrations/dropbox.md)
- [Spotify + Zoom](zapier.com/apps/spotify/integrations/zoom.md)
- [Spotify + HubSpot](zapier.com/apps/spotify/integrations/hubspot.md)
- [Spotify + Radio.co](zapier.com/apps/spotify/integrations/radioco.md)
- [Spotify + Google Calendar](zapier.com/apps/spotify/integrations/google-calendar.md)
- [Spotify + WordPress](zapier.com/apps/spotify/integrations/wordpress.md)
- [Spotify + Facebook Pages](zapier.com/apps/spotify/integrations/facebook-pages.md)
- [Spotify + Eventbrite](zapier.com/apps/spotify/integrations/eventbrite.md)
- [Spotify + Telegram](zapier.com/apps/spotify/integrations/telegram.md)
- [Spotify + Microsoft Excel](zapier.com/apps/spotify/integrations/excel.md)
- [Spotify + Adalo](zapier.com/apps/spotify/integrations/adalo.md)
- [Spotify + CustomGPT.ai](zapier.com/apps/spotify/integrations/customgptai.md)
- [Spotify + Buffer](zapier.com/apps/spotify/integrations/buffer.md)
- [Spotify + Google Chat](zapier.com/apps/spotify/integrations/google-chat.md)
- [Spotify + WhatsApp Notifications](zapier.com/apps/spotify/integrations/whatsapp-notifications.md)

## Links
- Full app page: zapier.com/apps/spotify/integrations
- MCP: zapier.com/mcp/spotify
- SDK: npmjs.com/package/@zapier/zapier-sdk