Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Social Media

How to Use YouTube video format details in Claude Code

Returns available video formats with quality labels, resolution, bitrate, and format IDs; media URL fields are empty. Use it to compare formats before requesting playback links.

Prompts to try with YouTube video format details in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use YouTube video format details for https://www.youtube.com/watch?v=dQw4w9WgXcQ and build a table of returned format IDs, quality labels, resolutions, and bitrates.

YouTube video format detailsClaude Code
Try asking
  • Use YouTube video format details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from YouTube video format details and tell me what changed since last week.

  • Check YouTube video format details and summarize what you find in three bullet points.

  • Pull the newest data from YouTube video format details and give me the result as a table.

How to set up YouTube video format details in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run YouTube video format details

    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-v2-get-video-streams",
        "input": {
          "video_id": "dQw4w9WgXcQ"
        }
      }'

Then paste one of the prompts above: Claude Code finds YouTube video format details on Spiral, shows the price and runs it.

YouTube video format details providers and prices

Spiral runs YouTube video format details through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
YouTube Web V2 · Get video streams info
tikhub/youtube-web-v2-get-video-streams

What can you do with YouTube video format details in Claude Code?

Build a YouTube reference table or media format inspector from returned channel, video, or stream records. A coding agent can map those records into the project's UI and handle empty titles, paginated channel results, and expiring media links.

Build an educational video catalog

Find public educational publishers, enrich a supplied list of lesson URLs with video descriptions and attribution, and record available media formats for lessons approved for reuse.

Prepare a campaign reference pack

Find brand and public creator channels, document supplied campaign videos, and compare stream formats for footage the production team has permission to use.

Compare media delivery options

Compare available resolutions, bitrates, and combined or separate audio/video formats for supplied public videos. Produce a format shortlist with playback or selected download links where needed.

Prepare an approved media handoff

Attach video identity and publisher attribution to a media handoff, inspect available formats, and supply selected stream links with their expiration values and required headers.

Investigate video ingestion failures

Check whether a supplied video has extractable metadata, inspect its available formats, and distinguish empty format URLs from expired playback links or download links tied to a different network exit.

Questions about YouTube video format details in Claude Code

Can Claude Code use YouTube video format details?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run YouTube video format details like any built-in tool.

How much does YouTube video format details cost in Claude 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 Claude Code plan is separate.

Do I need a TikHub account to use YouTube video format details in Claude Code?

No. Spiral runs YouTube video format details 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 video format details in Claude Code?

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

Does Claude Code wait while YouTube video format details runs?

YouTube video format details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Does YouTube expose private videos publicly?

Private videos and playlists are visible only to the owner and people the owner chooses. They do not appear in YouTube search results.

How much does one YouTube channel search page cover?

TikHub documents roughly 10–20 channels per page. Results exclude videos and playlists, and YouTube determines their order and quantity.

How quickly do YouTube engagement counts appear?

YouTube says metrics can take time to appear during the first few hours after publication. A newly published video's public counts may therefore lag its activity.

Is a public YouTube video available in every country?

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

Are YouTube playback links permanent?

TikHub documents a typical playback link lifetime of about six hours. An expired link needs to be generated again.

Get started

Start using YouTube video format details in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options