[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [YouTube transcript](https://spiral.ai/integrations/openclaw/youtube-transcript)

# How to Use YouTube transcript in OpenClaw

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.

|  |  |
| --- | --- |
| Model | YouTube transcript |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with YouTube transcript in OpenClaw

- Every Monday, use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=WUvTyaaNkzM. Compare the captions with the previous response and report changed passages with timestamps.
- Each month, use YouTube video transcript for freeCodeCamp's https://www.youtube.com/watch?v=rfscVS0vtbw. Refresh a topic outline from the returned captions and highlight wording changes since the previous run.
- Every Friday, use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=3b_qM4o5nWo. Check whether the passages used in my vector study notes have changed and show the old and new text.
- Each month, use YouTube video transcript for 3Blue1Brown's https://www.youtube.com/watch?v=WUvTyaaNkzM. Compare caption start and end times with the previous response and list timing changes.
- Every Monday, use YouTube video transcript for freeCodeCamp's https://www.youtube.com/watch?v=rfscVS0vtbw. Produce five review questions from the functions section with supporting timestamps, and tell me if captions are unavailable.

## How to set up YouTube transcript in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
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.

```bash
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: OpenClaw finds YouTube transcript on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## YouTube transcript tools and prices

- [YouTube transcript](https://spiral.ai/tools/scrapecreators/scrapecreators/youtube-transcript) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| language |  | — | Caption language code (`en`, `es`, `fr`, `en-US`). Overrides the default track selection unless `original_audio` is true; without it, captions matching the video's language are preferred. |
| cache_max_age | 1d, 3d, 7d, 14d, 30d | — | Return ScrapeCreators' cached answer when it is at most this old (0 credits, with `cached: true` and `cached_at`). |
| original_audio |  | — | Return captions only in the original spoken language YouTube identified. Takes precedence over `language`. |

## What can you do with YouTube transcript in OpenClaw?

Keep a selected YouTube video's study notes aligned with changes to its captions. A scheduled agent can compare returned text and timing with its previous response and report revisions.

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

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## YouTube transcript in other agents

- [Amp](https://spiral.ai/integrations/amp/youtube-transcript)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/youtube-transcript)
- [Claude](https://spiral.ai/integrations/claude-desktop/youtube-transcript)
- [Claude Code](https://spiral.ai/integrations/claude-code/youtube-transcript)
- [Cline](https://spiral.ai/integrations/cline/youtube-transcript)
- [Codex](https://spiral.ai/integrations/codex/youtube-transcript)
- [Cursor](https://spiral.ai/integrations/cursor/youtube-transcript)
- [Devin](https://spiral.ai/integrations/devin/youtube-transcript)
- [dots](https://spiral.ai/integrations/dots/youtube-transcript)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/youtube-transcript)
- [Gemini](https://spiral.ai/integrations/gemini/youtube-transcript)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/youtube-transcript)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/youtube-transcript)
- [goose](https://spiral.ai/integrations/goose/youtube-transcript)
- [Grok](https://spiral.ai/integrations/grok/youtube-transcript)
- [Grok Build](https://spiral.ai/integrations/grok-build/youtube-transcript)
- [Hermes](https://spiral.ai/integrations/hermes/youtube-transcript)
- [Instinct](https://spiral.ai/integrations/instinct/youtube-transcript)
- [Manus](https://spiral.ai/integrations/manus/youtube-transcript)
- [Muse](https://spiral.ai/integrations/muse/youtube-transcript)
- [Muse Code](https://spiral.ai/integrations/muse-code/youtube-transcript)
- [n8n](https://spiral.ai/integrations/n8n/youtube-transcript)
- [Notion](https://spiral.ai/integrations/notion/youtube-transcript)
- [opencode](https://spiral.ai/integrations/opencode/youtube-transcript)
- [Perplexity](https://spiral.ai/integrations/perplexity/youtube-transcript)
- [Raycast](https://spiral.ai/integrations/raycast/youtube-transcript)
- [VS Code](https://spiral.ai/integrations/vscode/youtube-transcript)
- [Windsurf](https://spiral.ai/integrations/windsurf/youtube-transcript)
- [Zapier](https://spiral.ai/integrations/zapier/youtube-transcript)

## More OpenClaw guides

- [YouTube structured search results](https://spiral.ai/integrations/openclaw/youtube-structured-search-results)
- [YouTube trending Shorts](https://spiral.ai/integrations/openclaw/youtube-trending-shorts)
- [YouTube signed playback URL](https://spiral.ai/integrations/openclaw/youtube-signed-playback-url)
- [YouTube video and Shorts details](https://spiral.ai/integrations/openclaw/youtube-video-and-shorts-details)
- [YouTube selected video download links](https://spiral.ai/integrations/openclaw/youtube-selected-video-download-links)
- [YouTube video captions](https://spiral.ai/integrations/openclaw/youtube-video-captions)

## Questions about YouTube transcript in OpenClaw

**Can OpenClaw use YouTube transcript?**

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

**How much does YouTube transcript cost in OpenClaw?**

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 OpenClaw plan is separate.

**Do I need a ScrapeCreators account to use YouTube transcript in OpenClaw?**

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 OpenClaw?**

About two minutes: add the server, then sign in, then reload and check.

**Does OpenClaw wait while YouTube transcript runs?**

YouTube transcript runs in the background. OpenClaw 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.

