# YouTube Video Data Extractor (api.kadec0.xyz)

> YouTube Video Data Extractor (api.kadec0.xyz) is a paid API for AI agents from api.kadec0.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-02).

Fetches YouTube video metadata and caption transcript for any video by URL or video ID, with no API key required.

## Facts

- Endpoint: GET https://api.kadec0.xyz/v1/youtube?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Success rate: 0% of calls made through Zero
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-video-data-extractor-api-kadec0-xyz-a4f081f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHyHFTxjRf0WUwR1r6s3M

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-video-data-extractor-api-kadec0-xyz-a4f081f0
```

Example prompt: Pull the title, channel, view count, description, and caption transcript for this YouTube video: https://www.youtube.com/watch?v=dQw4w9WgXcQ

## When to prefer this

Use this endpoint when you need to extract structured metadata and/or transcripts from a YouTube video without managing your own YouTube Data API key or quota. Ideal for agents that need to summarize, analyze, or reference YouTube video content.

## Known failure modes

- Video not found or invalid video ID returns an error
- Private or age-restricted videos may return no data or partial data
- Captions unavailable for videos without subtitles (transcript will be empty or absent)
- Invalid YouTube URL format returns a validation error
- Rate limiting or upstream YouTube access issues may cause failures

## How this service works

YouTube video data. Title, channel, description, view count, duration, keywords, thumbnails, and a best-effort caption transcript for any video — keyless.

## Output

Returns a structured object containing the video title, channel name, description, view count, duration, keywords/tags, thumbnail URLs, and a best-effort caption transcript for the requested YouTube video.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "video_id"
       ]
      },
      {
       "required": [
        "url"
       ]
      }
     ],
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "any youtube watch / youtu.be / shorts url"
      },
      "video_id": {
       "type": "string",
       "description": "11-char video id"
      },
      "transcript": {
       "type": "string",
       "default": "true",
       "description": "fetch caption transcript (best-effort)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-video-data-extractor-api-kadec0-xyz-a4f081f0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.kadec0.xyz](https://www.zero.xyz/host/api.kadec0.xyz/llms.txt)
