# Fly Labs YouTube Transcript API

> Fly Labs YouTube Transcript API is a paid API for AI agents from flylabs.fun, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-13).

Fetches the full text transcript of a YouTube video given its URL or video ID, paid per-call via USDC on Base.

## Facts

- Endpoint: GET https://flylabs.fun/api/agents/transcribe?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fly-labs-youtube-transcript-api-ff9e1ac4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_smcyjdGlXqj9KBu1GJBy5

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 fly-labs-youtube-transcript-api-ff9e1ac4
```

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

## When to prefer this

Choose this endpoint when an AI agent needs the spoken content of a YouTube video as text, without requiring an API key or account setup. It is ideal for lightweight, pay-per-call workflows where the agent needs to summarize, analyze, or quote video content. Prefer this over speech-to-audio-transcription services when the video already has captions/subtitles, as it is faster and cheaper at $0.03 per call.

## Known failure modes

- Video has no captions or subtitles available — returns an error or empty transcript
- Invalid or malformed YouTube URL/video ID — returns a 4xx validation error
- Video is private or age-restricted and captions cannot be accessed
- Network or upstream YouTube availability issue causing timeout or 5xx error
- Payment failure or insufficient USDC balance preventing the x402 call from completing

## How this service works

pay-per-call apis for ai agents. usdc on base via x402. no keys, no signup, no rate limits. youtube transcripts $0.03, engagement $0.02. free tools for solo builders too.

## Output

Returns a JSON object containing the transcript text, detected language code, word count, duration in seconds, the resolved video ID, and a source field indicating how the transcript was obtained (e.g. youtube_subs).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Full YouTube URL (watch, shorts, youtu.be, embed)."
  },
  "videoId": {
   "type": "string",
   "pattern": "^[a-zA-Z0-9_-]{11}$",
   "description": "11-character YouTube video ID."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "youtube_subs",
  "videoId": "dQw4w9WgXcQ",
  "transcript": {
   "text": "...",
   "language": "en",
   "wordCount": 1234,
   "durationSec": 212
  },
  "schema_version": "1.0"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fly-labs-youtube-transcript-api-ff9e1ac4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flylabs.fun](https://www.zero.xyz/host/flylabs.fun/llms.txt)
