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

# How to Use Spotify album details in opencode

Fetch a Spotify release’s artists, release date, label, copyright notices, cover art, and tracks with durations and play counts. Use it to check a specific edition or prepare an album reference sheet.

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

## Prompts to try with Spotify album details in opencode

- Use Spotify album details for https://open.spotify.com/album/4m2880jivSbbyEGAKfITCa and compare its track sequence with our release fixture.
- Use Spotify album details for https://open.spotify.com/album/2noRn2Aes5aoNVsU6iWThc and check our duration conversion against the returned milliseconds.
- Use Spotify album details for https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG and check whether our parser preserves artist URIs.
- Use Spotify album details for https://open.spotify.com/album/4m2880jivSbbyEGAKfITCa and compare the returned cover dimensions with our image selection logic.
- Use Spotify album details for https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG and check whether our release model preserves date precision.

## How to set up Spotify album details in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 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 album 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-album",
    "input": {
      "id": "0pgrg7phBbnwGJ2HBEl9EG"
    }
  }'
```

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

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

## Spotify album details tools and prices

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

## Settings you can ask for

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

## What can you do with Spotify album details in opencode?

Check an album import against Spotify’s track sequence. A coding agent can compare returned metadata with the project’s approved release records.

### Release reference sheets

Prepare an album reference with its artists, date, label, and Spotify link.

### Track sequence checks

Compare disc and track positions against an approved release sequence.

### Runtime checks

Add returned track durations to calculate the running time of the retrieved tracks.

### Explicit content review

Identify tracks carrying an explicit content rating before choosing an edition.

### Credit correction checks

Compare returned artist credits with approved credits before requesting distributor corrections.

### Artwork inventory

Check which cover image dimensions are returned for a release.

## Overview

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

## Spotify album details in other agents

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

## More opencode guides

- [SoundCloud track engagement](https://spiral.ai/integrations/opencode/soundcloud-track-engagement)
- [Spotify artist profile](https://spiral.ai/integrations/opencode/spotify-artist-profile)
- [SoundCloud track details](https://spiral.ai/integrations/opencode/soundcloud-track-details)
- [Spotify catalog search](https://spiral.ai/integrations/opencode/spotify-catalog-search)
- [SoundCloud search suggestions](https://spiral.ai/integrations/opencode/soundcloud-search-suggestions)
- [Spotify playlist tracks](https://spiral.ai/integrations/opencode/spotify-playlist-tracks)

## Questions about Spotify album details in opencode

**Can opencode use Spotify album details?**

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

**How much does Spotify album details cost in opencode?**

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 opencode plan is separate.

**Do I need a ScrapeCreators account to use Spotify album details in opencode?**

No. Spiral runs Spotify album details on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Spotify album details in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Spotify album details runs?**

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

**Does this include private Spotify information?**

ScrapeCreators describes its service as retrieving publicly available information from third-party websites. That coverage boundary does not include private listening histories.

**Is an album available in every country?**

Spotify lets labels and distributors specify individual countries or worldwide availability. An album lookup should not be treated as proof that listeners everywhere can play it.

**How quickly do corrected titles or artwork appear?**

Spotify says updates need at least two business days to process. Fetching an album again cannot show a correction that Spotify has not processed.

**Why might a new release be missing on release day?**

Spotify says it needs five business days to get new music live. Music delivered closer to release day can appear several days late.

**Does the response include different cover image sizes?**

The documented response includes image URLs with dimensions. Its example provides square covers at 64, 300, and 640 pixels.

