[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [YouTube video and Shorts details](https://spiral.ai/integrations/windsurf/youtube-video-and-shorts-details)

# How to Use YouTube video and Shorts details in Windsurf

Fetch a YouTube video's or Short's metadata, public engagement counts, duration, chapters, and available caption tracks. Use it to check a known video's details, compare selected uploads, or review YouTube's paid-promotion disclosures.

|  |  |
| --- | --- |
| Model | YouTube video and Shorts details |
| 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 video and Shorts details in Windsurf

- Use YouTube video and Shorts details for https://www.youtube.com/watch?v=aqz-KE-bpKQ and create a JSON record in this project containing its title, description, publish date, duration, and public engagement counts.
- Use YouTube video and Shorts details for https://www.youtube.com/watch?v=iG9CE55wbtY and add its title, duration, and source URL to our learning-resource catalog.
- Use YouTube video and Shorts details for https://www.youtube.com/watch?v=dQw4w9WgXcQ and build a small table in this project showing its views, likes, comment count, and publish date.
- Use YouTube video and Shorts details for https://www.youtube.com/watch?v=aqz-KE-bpKQ and save a report of the available caption tracks and their languages in this project's content directory.
- Use YouTube video and Shorts details for https://www.youtube.com/watch?v=iG9CE55wbtY and compare the returned title and description with any existing record for that URL in this repository.

## How to set up YouTube video and Shorts details in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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.

```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 video and Shorts details**: 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-video",
    "input": {
      "url": "https://www.youtube.com/watch?v=bjVIDXPP7Uk"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds YouTube video and Shorts details on Spiral, shows the price and runs it.

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

## YouTube video and Shorts details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| language |  | — | Preferred response language as a 2-letter code (`en`, `es`, `fr`). YouTube's localization may not follow it. |
| 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`). |

## What can you do with YouTube video and Shorts details in Windsurf?

Build a video reference table from public YouTube links in your project's content files. Add returned titles, durations, publish dates, and engagement counts so editors can review selected videos together.

### Build a video reference catalog

Turn selected public video links into a catalog with titles, descriptions, publish dates, durations, and source URLs for an editorial team.

### Compare selected public uploads

Compare views, likes, and comment counts across a supplied list of brand or creator videos, alongside each video's publish date and duration.

### Report on campaign videos

Refresh public engagement counts for a known set of campaign video URLs and calculate changes from snapshots your team has already saved.

### Check metadata edits

Compare repeated responses for public business videos to identify changes in titles, descriptions, keywords, and paid-promotion status.

### Choose videos for a timed program

Use returned durations and descriptions to shortlist public educational videos that fit a workshop, screening discussion, or training agenda.

### Review caption availability

Check available caption tracks for selected public videos before choosing resources for a multilingual learning program.

### Review promotion disclosures

Collect YouTube's paid-promotion status for selected brand and creator uploads so a reviewer can examine the platform's disclosures.

## Overview

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

## YouTube video and Shorts details in other agents

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

## More Windsurf guides

- [YouTube trending Shorts](https://spiral.ai/integrations/windsurf/youtube-trending-shorts)
- [YouTube video captions](https://spiral.ai/integrations/windsurf/youtube-video-captions)
- [YouTube transcript](https://spiral.ai/integrations/windsurf/youtube-transcript)
- [YouTube video comment replies](https://spiral.ai/integrations/windsurf/youtube-video-comment-replies)
- [YouTube structured search results](https://spiral.ai/integrations/windsurf/youtube-structured-search-results)
- [YouTube video comments](https://spiral.ai/integrations/windsurf/youtube-video-comments)

## Questions about YouTube video and Shorts details in Windsurf

**Can Windsurf use YouTube video and Shorts details?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run YouTube video and Shorts details like any built-in tool.

**How much does YouTube video and Shorts details cost in Windsurf?**

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

**Do I need a ScrapeCreators account to use YouTube video and Shorts details in Windsurf?**

No. Spiral runs YouTube video and Shorts 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 YouTube video and Shorts details in Windsurf?**

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

**Does Windsurf wait while YouTube video and Shorts details runs?**

YouTube video and Shorts details runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**Does this cover Shorts as well as regular YouTube videos?**

Yes. The documentation covers both YouTube videos and Shorts, with metadata such as publish date, duration, public engagement counts, and available caption tracks.

**Can it retrieve age-restricted videos?**

Age-restricted videos return a 403 error. The documented response does not provide their video details.

**How fresh is the YouTube data?**

ScrapeCreators says live retrieval fetches the latest information available from YouTube when the request is made. That describes retrieval freshness, rather than a fixed YouTube update schedule.

**Why might a video's view count stop moving or change later?**

YouTube verifies engagement and may temporarily slow, freeze, or revise counts. It also discards low-quality playbacks, so a later count can reflect corrections.

**Does the response include a downloadable video?**

No. ScrapeCreators explicitly excludes hosted video downloads from this endpoint; its documented output covers video details and related metadata.

