[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [YouTube Web Search video](https://spiral.ai/integrations/muse-code/youtube-web-search-video)

# How to Use YouTube Web Search video in Muse Code

Returns video search results for a keyword, with continuation support. Use it for topic or brand research when you have a search phrase rather than a channel or seed video.

|  |  |
| --- | --- |
| Model | YouTube Web Search video |
| 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 Web Search video in Muse Code

- Use YouTube video search for AMD Ryzen 9 9950X reviews and save the returned video records in our research fixture.
- Use YouTube Web Search video to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from YouTube Web Search video and tell me what changed since last week.
- Check YouTube Web Search video and summarize what you find in three bullet points.
- Pull the newest data from YouTube Web Search video and give me the result as a table.

## How to set up YouTube Web Search video in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Web Search video**: 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-search-video",
    "input": {
      "search_query": "Minecraft"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds YouTube Web Search video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## YouTube Web Search video tools and prices

- [YouTube Web · Search video](https://spiral.ai/tools/tikhub/tikhub/youtube-web-search-video) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| order_by |  | this_month | Order by |
| country_code |  | us | Country code |
| language_code |  | en | Language code |
| continuation_token |  | — | Pagination token |

## What can you do with YouTube Web Search video in Muse Code?

Build a publisher directory that connects YouTube channel references to channel information and video research. A coding agent can add ID resolution, readable channel links, Shorts review, and search results to your project's existing data flow.

### Prepare a technology publisher brief

Find hardware publishers, resolve supplied names or channel links, and collect channel information with readable references. Review their Shorts, search product coverage, and expand from selected videos into related results.

### Review public creator sponsorship candidates

Discover relevant creator channels and reconcile channel names and links into IDs. Build a brief from channel information, Shorts, topic searches, and related video results for human review.

### Assemble an educational video shortlist

Find science publishers and topic videos for an astronomy lesson. Resolve known channel references, inspect channel information and Shorts, and review related videos before selecting resources to reference.

### Research competing brands' video coverage

Find public brand channels and reconcile references supplied as names or URLs. Collect channel information and links, review Shorts, search product topics, and inspect related results around selected videos.

### Expand a topic research list

Start with a keyword search and selected seed videos, then collect related results. Search for the publishers you want to inspect and retrieve their channel information.

### Compare video search results across checks

Repeat a specific product query such as AMD Ryzen 9 9950X and compare the returned videos. Use channel search and channel information to investigate publishers that enter the review list.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## YouTube Web Search video in other agents

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

## More Muse Code guides

- [YouTube Web Search channel](https://spiral.ai/integrations/muse-code/youtube-web-search-channel)
- [YouTube caption job results](https://spiral.ai/integrations/muse-code/youtube-caption-job-results)
- [YouTube Web Get related videos](https://spiral.ai/integrations/muse-code/youtube-web-get-related-videos)
- [YouTube channel ID](https://spiral.ai/integrations/muse-code/youtube-channel-id)
- [YouTube Web Get channel short videos](https://spiral.ai/integrations/muse-code/youtube-web-get-channel-short-videos)
- [YouTube channel ID from URL](https://spiral.ai/integrations/muse-code/youtube-channel-id-from-url)

## Questions about YouTube Web Search video in Muse Code

**Can Muse Code use YouTube Web Search video?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run YouTube Web Search video like any built-in tool.

**How much does YouTube Web Search video cost in Muse Code?**

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need a TikHub account to use YouTube Web Search video in Muse Code?**

No. Spiral runs YouTube Web Search video 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 Web Search video in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while YouTube Web Search video runs?**

YouTube Web Search video runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**How often can a YouTube handle change?**

YouTube allows a handle to change twice within a 14-day period. A previously saved handle can therefore become outdated.

**Does this data include restricted content?**

TikHub says it accesses and processes only publicly available data. Restricted content is outside that stated coverage.

**Is the data guaranteed to be complete and current?**

TikHub explicitly declines to warrant that returned data is accurate, complete, or current. Its terms provide no such guarantee for YouTube results.

**Is YouTube content available in every country?**

No. Video owners can limit availability to particular countries or regions, usually because of licensing rights.

**Does public availability grant permission to reuse YouTube content?**

YouTube's user content license does not grant rights to use content independently of the service. Public availability alone does not provide that permission.

