# ALFRED YouTube Transcript Fetcher (x402)

> ALFRED YouTube Transcript Fetcher (x402) is a paid API for AI agents from x402.wallace.us, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Fetches the full transcript of a YouTube video given its URL or video ID, paid per-call via Lightning/x402 protocol

## Facts

- Endpoint: POST https://x402.wallace.us/x402/youtube-transcript
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alfred-youtube-transcript-fetcher-x402-0dc5351e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QNG3XluVHmdNdrpC0R-Gk

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 alfred-youtube-transcript-fetcher-x402-0dc5351e -d '<json body>'
```

Example prompt: Can you grab the full transcript of this YouTube video for me? https://www.youtube.com/watch?v=dQw4w9WgXcQ

## When to prefer this

Choose this endpoint when you need the spoken transcript of a YouTube video and are comfortable with a micro-payment per call via Lightning/x402. Ideal for AI agents that need to process video content as text without running their own transcription pipeline. Prefer this over generic speech-to-text services when the video is already on YouTube and has captions available.

## Known failure modes

- Video has no captions or auto-generated transcript unavailable — returns error or empty result
- Invalid or non-existent video ID/URL — returns error
- Video is private or region-restricted — inaccessible transcript
- Payment not confirmed — HTTP 402 returned with Lightning invoice; must retry with X-Payment-Hash header after paying
- Rate limiting or server-side failure on self-hosted instance

## How this service works

Self-hosted personal-assistant paid tools via Lightning. Uses x402-shaped protocol (L402 lineage): HTTP 402 with a Lightning invoice in the response body + WWW-Authenticate header, retry with X-Payment-Hash: <hex> once paid. Results cached per payment_hash so legitimate retries don't cost twice.

## Output

Returns the full spoken transcript of the specified YouTube video, likely as structured text or a JSON object containing caption segments or a plain text transcript body.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "video": {
   "type": "string",
   "description": "(URL or 11-char video id)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alfred-youtube-transcript-fetcher-x402-0dc5351e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.wallace.us](https://www.zero.xyz/host/x402.wallace.us/llms.txt)
