How to Use YouTube channel ID from name in Gemini CLI
Returns a YouTube channel ID from a channel name. Use it when you know a name such as LinusTechTips and need the ID for channel information or Shorts lookups.
Prompts to try with YouTube channel ID from name in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use YouTube channel ID from name to resolve LinusTechTips, then add the returned ID to our publisher fixture.
Use YouTube channel ID from name to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from YouTube channel ID from name and tell me what changed since last week.
Check YouTube channel ID from name and summarize what you find in three bullet points.
Pull the newest data from YouTube channel ID from name and give me the result as a table.
How to set up YouTube channel ID from name in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run YouTube channel ID from name
One request; the result comes back by polling or a webhook.
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-id", "input": { "channel_name": "LinusTechTips" } }'
Then paste one of the prompts above: Gemini CLI finds YouTube channel ID from name on Spiral, shows the price and runs it.
YouTube channel ID from name providers and prices
Spiral runs YouTube channel ID from name through TikHub. Open a card for today's price, with every fee included.
What can you do with YouTube channel ID from name in Gemini CLI?
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.
More on YouTube channel ID from name and Gemini CLI
Overview
YouTube channel ID from name in other agents
Questions about YouTube channel ID from name in Gemini CLI
Can Gemini CLI use YouTube channel ID from name?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run YouTube channel ID from name like any built-in tool.
How much does YouTube channel ID from name cost in Gemini CLI?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a TikHub account to use YouTube channel ID from name in Gemini CLI?
No. Spiral runs YouTube channel ID from name 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 ID from name in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while YouTube channel ID from name runs?
YouTube channel ID from name runs in the background. Gemini CLI 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.
Start using YouTube channel ID from name in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


