# YouTube Media Downloader

> YouTube Media Downloader is a paid API for AI agents from komo-ai.vercel.app, paid per call via x402, $0.099797/call, status unknown (last checked 2026-10-12).

Downloads media (video/audio) from YouTube given a URL or video identifier

## Facts

- Endpoint: POST https://komo-ai.vercel.app/api/youtube-media-downloader?utm_source=zero.xyz
- Price: $0.099797/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-media-downloader-cc27ae96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__KZz5vGmh1pnujjL5hQRU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability youtube-media-downloader-cc27ae96 -d '<json body>'
```

Example prompt: Download the YouTube video at https://www.youtube.com/watch?v=dQw4w9WgXcQ and give me a direct link to the media file I can save.

## When to prefer this

Use this endpoint when you need to programmatically download or extract media from YouTube videos via a pay-per-call API with crypto payment (USDC on Base chain via x402). Prefer this over manual tools when building automated pipelines that require YouTube media retrieval at scale.

## Known failure modes

- Invalid or non-existent YouTube URL returns an error result
- Geo-restricted or private video may return access denied error
- YouTube rate limiting may cause intermittent failures
- Age-restricted content may not be downloadable
- Payment failure via x402 protocol results in 402 response before processing

## How this service works

150 premium API endpoints with pay-per-call pricing via x402 protocol on Base chain

## Output

Returns an object containing download URLs or stream links for the requested YouTube video or audio, along with any available metadata such as title, format, and quality options.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-media-downloader-cc27ae96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from komo-ai.vercel.app](https://www.zero.xyz/host/komo-ai.vercel.app/llms.txt)
