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

Grok · Social Media

How to Use YouTube transcript in Grok

Fetch a public YouTube video's or Short's captions as timed segments and plain text. Use it to summarize spoken content, find passages, or build searchable notes when YouTube exposes a matching caption track.

Prompts to try with YouTube transcript in Grok

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

Use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=WUvTyaaNkzM. Explain the main idea in plain English and give me three timestamps worth revisiting.

YouTube transcriptGrok
Try asking
  • Use YouTube video transcript for freeCodeCamp's https://www.youtube.com/watch?v=rfscVS0vtbw. Make a beginner's study plan organized around the topics actually discussed, with timestamps.

  • Use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=3b_qM4o5nWo. Find the passages explaining what a vector is and compare the explanations.

  • Use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=WUvTyaaNkzM. Give me five review questions, then put the answers and supporting timestamps underneath.

  • Use YouTube video transcript for freeCodeCamp's https://www.youtube.com/watch?v=rfscVS0vtbw. Find the explanation of Python functions and turn it into a short checklist with a timestamp for each step.

How to set up YouTube transcript in Grok

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

Use the Grok connector

  1. 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
  2. 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.

  3. 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

  1. Send Grok 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 YouTube transcript

    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-transcript",
        "input": {
          "url": "https://www.youtube.com/watch?v=bjVIDXPP7Uk"
        }
      }'

Then paste one of the prompts above: Grok finds YouTube transcript on Spiral, shows the price and runs it.

YouTube transcript providers and prices

Spiral runs YouTube transcript through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
YouTube transcript
scrapecreators/youtube-transcript

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cache max age1d, 3d, 7d, 14d, or 30d

Return ScrapeCreators' cached answer when it is at most this old (0 credits, with cached: true and cached_at).

Original audioon or off

Return captions only in the original spoken language YouTube identified. Takes precedence over language.

Every API field of YouTube transcript is on its tool page: open its card above.

What can you do with YouTube transcript in Grok?

Get a lecture summary with timestamps for the explanations you want to revisit. A chat app can answer questions from public YouTube captions and show the passages behind its answers.

Lecture notes with timestamps

Turn a public lecture's caption segments into an outline, definitions, and review questions. Attach timestamps so readers can return to the relevant explanation.

Searchable video references

Index transcript text from selected public videos and return matching passages with their segment times.

Product announcement briefs

Extract product names, stated features, and commitments from a company's public announcement video, with a timestamp for each supporting passage.

Tutorial checklists

Convert a tutorial's spoken instructions into an ordered checklist. Link each step to the caption passage that explains it.

Caption revision review

Compare successive transcript responses for a selected video and flag changed wording or timing for review.

Creator content planning

Use a creator's own captioned videos to draft chapter suggestions, newsletter outlines, and short clip candidates grounded in spoken passages.

YouTube transcript success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
5.9s
Runs, last 24 hours
32
ToolSuccessMedian timeRuns
YouTube transcript100.0%5.9s32

Questions about YouTube transcript in Grok

Can Grok use YouTube transcript?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run YouTube transcript like any built-in tool.

How much does YouTube transcript 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 transcript in Grok?

No. Spiral runs YouTube transcript 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 transcript 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 transcript runs?

YouTube transcript runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does every public YouTube video have a transcript?

No. The endpoint retrieves public caption tracks from videos and Shorts, and a missing matching track produces a null transcript. It has no AI transcription fallback.

Can it retrieve captions from an hour-long lecture?

Yes, if YouTube exposes public captions. ScrapeCreators documents support for videos of any length, so an hour-long lecture is within its stated coverage.

Are captions available immediately after upload?

Not always. YouTube says automatic captions may still be processing when a video is uploaded, with timing dependent on audio complexity. Creators can also revise caption text and timing later.

How accurate are YouTube's automatic captions?

YouTube identifies pronunciation, accents, dialects, and background noise as causes of transcription errors. Check important quotations against the audio before using them as exact statements.

Does YouTube automatically caption every language track?

No. YouTube says automatic captions are in the video's default language only. The transcript endpoint returns null when the requested language has no matching captions.

Get started

Start using YouTube transcript in Grok

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

Paste this into Grok:

Set up Grok

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