[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [YouTube channel ID](https://spiral.ai/integrations/perplexity/youtube-channel-id)

# How to Use YouTube channel ID in Perplexity

Resolves a channel handle or channel URL to its YouTube channel ID. Use it to identify the intended publisher before collecting its uploads, Shorts, streams, or playlists.

|  |  |
| --- | --- |
| Model | YouTube channel ID |
| Available through | Alexandria |
| Category | Social Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with YouTube channel ID in Perplexity

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

## How to set up YouTube channel ID in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

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

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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 channel ID**: 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": "alexandria",
    "model": "youtube-com/videos/resolve_channel",
    "input": {
      "url_or_handle": "<url_or_handle>"
    }
  }'
```

Then paste one of the prompts above: Perplexity finds YouTube channel ID on Spiral, shows the price and runs it.

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

## YouTube channel ID tools and prices

- [YouTube · Resolve channel](https://spiral.ai/tools/alexandria/youtube-com/videos/resolve_channel) (Alexandria): $0.00873 per call.

## What can you do with YouTube channel ID in Perplexity?

Prepare a viewing brief for a NASA event, developer conference, or educational topic using YouTube's public content. Compare relevant videos and collections, then examine discussion threads where audience questions need context.

### Audit an educational publisher's catalog

Identify an educational channel, inventory its uploads, Shorts, live streams, and public playlists, then inspect the videos in its course collections. Search for related lessons, check selected video details, and read comments with their replies to collect questions the material could address.

### Prepare a product launch report

Identify the brand's channel and review launch uploads, short clips, broadcasts, and playlist collections. Search for additional launch coverage, check the selected videos, and examine public comments and reply threads for recurring product questions.

### Build a conference viewing guide

Identify the organizer's channel and collect keynotes, Shorts, stream replays, and session playlists. Inspect playlist contents, search for topic-specific sessions, check video details, and use comment discussions and replies to flag questions for further reading.

### Plan follow-up videos from public audience questions

Identify a publisher and review its uploads, Shorts, broadcasts, and playlist contents to see which subjects it covers. Search for related videos, inspect their details, and read comments with their replies to propose follow-up topics grounded in actual discussions.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## YouTube channel ID in other agents

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

## More Perplexity guides

- [YouTube caption job results](https://spiral.ai/integrations/perplexity/youtube-caption-job-results)
- [YouTube channel ID from URL](https://spiral.ai/integrations/perplexity/youtube-channel-id-from-url)
- [YouTube Web Search video](https://spiral.ai/integrations/perplexity/youtube-web-search-video)
- [YouTube channel ID from name](https://spiral.ai/integrations/perplexity/youtube-channel-id-from-name)
- [YouTube Web Search channel](https://spiral.ai/integrations/perplexity/youtube-web-search-channel)
- [YouTube channel ID lookup](https://spiral.ai/integrations/perplexity/youtube-channel-id-lookup)

## Questions about YouTube channel ID in Perplexity

**Can Perplexity use YouTube channel ID?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run YouTube channel ID like any built-in tool.

**How much does YouTube channel ID cost in Perplexity?**

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

**Do I need an Alexandria account to use YouTube channel ID in Perplexity?**

No. Spiral runs YouTube channel ID on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up YouTube channel ID in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while YouTube channel ID runs?**

YouTube channel ID runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

**Does a channel's uploads list include every video format?**

YouTube separates long-form videos, Shorts, and live streams into different channel tabs. Review all three when you need a channel's publishing activity across formats.

**Can search reveal every video a channel has published?**

Unlisted videos normally do not appear in YouTube search or the channel's Videos tab. An unlisted video can appear in search if someone adds it to a public playlist.

**How long can a YouTube Short be?**

YouTube Shorts can be up to three minutes long. A review limited to videos under one minute can therefore miss Shorts.

**Why might a channel have no Shorts or Live tab?**

YouTube says the tabs shown depend on the types of videos the channel produces. Videos, Shorts, and Live are possible tabs, rather than a fixed layout for every channel.

**Are all YouTube playlists public?**

Playlist owners can choose public, private, or unlisted visibility. Public playlists are available for anyone to watch and share.

