[Integrations](https://spiral.ai/integrations) › [ChatGPT](https://spiral.ai/integrations/chatgpt) › [YouTube raw search results](https://spiral.ai/integrations/chatgpt/youtube-raw-search-results)

# How to Use YouTube raw search results in ChatGPT

Returns YouTube search results in their original data structure. Use it when you need to inspect or parse the source response yourself; structured search returns cleaned results.

|  |  |
| --- | --- |
| Model | YouTube raw search results |
| 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 raw search results in ChatGPT

- Use YouTube raw search results to look this up and give me the result as a table.
- Pull the latest numbers from YouTube raw search results and tell me what changed since last week.
- Check YouTube raw search results and summarize what you find in three bullet points.
- Pull the newest data from YouTube raw search results and give me the result as a table.
- Check YouTube raw search results every morning and tell me only when something changed.

## How to set up YouTube raw search results in ChatGPT

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

### Use the ChatGPT connector

1. **Add a custom MCP server**: In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

```text
https://api.spiral.ai/mcp
```

2. **Click Connect**: ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

3. **Sign in to Spiral and approve**: Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

### Use the Spiral skill

1. **Send ChatGPT 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 raw search results**: 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-general-search",
    "input": {
      "search_query": "Python编程"
    }
  }'
```

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

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

## YouTube raw search results tools and prices

- [YouTube Web V2 · General search (raw data, recommend V2)](https://spiral.ai/tools/tikhub/tikhub/youtube-web-v2-get-general-search) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| feature | live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr, location, purchased | — | YouTube特征过滤 - API显示版本 |
| sort_by | relevance, upload_date, view_count, rating | — | YouTube搜索排序方式 - API显示版本 |
| duration | short, medium, long | — | YouTube视频时长过滤 - API显示版本 |
| time_zone |  | America/Los_Angeles | Time zone |
| upload_time | hour, today, week, month, year | — | YouTube上传时间过滤 - API显示版本 |
| content_type | video, channel, playlist, movie | — | YouTube内容类型过滤 - API显示版本 |

## What can you do with YouTube raw search results in ChatGPT?

Prepare a YouTube channel briefing with source links and concrete examples from public content. A chat app can organize the returned channel information, publishing records, or community discussion into a readable comparison.

### Compare competing channels

Research NASA and ESA publishing: resolve channel identities, compare descriptions, discover relevant search results, and review videos, Shorts, and community announcements. Read post comments and replies for recurring audience questions, then attach recognizable channel links to the comparison.

### Prepare a product launch briefing

Build a briefing around a Google product announcement. Confirm the publishing channels and their descriptions, find related coverage through search, inventory videos and Shorts, and examine community announcements with their comment threads. Include channel links so editors can check the sources.

### Research creator sponsorship fit

Find public technology channels, reconcile their URLs, and review their descriptions and publishing topics. Compare video titles, Shorts, community posts, and aggregate discussion themes to prepare a sponsorship shortlist with source links. Use raw or structured search according to the research workflow.

### Plan an educational content series

Research Python teaching channels and their public catalogs. Use channel descriptions and identity lookups to organize sources, search for existing lessons, and compare videos with Shorts. Review community posts, comments, and replies for questions worth addressing in a lesson outline.

### Check a search parser against cleaned results

Run the same YouTube research query through raw and structured search. Compare the parsed results with the cleaned output to investigate missing content types or extraction errors.

## Overview

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

## YouTube raw search results in other agents

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

## More ChatGPT guides

- [YouTube raw Shorts search results](https://spiral.ai/integrations/chatgpt/youtube-raw-shorts-search-results)
- [YouTube related videos](https://spiral.ai/integrations/chatgpt/youtube-related-videos)
- [YouTube playlist videos](https://spiral.ai/integrations/chatgpt/youtube-playlist-videos)
- [YouTube search suggestions](https://spiral.ai/integrations/chatgpt/youtube-search-suggestions)
- [YouTube keyword search](https://spiral.ai/integrations/chatgpt/youtube-keyword-search)
- [YouTube selected video download links](https://spiral.ai/integrations/chatgpt/youtube-selected-video-download-links)

## Questions about YouTube raw search results in ChatGPT

**Can ChatGPT use YouTube raw search results?**

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

**How much does YouTube raw search results cost in ChatGPT?**

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

**Do I need a TikHub account to use YouTube raw search results in ChatGPT?**

No. Spiral runs YouTube raw search results 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 raw search results in ChatGPT?**

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

**Does ChatGPT wait while YouTube raw search results runs?**

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

**Does YouTube search cover private and unlisted videos?**

Private videos do not appear in YouTube search. Unlisted videos also stay out of search unless someone adds them to a public playlist.

**How fresh are YouTube engagement counts?**

YouTube says metrics may take the first few hours after a video is published to appear. Counts on a new upload can therefore be incomplete.

**Is a YouTube handle the same as a channel name?**

Handles are unique identifiers that start with @ and are distinct from channel names. Each channel can have only one handle.

**Do older YouTube custom URLs still work?**

Existing custom URLs continue to work and redirect to the channel’s handle-based URL. YouTube no longer allows new custom URLs or changes to existing custom URLs.

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

Video owners can restrict availability to certain countries or regions, usually for licensing reasons. YouTube can also block content to comply with local laws.

