How to Use Spotify playlist tracks in Grok
Fetch public Spotify playlist metadata and up to 50 tracks per page, with artists, albums, durations, and available play counts. Use it to inspect a known playlist or compare its track list over time; follow pagination for longer playlists.
Prompts to try with Spotify playlist tracks in Grok
Copy an example into Grok, or ask in your own words.
Use Spotify playlist tracks to read all of All Out 80s at https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe and list every Madonna track with its album and duration.
Use Spotify playlist tracks for https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe and tell me which ten credited artists appear most often, including collaborations.
Use Spotify playlist tracks for https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe and calculate the total running time after reading the entire playlist.
Use Spotify playlist tracks for https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe and list the ten tracks with the highest returned play counts, alongside their artists and albums.
Use Spotify playlist tracks for https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe and check for repeated recordings. Show exact identifier matches separately from matching titles and artists.
How to set up Spotify playlist tracks in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 Spotify playlist tracks
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/spotify-playlist", "input": { "id": "37i9dQZF1DX4UtSsGT1Sbe" } }'
Then paste one of the prompts above: Grok finds Spotify playlist tracks on Spiral, shows the price and runs it.
Spotify playlist tracks providers and prices
Spiral runs Spotify playlist tracks through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with Spotify playlist tracks in Grok?
Turn a Spotify editorial playlist into a readable music brief with track titles, artists, albums, and running time. A chat app can answer focused questions about the returned selection after reading all its pages.
Check an artist's playlist placement
Look for a public recording artist's tracks in a specified editorial playlist and report the matching titles, albums, and Spotify identifiers.
Compare playlist editions
Compare two permitted observations of an editorial playlist to identify tracks added or removed. Read every page before calculating differences.
Measure artist representation
Count track appearances by credited artist in a public editorial playlist. Keep collaborations visible so the counting method is clear.
Find overlapping selections
Compare specified public editorial playlists by track identifier to find shared recordings and tracks unique to each selection.
Calculate playlist duration
Sum returned track durations to estimate the playlist's total running time, and list its shortest and longest tracks.
Audit repeated recordings
Find repeated track identifiers and repeated artist-title combinations in a public brand playlist. Keep exact duplicates separate from potentially different recordings.
Prepare a music editorial brief
Turn a public editorial playlist into a reference list of track titles, credited artists, albums, and available play counts for a music editor.
More on Spotify playlist tracks and Grok
Overview
Spotify playlist tracks in other agents
Questions about Spotify playlist tracks in Grok
Can Grok use Spotify playlist tracks?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Spotify playlist tracks like any built-in tool.
How much does Spotify playlist tracks cost in Grok?
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 Grok plan is separate.
Do I need a ScrapeCreators account to use Spotify playlist tracks in Grok?
No. Spiral runs Spotify playlist tracks 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 playlist tracks in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while Spotify playlist tracks runs?
Spotify playlist tracks runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
Does this cover private Spotify playlists?
The endpoint documents public playlists only. Spotify treats playlist privacy and profile visibility as separate controls, so absence from a profile alone does not establish that a playlist is private.
What does Spotify playlist data include?
The documented response includes playlist name, description, owner, artwork, followers, and total track count. Track rows include titles, artists, albums, durations in milliseconds, and play counts.
Will one request return the whole playlist?
Each request returns up to 50 tracks. For longer playlists, follow the returned continuation until it ends before treating the track list as complete.
How fresh is the playlist information?
ScrapeCreators says it fetches Spotify's latest available playlist information when you make a request. That describes retrieval freshness, rather than a fixed schedule for Spotify to update each playlist.
Does a response include past follower or play counts?
A current follower or play count is not a historical dataset. Comparing counts over time requires separate observations collected under the permissions that apply to your use.
Start using Spotify playlist tracks in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


