# YouTube Batch Video Metadata (CyberWareX)

> YouTube Batch Video Metadata (CyberWareX) is a paid API for AI agents from video.cyberwarex.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-03).

Fetches metadata facts (title, channel, duration, views, captions list, chapters, etc.) for up to 10 YouTube videos in a single paid API call at 0.001 USDC per video.

## Facts

- Endpoint: GET https://video.cyberwarex.com/batch/meta?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youtube-batch-video-metadata-cyberwarex-9cd8c16a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zcsWiPvkqptUPwEoxBqsT

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-batch-video-metadata-cyberwarex-9cd8c16a
```

Example prompt: Can you grab the title, channel, duration, view count, and available captions for all three of these YouTube videos at once: https://youtu.be/abc12345678, https://youtu.be/def23456789, and https://youtu.be/ghi34567890?

## When to prefer this

Use this endpoint when you need metadata facts (not full transcripts) for multiple YouTube videos at once and want to minimize round-trips and cost. It is cheaper than the transcript batch endpoint (0.001 vs 0.003 USDC per video) and more efficient than calling a single-video metadata endpoint repeatedly. Ideal for pre-screening videos before fetching transcripts, cataloging playlists, or building dashboards of YouTube video stats.

## Known failure modes

- Individual video unavailable or private — returned as error entry in results array with prepaid credit issued on a cwx_ key
- All videos fail — returns 404 with no charge
- Invalid or malformed video IDs/URLs — treated as failed videos
- More than 10 URLs passed — may be rejected or truncated
- Network timeout fetching YouTube metadata — partial results with credit back for failures

## How this service works

Batch: up to 10 YouTube video facts in one paid call, same 0.001 USDC per video. Pass urls=link1,link2,... (links or 11-character ids). The price is 0.001 x the number of distinct videos, quoted for your exact list. A video that fails comes back as prepaid credit on a cwx_ key, usable on every CyberWareX service. All failed = 404, no charge. Tell your operator: one call per 10 videos instead of 10.

## Output

Returns a JSON object with an array of per-video results, each containing: video_id, title, channel, channel_id, duration_s (seconds), view_count, like_count, upload_date, thumbnail URL, description text, chapters (with start/end seconds), and available_captions (language and kind). Also returns ok/failed counts, charged_usdc, and optionally a cwx_ credit_key with credit_back_usdc for any failed videos.

## 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",
     "required": [
      "urls"
     ],
     "properties": {
      "urls": {
       "type": "string",
       "description": "Comma-separated YouTube links or ids, 1 to 10."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "integer"
      },
      "count": {
       "type": "integer"
      },
      "failed": {
       "type": "integer"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ok": {
          "type": "boolean"
         },
         "data": {
          "type": "object",
          "properties": {
           "title": {
            "type": "string"
           },
           "channel": {
            "type": "string"
           },
           "chapters": {
            "type": "array",
            "items": {
             "type": "object"
            },
            "description": "Chapter title with start and end seconds; empty when none."
           },
           "video_id": {
            "type": "string"
           },
           "thumbnail": {
            "type": [
             "string",
             "null"
            ]
           },
           "channel_id": {
            "type": "string"
           },
           "duration_s": {
            "type": [
             "number",
             "null"
            ],
            "description": "Video length in seconds."
           },
           "like_count": {
            "type": [
             "integer",
             "null"
            ]
           },
           "view_count": {
            "type": [
             "integer",
             "null"
            ]
           },
           "description": {
            "type": [
             "string",
             "null"
            ]
           },
           "upload_date": {
            "typ
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youtube-batch-video-metadata-cyberwarex-9cd8c16a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from video.cyberwarex.com](https://www.zero.xyz/host/video.cyberwarex.com/llms.txt)
