How to Use Apple Music song details in Muse 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 Muse Code
Copy an example into Muse 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.
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 Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Muse 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.
What can you do with Apple Music song details in Muse 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.
More on Apple Music song details and Muse Code
Apple Music song details in other agents
Questions about Apple Music song details in Muse Code
Can Muse Code use Apple Music song details?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Apple Music song details like any built-in tool.
How much does Apple Music song details cost in Muse 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 Muse Code plan is separate.
Do I need a ScrapeCreators account to use Apple Music song details in Muse 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 Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Apple Music song details runs?
Apple Music song details runs in the background. Muse 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.
Start using Apple Music song details in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


