[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [YouTube channel handle and links](https://spiral.ai/integrations/opencode/youtube-channel-handle-and-links)

# How to Use YouTube channel handle and links in opencode

Returns a channel's handle, name, channel ID link, and handle link from its ID. Use it to turn stored IDs into readable channel references for a directory or research brief.

|  |  |
| --- | --- |
| Model | YouTube channel handle and links |
| 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 channel handle and links in opencode

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

## How to set up YouTube channel handle and links in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 handle and links**: 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-get-channel-url",
    "input": {
      "channel_id": "UCeu6U67OzJhV1KwBansH3Dg"
    }
  }'
```

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

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

## YouTube channel handle and links tools and prices

- [YouTube Web · Get channel URL from channel ID](https://spiral.ai/tools/tikhub/tikhub/youtube-web-get-channel-url) (TikHub): $0.0013 per request.

## What can you do with YouTube channel handle and links in opencode?

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.

### Clean up a publisher directory

Resolve stored channel names and URLs, inspect channel information, and replace opaque IDs in directory displays with returned handles and links.

### Review a publisher's Shorts over time

Resolve a public publisher's channel URL and compare returned Shorts across scheduled checks. Include channel information and readable channel links in the review.

## Overview

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

## YouTube channel handle and links in other agents

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

## More opencode guides

- [YouTube channel description](https://spiral.ai/integrations/opencode/youtube-channel-description)
- [YouTube channel information](https://spiral.ai/integrations/opencode/youtube-channel-information)
- [YouTube channel content search](https://spiral.ai/integrations/opencode/youtube-channel-content-search)
- [YouTube channel live streams](https://spiral.ai/integrations/opencode/youtube-channel-live-streams)
- [YouTube channel community posts](https://spiral.ai/integrations/opencode/youtube-channel-community-posts)
- [YouTube channel playlists](https://spiral.ai/integrations/opencode/youtube-channel-playlists)

## Questions about YouTube channel handle and links in opencode

**Can opencode use YouTube channel handle and links?**

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

**How much does YouTube channel handle and links cost in opencode?**

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

**Do I need a TikHub account to use YouTube channel handle and links in opencode?**

No. Spiral runs YouTube channel handle and links 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 channel handle and links in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while YouTube channel handle and links runs?**

YouTube channel handle and links runs in the background. opencode 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.

