[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Spotify track details](https://spiral.ai/integrations/n8n/spotify-track-details)

# How to Use Spotify track details in n8n

Fetch a Spotify song’s title, artists, album information, duration, playability, sharing details, and play count when available. Use it to check a specific recording, enrich a music catalog, or compare public play totals across selected tracks.

|  |  |
| --- | --- |
| Model | Spotify track details |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Spotify track details in n8n

- Every Monday, use Spotify track details for https://open.spotify.com/track/1ITJflybJsfarsUtiBvkfK and report any change to the title, artist credits, or album information since the previous check.
- Each morning, use Spotify track details for https://open.spotify.com/track/6sTlzpJaFGkFQ4BNccmbW9 and report its play total when returned, alongside the change from the previous observation.
- Once a week, use Spotify track details for https://open.spotify.com/track/4ChomJf8z16E6Zw4EoioYY and flag changes to its explicit-content label or returned playability.
- Every Friday, use Spotify track details for https://open.spotify.com/track/1ITJflybJsfarsUtiBvkfK and https://open.spotify.com/track/6sTlzpJaFGkFQ4BNccmbW9 and prepare a table of their available play totals.
- On the first day of each month, use Spotify track details for https://open.spotify.com/track/4ChomJf8z16E6Zw4EoioYY and summarize changes to its title, artist credits, duration, and sharing link.

## How to set up Spotify track details in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Spotify track details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Spotify track details, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Spotify track details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "scrapecreators",
    "model": "scrapecreators/spotify-track",
    "input": {
      "id": "1ITJflybJsfarsUtiBvkfK"
    }
  }'
```

Then paste one of the prompts above: n8n finds Spotify track details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Spotify track details tools and prices

- [Spotify · Track](https://spiral.ai/tools/scrapecreators/scrapecreators/spotify-track) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Spotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| url |  | — | Spotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

## What can you do with Spotify track details in n8n?

Produce a recurring review of selected Spotify recordings with changes to titles, credits, content labels, and returned playability. An always-on agent can also compare available play totals between its own observations.

### Enrich a music catalog

Fill catalog records with the Spotify title, artist credits, album information, duration, and sharing link for each selected recording.

### Check recordings before editorial selection

Review artist credits, album information, and duration before adding a recording to an editorial shortlist.

### Screen a shortlist for explicit-content labels

Collect the returned content-rating labels for proposed event or broadcast tracks and flag entries labeled explicit for review.

### Plan a timed music segment

Convert track durations from milliseconds and total the selected songs to check whether they fit a program’s allotted time.

### Compare public play totals

Build a comparison table for selected recordings using available play counts, with missing counts shown separately from numeric totals.

### Review changes to selected recordings

Compare repeated lookups of the same tracks and flag changes in titles, artist credits, explicit-content labels, or returned playability.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Spotify track details in other agents

- [Amp](https://spiral.ai/integrations/amp/spotify-track-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/spotify-track-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/spotify-track-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/spotify-track-details)
- [Cline](https://spiral.ai/integrations/cline/spotify-track-details)
- [Codex](https://spiral.ai/integrations/codex/spotify-track-details)
- [Cursor](https://spiral.ai/integrations/cursor/spotify-track-details)
- [Devin](https://spiral.ai/integrations/devin/spotify-track-details)
- [dots](https://spiral.ai/integrations/dots/spotify-track-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/spotify-track-details)
- [Gemini](https://spiral.ai/integrations/gemini/spotify-track-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/spotify-track-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/spotify-track-details)
- [goose](https://spiral.ai/integrations/goose/spotify-track-details)
- [Grok](https://spiral.ai/integrations/grok/spotify-track-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/spotify-track-details)
- [Hermes](https://spiral.ai/integrations/hermes/spotify-track-details)
- [Instinct](https://spiral.ai/integrations/instinct/spotify-track-details)
- [Manus](https://spiral.ai/integrations/manus/spotify-track-details)
- [Muse](https://spiral.ai/integrations/muse/spotify-track-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/spotify-track-details)
- [Notion](https://spiral.ai/integrations/notion/spotify-track-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/spotify-track-details)
- [opencode](https://spiral.ai/integrations/opencode/spotify-track-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/spotify-track-details)
- [Raycast](https://spiral.ai/integrations/raycast/spotify-track-details)
- [VS Code](https://spiral.ai/integrations/vscode/spotify-track-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/spotify-track-details)
- [Zapier](https://spiral.ai/integrations/zapier/spotify-track-details)

## More n8n guides

- [Spotify podcast episodes](https://spiral.ai/integrations/n8n/spotify-podcast-episodes)
- [Stack Exchange accepted answers](https://spiral.ai/integrations/n8n/stack-exchange-accepted-answers)
- [Spotify podcast details](https://spiral.ai/integrations/n8n/spotify-podcast-details)
- [Stack Exchange answer details](https://spiral.ai/integrations/n8n/stack-exchange-answer-details)
- [Spotify playlist tracks](https://spiral.ai/integrations/n8n/spotify-playlist-tracks)
- [Stack Exchange post edit history](https://spiral.ai/integrations/n8n/stack-exchange-post-edit-history)

## Questions about Spotify track details in n8n

**Can n8n use Spotify track details?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Spotify track details like any built-in tool.

**How much does Spotify track details cost in n8n?**

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a ScrapeCreators account to use Spotify track details in n8n?**

You need no ScrapeCreators account. n8n uses one Spiral API key for every tool, and Spiral runs Spotify track details on its own ScrapeCreators account.

**How long does it take to set up Spotify track details in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Spotify track details runs?**

Spotify track details runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does this return a whole Spotify catalog or playlist?**

The track lookup fetches one public Spotify track. Use it to inspect a known recording rather than discover or export a catalog.

**Is a Spotify play count always included?**

No. ScrapeCreators says play counts depend on what Spotify exposes through the source used by the track route, so a play total is conditional.

**How fresh is the track information?**

ScrapeCreators says it fetches the latest available Spotify information when a request is made. That describes retrieval freshness; it does not establish how quickly Spotify updates each underlying value.

**Can I check song length and explicit-content labeling?**

Yes. The documented response includes a content-rating label and duration in milliseconds, so divide duration by 1,000 to express it in seconds.

**What does Spotify count as a song stream?**

Spotify counts a song stream once a listener plays the song for at least 30 seconds. A play total therefore should not be described as the number of people who heard the song.

