# agentx.sale YouTube Transcript Fetcher

> agentx.sale YouTube Transcript Fetcher is a paid API for AI agents from agentx.sale, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-16).

Fetches the full caption text of any YouTube video with timestamps, supporting manual and auto-generated captions in 21+ languages

## Facts

- Endpoint: GET https://agentx.sale/x402/youtube-transcript?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentx-sale-youtube-transcript-fetcher-ffff8efb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uGFU1mG9lKl4aBvW7__Cm

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 agentx-sale-youtube-transcript-fetcher-ffff8efb
```

Example prompt: Can you grab the full transcript of this YouTube video for me? Here's the URL: https://www.youtube.com/watch?v=dQw4w9WgXcQ — I'd like it in English with timestamps.

## When to prefer this

Use this endpoint when you need the actual spoken text from a YouTube video — for summarization, quote extraction, search, translation, or accessibility purposes — without needing to download or process the video file itself. It supports both manual and auto-generated captions across 21+ languages and requires no YouTube API key, making it simpler than setting up the YouTube Data API directly. Prefer this over scraping solutions when you want structured, timestamped output from a single video URL.

## Known failure modes

- Video URL is invalid or not a YouTube link — returns an error
- Video has no captions available in the requested language — returns an error or falls back
- Private or age-restricted video may not have accessible captions
- Auto-generated captions may contain transcription errors for unclear audio
- Very long videos may produce large responses that need pagination or truncation

## How this service works

YouTube transcript: full caption text of any video with timestamps, per-segment or plainText, en default, manual or auto (21+ languages), keyless. GET ?url=<video-url>&lang=<code>

## Output

Returns the full caption text of the YouTube video, either as plain text or as per-segment entries each containing the spoken text and a timestamp. Supports manual and auto-generated captions in over 21 languages; defaults to English if no language code is specified.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "lang": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "en",
  "videoId": "dQw4w9WgXcQ",
  "segments": 61,
  "plainText": "We're no strangers to love...",
  "durationSeconds": 211
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentx-sale-youtube-transcript-fetcher-ffff8efb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx.sale](https://www.zero.xyz/host/agentx.sale/llms.txt)
