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

Claude Code · Social Media

How to Use Apple Music song details in Claude Code

Fetch an Apple Music song’s title, link, duration, track number, and explicit-content flag. Use it to check a specific recording or enrich a track list; the documented example leaves artist and album blank.

Prompts to try with Apple Music song details in Claude Code

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

Use Apple Music song details for https://music.apple.com/us/album/lover/1468058165?i=1468058169 and add the returned title and source link to our music reference fixture.

Apple Music song detailsClaude Code
Try asking
  • Use Apple Music song details for https://music.apple.com/us/album/lover/1468058165?i=1468058169 and compare its duration with the value in our track catalog. Show the difference in seconds.

  • Use Apple Music song details for https://music.apple.com/us/album/lover/1468058165?i=1468058169 and update our track review table with the returned track number and explicit-content flag.

  • Use Apple Music song details for https://music.apple.com/us/album/lover/1468058165?i=1468058169 to inspect whether artist and album are populated, then make our song component handle that response.

  • Use Apple Music song details for https://music.apple.com/us/album/lover/1468058165?i=1468058169 and create a project report comparing its returned title, duration, and track number with our stored record.

How to set up Apple Music song details in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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 song 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-track",
        "input": {
          "id": "1833328840"
        }
      }'

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

Apple Music song details providers and prices

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

ScrapeCreatorsSocial Media
Apple Music · Track
scrapecreators/apple-music-track

What can you do with Apple Music song details in Claude Code?

Build a track review table from Apple Music song titles, durations, track numbers, and explicit-content flags. Your coding agent can compare those results with project records and handle the blank artist and album values shown in the provider’s example.

Check a track list

Compare supplied Apple Music links with returned song titles and track numbers to flag incorrect entries for review.

Calculate a proposed playlist’s runtime

Retrieve the songs behind a supplied list of links and total their returned durations for a listening session.

Review explicit-content labels

Build a review list from the returned explicit-content flags before selecting tracks for a public event.

Check catalog metadata completeness

Identify song records with missing artist or album details before using them in a music reference table.

Prepare music research notes

Turn a supplied song link into a compact reference containing its returned title, duration, track number, and source link.

Review metadata changes

Where permitted, compare repeated lookups of known song links and report changes to titles, durations, track numbers, or explicit-content flags.

Questions about Apple Music song details in Claude Code

Can Claude Code use Apple Music song details?

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

How much does Apple Music song details cost in Claude Code?

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

Do I need a ScrapeCreators account to use Apple Music song details in Claude Code?

No. Spiral runs Apple Music song 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 song details in Claude Code?

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

Does Claude Code wait while Apple Music song details runs?

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

What song information can I expect?

The documented example includes a title, Apple Music link, duration in milliseconds, track number, and explicit-content flag. It describes a specific song rather than an album’s full track list.

Are artist and album details always filled in?

No. Both artist and album are null in the provider’s example, even though the title, duration, and track number are populated.

How fresh is the information?

ScrapeCreators says it fetches the latest available track information when you make a request. That describes retrieval timing, not a guaranteed schedule for Apple Music metadata changes.

Is Apple Music’s catalog identical in every country?

No. Apple states that content varies by geographic region, so a listing in one country does not establish worldwide availability.

Does this provide private listening data or guaranteed metadata?

ScrapeCreators describes its service as retrieving publicly available website information. Its terms explicitly decline to guarantee availability or accuracy.

Get started

Start using Apple Music song details in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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