[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [YouTube video details with fallback extraction](https://spiral.ai/integrations/muse-code/youtube-video-details-with-fallback-extraction)

# How to Use YouTube video details with fallback extraction in Muse Code

Returns core video and channel details, publication dates, duration, and availability through an alternative extraction path. Use it when YouTube video details returns an empty title or author.

|  |  |
| --- | --- |
| Model | YouTube video details with fallback extraction |
| 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 video details with fallback extraction in Muse Code

- Use YouTube video details with fallback extraction for https://www.youtube.com/watch?v=dQw4w9WgXcQ and add the returned duration, publication date, and availability to the project's video record.
- Use YouTube video details with fallback extraction to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from YouTube video details with fallback extraction and tell me what changed since last week.
- Check YouTube video details with fallback extraction and summarize what you find in three bullet points.
- Pull the newest data from YouTube video details with fallback extraction and give me the result as a table.

## How to set up YouTube video details with fallback extraction in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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.

```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 video details with fallback extraction**: 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-video-info-v2",
    "input": {
      "video_id": "dQw4w9WgXcQ"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds YouTube video details with fallback extraction on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## YouTube video details with fallback extraction tools and prices

- [YouTube Web V2 · Get video information V2](https://spiral.ai/tools/tikhub/tikhub/youtube-web-v2-get-video-info-v2) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| video_id |  | — | Video ID |
| video_url |  | — |  |
| need_format |  | true | Whether to return cleaned payload |

## What can you do with YouTube video details with fallback extraction in Muse 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.

### 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.

### Check publisher attribution

Compare channel candidates found by brand name with the channel identity returned for supplied video URLs. Give an editor the evidence needed to review attribution.

### Verify video references before publication

Check the title, publisher, and description behind supplied YouTube citations. Use the alternative extraction path when the original detail response lacks a title or author.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## YouTube video details with fallback extraction in other agents

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

## More Muse Code guides

- [YouTube video details and transcript](https://spiral.ai/integrations/muse-code/youtube-video-details-and-transcript)
- [YouTube video format details](https://spiral.ai/integrations/muse-code/youtube-video-format-details)
- [YouTube video details](https://spiral.ai/integrations/muse-code/youtube-video-details)
- [YouTube video playback links](https://spiral.ai/integrations/muse-code/youtube-video-playback-links)
- [YouTube video comments](https://spiral.ai/integrations/muse-code/youtube-video-comments)
- [YouTube video search](https://spiral.ai/integrations/muse-code/youtube-video-search)

## Questions about YouTube video details with fallback extraction in Muse Code

**Can Muse Code use YouTube video details with fallback extraction?**

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

**How much does YouTube video details with fallback extraction cost in Muse 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 Muse Code plan is separate.

**Do I need a TikHub account to use YouTube video details with fallback extraction in Muse Code?**

No. Spiral runs YouTube video details with fallback extraction 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 details with fallback extraction in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while YouTube video details with fallback extraction runs?**

YouTube video details with fallback extraction runs in the background. Muse 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.

