How to Use YouTube Playlist in Grok
Fetch videos inside a YouTube playlist, including titles, links, thumbnails, durations, and channels, plus playlist metadata. Use it to inventory a course or curated collection and calculate watch time across the returned videos.
Prompts to try with YouTube Playlist in Grok
Copy an example into Grok, or ask in your own words.
Use YouTube playlist videos for 3Blue1Brown's Essence of linear algebra, PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab. List the returned lesson titles, links, and durations, and show the total watch time.
Use YouTube playlist videos for 3Blue1Brown's Neural networks playlist, PLZHQObOWTQDMXMi3bUMThGdYqos36X_lA. Make a study plan with about 30 minutes of video per day, allowing longer lessons to span days.
Use YouTube playlist videos for PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab. Show lessons shorter than 15 minutes with their titles and direct links.
Use YouTube playlist videos for PLZHQObOWTQDMXMi3bUMThGdYqos36X_lA. Group the returned titles by apparent topic and mark those groupings as title-based.
Use YouTube playlist videos for PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab and PLZHQObOWTQDMXMi3bUMThGdYqos36X_lA. Compare the collected lesson counts and watch times, and tell me whether either collection falls short of its reported total.
How to set up YouTube Playlist 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 YouTube Playlist
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/youtube-playlist", "input": { "playlist_id": "PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS" } }'
Then paste one of the prompts above: Grok finds YouTube Playlist on Spiral, shows the price and runs it.
YouTube Playlist providers and prices
Spiral runs YouTube Playlist through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with YouTube Playlist in Grok?
Turn a YouTube course playlist into a study plan with lesson links and watch-time estimates. A chat assistant can compare returned lessons by duration and title without claiming to have watched the videos.
Build a course inventory
Turn an educational playlist into a lesson table with titles, video links, durations, and channels. Compare the collected row count with the playlist's reported total before calling the inventory complete.
Estimate study time
Add the durations of returned lessons and divide the watch time into daily study sessions. State how many videos the estimate covers.
Monitor a public course
Compare successive collections of a public course playlist to identify newly returned videos and changed titles. Flag count mismatches before interpreting missing rows as removals.
Compare learning resources
Compare two public educational playlists by returned lesson count, total duration, and topics suggested by their titles. Keep title-based topic judgments separate from claims about lesson content.
Audit a curated resource list
List the channels represented in a public organization or educator's playlist and count their returned videos. Identify whether the collection draws from one publisher or several.
Refresh a learning directory
Populate a course directory with returned lesson titles, thumbnails, links, and durations. Refresh the metadata when preparing a new directory edition.
Find overlapping lessons
Compare video URLs across public playlists to find lessons included in more than one collection. Produce a combined watchlist without repeating the same video.
More on YouTube Playlist and Grok
Overview
YouTube Playlist in other agents
Questions about YouTube Playlist in Grok
Can Grok use YouTube Playlist?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run YouTube Playlist like any built-in tool.
How much does YouTube Playlist 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 YouTube Playlist in Grok?
No. Spiral runs YouTube Playlist on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up YouTube Playlist 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 YouTube Playlist runs?
YouTube Playlist runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.
What does the playlist data include?
Each returned video includes its title, link, thumbnail, duration, and channel. The response also includes playlist metadata such as its title, owner, and reported total video count.
Does one response contain the whole playlist?
The current documentation describes paginated results. Follow the returned continuation token and stop when it is null.
Can the returned video count differ from YouTube's reported total?
Yes. ScrapeCreators' October 6, 2026 test returned 79 rows for a playlist reporting 245 videos. That test predates the current pagination documentation, so 79 should not be treated as today's result limit.
Is the data collected on a fixed update schedule?
ScrapeCreators describes retrieval as on demand, rather than a daily or weekly data feed. That description does not establish a maximum delay between a YouTube edit and its appearance in a response.
Are private playlists part of the available public data?
ScrapeCreators describes its collection as publicly available information. YouTube restricts private playlists to their owner and chosen viewers, so this endpoint should not be treated as access to private collections.
Start using YouTube Playlist 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


