Spiral gives your agent every tool with one account. Browse the tools →

opencode · Social Media

How to Use Apple Music album details in opencode

Fetch an Apple Music album’s title, artist, release information, song count, and tracks with durations and track numbers. Use it to check a specific release or prepare an ordered tracklist.

Prompts to try with Apple Music album details in opencode

Copy an example into opencode, or ask in your own words.

Use Apple Music album details for album 1468058165 and compare its title, artist, and song count with the Lover record in my project.

Apple Music album detailsopencode
Try asking
  • Use Apple Music album details for album 1528112358 and add the returned track numbers and durations to my project’s folklore deluxe research table.

  • Use Apple Music album details for album 1468058165 and create a CSV of returned song titles, track numbers, and durations in seconds.

  • Use Apple Music album details for album 1528112358 and check whether the returned track total matches its reported song count before calculating runtime.

  • Use Apple Music album details for album 1468058165 and compare the returned release information with the date and copyright text stored in my catalog.

How to set up Apple Music 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Apple Music album details

    One request; the result comes back by polling or a webhook.

    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/apple-music-album",
        "input": {
          "id": "1468058165"
        }
      }'

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

Apple Music album details providers and prices

Spiral runs Apple Music album details through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Apple Music · Album
scrapecreators/apple-music-album

What can you do with Apple Music album details in opencode?

Build an album record checker that compares your project’s titles, song counts, and track order with Apple Music. Convert returned millisecond durations into readable listening times.

Prepare an album research brief

Collect the credited artist, release information, and song count for a specific album before drafting a review.

Build an ordered tracklist

Arrange returned songs by track number and format their durations for a listening guide.

Check an album edition

Verify the exact title and song count before confusing a standard release with a deluxe edition.

Calculate listening time

Sum returned track durations for an album listening session, checking tracklist completeness first.

Check catalog records

Compare an existing album record’s title, artist, release information, and song count with the returned listing.

Prepare a radio research sheet

Identify returned tracks that fit a program’s time slot and retain their album IDs and track numbers.

Questions about Apple Music album details in opencode

Can opencode use Apple Music album details?

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

How much does Apple Music album details cost in opencode?

$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 Apple Music album details in opencode?

No. Spiral runs Apple Music 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 Apple Music album details in opencode?

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

Does opencode wait while Apple Music album details runs?

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

What track information does the album response include?

The documented track objects contain a song title, duration in milliseconds, track number, and album ID. These support ordered tracklists and calculated listening times.

Is the complete tracklist guaranteed?

The published example reports 18 tracks for Lover but shows only one track object. It does not establish a completeness guarantee; compare the returned track total with the album’s reported count before calculating a full runtime.

What does the release information represent?

It reproduces the album page’s footer, including release date, song count, rounded runtime, and recording copyright notice. For Lover, Apple lists August 23, 2019, 18 songs, and 1 hour 1 minute.

How fresh is the Apple Music data?

ScrapeCreators says it fetches the latest available information when you make a request. This describes retrieval freshness, without promising how quickly Apple updates an album’s metadata.

Does one Apple Music listing represent worldwide availability?

Apple defines storefronts as territories where content is available. A listing in one territory does not establish availability in every territory.

Get started

Start using Apple Music album details in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options