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

# How to Use YouTube keyword search in Instinct

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, with a Spiral API key |

## Prompts to try with YouTube keyword search in Instinct

- Each morning, use YouTube keyword search for 'NASA Artemis'. Report video links absent from the previous collection, with titles and channel names.
- Every Monday, use YouTube keyword search for 'Sony Alpha tutorial'. Prepare a digest of returned titles and channels, highlighting links absent from the last digest.
- Every Monday at 9am: 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.

## How to set up YouTube keyword search in Instinct

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

### Use the Spiral skill

1. **Send Instinct 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. **Create an API key**: In the console, open API keys and create a key for Instinct. Copy it.

2. **Send Instinct this message**: Instinct reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Instinct the key**: When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

### 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: Instinct finds YouTube keyword search on Spiral, shows the price and runs it.

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

## 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 Instinct?

Maintain a recurring YouTube research digest for a product, event, or educational topic. A scheduled agent can compare the returned video records or suggested phrases with its previous collection and highlight additions.

### 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 Instinct guides](https://spiral.ai/integrations/instinct)

## 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](https://spiral.ai/integrations/grok/youtube-keyword-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/youtube-keyword-search)
- [Hermes](https://spiral.ai/integrations/hermes/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 Instinct guides

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

## Questions about YouTube keyword search in Instinct

**Can Instinct use YouTube keyword search?**

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

**How much does YouTube keyword search cost in Instinct?**

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

**Do I need a ScrapeCreators account to use YouTube keyword search in Instinct?**

You need no ScrapeCreators account. Instinct uses one Spiral API key for every tool, and Spiral runs YouTube keyword search on its own ScrapeCreators account.

**How long does it take to set up YouTube keyword search in Instinct?**

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

**Does Instinct wait while YouTube keyword search runs?**

YouTube keyword search runs in the background. Instinct 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.

