# L50 YouTube Transcript API

> L50 YouTube Transcript API is a paid API for AI agents from api.l50automation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-01).

Fetches the full transcript (captions) of a YouTube video by URL or video ID, optionally with per-line timestamps and language preferences

## Facts

- Endpoint: GET https://api.l50automation.com/youtube/transcript?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/l50-youtube-transcript-api-f95dfa3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h6uH6_A81Hiv-4Rq8ZR3U

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 l50-youtube-transcript-api-f95dfa3f
```

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

## When to prefer this

Use this endpoint when you need the spoken text content of a YouTube video without setting up a YouTube Data API account or managing API keys. It is ideal for pay-per-call agent workflows where you want to avoid subscription overhead. Prefer it over scraping solutions when you need clean caption text, optional timestamps, and multi-language support in a single call billed in USDC on Base.

## Known failure modes

- Video ID or URL is invalid or malformed — returns an error indicating the video could not be found
- Video has no captions or subtitles available — returns an error or empty transcript
- Requested language captions are unavailable and no fallback exists
- Video is private, deleted, or region-restricted — transcript cannot be retrieved
- Rate limiting or payment failure via x402 — call is rejected before execution

## How this service works

Pay-per-call UK data for AI agents and developers: new and overdue UK companies with director and contact leads, director and owner changes, public tenders and contract awards, property prices and EPC energy ratings by area, plus live eBay market data and YouTube transcripts. Paid per call with x402 in USDC on Base. No account or API key.

## Output

Returns the full text transcript of the specified YouTube video. If timestamps are requested, each caption line is returned with its start time. The response reflects the best available caption language matching the preference order supplied. If no matching captions exist, an error or fallback is returned.

## 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": [
      "video"
     ],
     "properties": {
      "video": {
       "type": "string",
       "description": "YouTube URL or 11-character video ID"
      },
      "languages": {
       "type": "string",
       "description": "Comma-separated caption languages in order of preference (default en)"
      },
      "timestamps": {
       "type": "boolean",
       "description": "Include every caption line with start time (default false)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/l50-youtube-transcript-api-f95dfa3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.l50automation.com](https://www.zero.xyz/host/api.l50automation.com/llms.txt)
