# SocialFetch YouTube Transcript

> SocialFetch YouTube Transcript is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Fetches the full spoken transcript of a YouTube video given its URL, with optional language preference.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/youtube/videos/transcript
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-youtube-transcript-c3779b4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HUH4DHKpXmdc8vdLpNT4p

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 socialfetch-youtube-transcript-c3779b4b
```

Example prompt: Can you grab the transcript from this YouTube video — https://www.youtube.com/watch?v=dQw4w9WgXcQ — and give me the full text of what was said? Prefer the English transcript if multiple languages are available.

## When to prefer this

Use this endpoint when you need the spoken content of a YouTube video as text, such as for summarization, search, analysis, or accessibility purposes. Prefer this over manual caption extraction when you have a direct YouTube URL and need a fast, structured transcript response.

## Known failure modes

- Video URL is invalid or not a YouTube URL — returns error
- Video has no captions or transcript available — returns empty or error
- Requested language code not available for that video — may fall back to default or return error
- Video is private or age-restricted and inaccessible — returns error
- Malformed or missing 'url' query parameter — returns validation error

## How this service works

Get the transcript for a YouTube video by URL.

## Output

Returns the full text transcript of the specified YouTube video, likely as timestamped or plain text caption segments extracted from the video's available subtitle/caption tracks, filtered to the requested language if 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",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Link to the YouTube video whose transcript should be returned."
      },
      "language": {
       "type": "string",
       "maxLength": 2,
       "minLength": 2,
       "description": "Optional ISO 639-1 language code (two letters) to prefer when multiple transcripts exist."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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