[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [YouTube search suggestions](https://spiral.ai/integrations/windsurf/youtube-search-suggestions)

# How to Use YouTube search suggestions in Windsurf

Returns autocomplete phrases for a search term, typically 10–20 suggestions that vary by language and region. Use it to expand topic ideas with YouTube's own suggested wording.

|  |  |
| --- | --- |
| Model | YouTube search suggestions |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with YouTube search suggestions in Windsurf

- Use YouTube search suggestions for 'Blender tutorial' in US English and populate this project's topic picker with the returned phrases.
- Use YouTube search suggestions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from YouTube search suggestions and tell me what changed since last week.
- Check YouTube search suggestions and summarize what you find in three bullet points.
- Pull the newest data from YouTube search suggestions and give me the result as a table.

## How to set up YouTube search suggestions 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 search suggestions**: 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": "tikhub",
    "model": "tikhub/youtube-web-v2-get-search-suggestions",
    "input": {
      "keyword": "Rick Astley"
    }
  }'
```

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

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

## YouTube search suggestions tools and prices

- [YouTube Web V2 · Get search suggestions](https://spiral.ai/tools/tikhub/tikhub/youtube-web-v2-get-search-suggestions) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| region |  | US | Region code (e.g., US, SG, CN, JP) |
| language |  | en | Language code (e.g., en, zh-cn, ja) |

## What can you do with YouTube search suggestions in Windsurf?

Build a YouTube research view that turns retrieved text, content links, and public engagement data into reviewable records. A coding agent can adapt the project's parser and presentation to the specific YouTube data you choose.

### Plan a tutorial from audience questions

Combine autocomplete phrases, Shorts examples, community announcements, related videos, and comment discussions to choose a tutorial topic and outline the questions it should answer.

### Review a public product launch

Compare a brand's community announcement, launch-video captions, audience questions, Shorts coverage, related videos, and autocomplete phrases. Separate what the brand announced from what viewers asked about.

### Draft a product education FAQ

Collect recurring questions from comments and replies, compare them with tutorial captions and community posts, and use search suggestions and Shorts examples to identify gaps in the explanation.

### Build a course viewing list

Find lesson candidates through Shorts searches, autocomplete, and related videos. Review available captions and educators' community posts to write a viewing list with a clear purpose for each selection.

## Overview

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

## YouTube search suggestions in other agents

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

## More Windsurf guides

- [YouTube related videos](https://spiral.ai/integrations/windsurf/youtube-related-videos)
- [YouTube selected video download links](https://spiral.ai/integrations/windsurf/youtube-selected-video-download-links)
- [YouTube raw search results](https://spiral.ai/integrations/windsurf/youtube-raw-search-results)
- [YouTube signed playback URL](https://spiral.ai/integrations/windsurf/youtube-signed-playback-url)
- [YouTube raw Shorts search results](https://spiral.ai/integrations/windsurf/youtube-raw-shorts-search-results)
- [YouTube structured search results](https://spiral.ai/integrations/windsurf/youtube-structured-search-results)

## Questions about YouTube search suggestions in Windsurf

**Can Windsurf use YouTube search suggestions?**

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

**How much does YouTube search suggestions cost in Windsurf?**

$0.0013 per request. 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 TikHub account to use YouTube search suggestions in Windsurf?**

No. Spiral runs YouTube search suggestions on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up YouTube search suggestions in Windsurf?**

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

**Does Windsurf wait while YouTube search suggestions runs?**

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

**Can public YouTube search reveal private videos?**

Private videos do not appear in YouTube search results. Unlisted videos generally stay out of search, with an exception when someone adds one to a public playlist.

**How fresh are YouTube engagement counts?**

YouTube says metrics may take time to appear during the first few hours after publication. Counts can also slow down, freeze, or change while YouTube verifies engagement.

**Why can YouTube recommendations differ between viewers?**

YouTube uses viewing habits and other signals to personalize recommendations. For Up Next, the video currently being watched is the main recommendation signal.

**Does language or region affect YouTube's suggested search terms?**

Yes. TikHub documents different autocomplete suggestions by language and region, typically returning 10–20 phrases for a query.

**Are YouTube's automatic captions accurate enough to quote?**

YouTube warns that automatic captions can misrepresent speech because of accents, mispronunciations, dialects, or background noise. Check the relevant passage before using it as a direct quote.

