[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [YouTube keyword search](https://spiral.ai/integrations/grok/youtube-keyword-search)

# How to Use YouTube keyword search in Grok

Find YouTube videos, Shorts, channels, playlists, and live streams by keyword, with video titles, links, views, duration, and channel details. Use it to inspect published results for a topic or product.

|  |  |
| --- | --- |
| Model | YouTube keyword search |
| 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 keyword search in Grok

- Use YouTube keyword search for 'NASA Artemis launch'. Give me up to 10 returned videos with their titles, links, channels, and durations.
- Scrape https://example.com/pricing with YouTube keyword search and turn it into a comparison table.
- Crawl the docs at https://docs.example.com with YouTube keyword search and summarize each section.
- Pull the latest posts from this blog with YouTube keyword search and list their titles and dates.
- Scrape the job listings at https://example.com/careers with YouTube keyword search and give me a CSV.

## How to set up YouTube keyword search 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.

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

```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 keyword search**: 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-search",
    "input": {
      "query": "<query>"
    }
  }'
```

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

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

## YouTube keyword search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| type | videos, shorts, channels, playlists | — | Type of content to search for |
| region |  | — | 2 letter country code of the country to put the proxy in. |
| sortBy | relevance, popular | — | Sort by |
| duration | under_3_min, between_3_and_20_min, over_20_min | — | Duration of the video. Only applies to videos (not shorts). |
| uploadDate | today, this_week, this_month, this_year | — | Upload date |
| includeExtras |  | — | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.* |

## What can you do with YouTube keyword search in Grok?

Create a YouTube topic brief from the wording and public content YouTube returns. A chat assistant can organize suggested searches or video results into concrete questions for your next editorial review.

### Plan a tutorial brief

Research Blender tutorials through suggested searches, keyword results, or #blender videos. Turn the returned wording and video titles into a shortlist of tutorial topics to review.

### Research product video topics

Explore Sony camera topics through search suggestions, product keyword results, or #sonyalpha videos. Organize the returned material into reviews, demonstrations, and tutorials for an editorial brief.

### Prepare an event research brief

Explore CES through suggested search phrases, keyword results, or #ces videos. Build a review queue of product announcements and event coverage using the returned text and links where available.

### Build a topic taxonomy

Use returned searches or video titles about Arduino to propose categories such as beginner projects, sensors, and troubleshooting. Review the actual returned wording before adding categories to a content library.

### Compare video formats

Inspect titles, durations, views, and channel details for running-shoe keyword results or #runningshoes videos. Build a comparison of the demonstrations, reviews, and guides represented in the returned results.

### Find public creator channels to review

Collect channels attached to returned Raspberry Pi videos, or inspect channel suggestions when YouTube supplies them. Produce a shortlist for a person to review for educational relevance.

## Overview

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

## YouTube keyword search in other agents

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

## More Grok guides

- [YouTube hashtag search](https://spiral.ai/integrations/grok/youtube-hashtag-search)
- [YouTube playlist videos](https://spiral.ai/integrations/grok/youtube-playlist-videos)
- [YouTube creator search](https://spiral.ai/integrations/grok/youtube-creator-search)
- [YouTube raw Shorts search results](https://spiral.ai/integrations/grok/youtube-raw-shorts-search-results)
- [YouTube creator recent videos](https://spiral.ai/integrations/grok/youtube-creator-recent-videos)
- [YouTube raw search results](https://spiral.ai/integrations/grok/youtube-raw-search-results)

## Questions about YouTube keyword search in Grok

**Can Grok use YouTube keyword search?**

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

**How much does YouTube keyword search 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 keyword search in Grok?**

No. Spiral runs YouTube keyword search 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 keyword search 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 keyword search runs?**

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

**Can YouTube discovery find private videos?**

Private videos do not appear in YouTube's search results. These discovery tools cannot provide a complete inventory of a channel's private uploads.

**Does one response contain every matching YouTube video?**

Keyword and hashtag searches return result pages with continuation tokens for more results. Autocomplete returns suggested searches and channel matches, so it is not a video inventory.

**What information identifies a video result?**

Keyword and hashtag video results include a title, URL, thumbnail, and channel details. They also include public views, publication information, and duration.

**Where does YouTube look for hashtags?**

YouTube's hashtag results include videos carrying the hashtag in either the title or description. A hashtag does not have to appear visibly in the title to match.

**Are autocomplete matches always video titles?**

YouTube's dropdown can suggest queries or channels. Channel suggestions can include a public channel ID, handle, name, and thumbnail.

