{
  "x402Version": 2,
  "id": 5231,
  "slug": "5231",
  "resource": "https://x402.agentutility.ai/youtube-transcript",
  "description": "Fetch the transcript of any YouTube video. Pulls auto-generated or manual captions and returns full text plus per-segment {start, duration, text}, with an optional language pick. Backed by Supadata's transcript pipeline server-side — no caller key required; returns a clear 404 when a video has no transcript. Use it as a YouTube closed-caption fetcher or video subtitles puller.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "video_id_or_url": "dQw4w9WgXcQ"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "channel": null,
            "channel_id": null,
            "chapters": null,
            "char_count": 60,
            "duration_seconds": null,
            "is_auto_generated": null,
            "language": "en",
            "segment_count": 2,
            "segments": [
              {
                "duration": 4.5,
                "start": 0,
                "text": "We're no strangers to love"
              },
              {
                "duration": 4,
                "start": 4.5,
                "text": "You know the rules and so do I"
              }
            ],
            "source": "supadata",
            "text": "We're no strangers to love. You know the rules and so do I.",
            "title": null,
            "video_id": "dQw4w9WgXcQ"
          },
          "type": "json"
        }
      },
      "related": [
        "/youtube-brief"
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "include_chapters": {
                    "description": "Parse chapter timestamps from the video description. Default false.",
                    "type": "boolean"
                  },
                  "language": {
                    "description": "Preferred caption language code (e.g. 'en', 'es', 'ja'). Default: pick the first available.",
                    "type": "string"
                  },
                  "video_id_or_url": {
                    "description": "YouTube video ID (11-char) or full URL (youtube.com/watch?v=…, youtu.be/…, /embed/…, /shorts/…).",
                    "type": "string"
                  }
                },
                "required": [
                  "video_id_or_url"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "channel": {
                    "type": "null"
                  },
                  "channel_id": {
                    "type": "null"
                  },
                  "chapters": {
                    "type": "null"
                  },
                  "char_count": {
                    "type": "integer"
                  },
                  "duration_seconds": {
                    "type": "null"
                  },
                  "is_auto_generated": {
                    "type": "null"
                  },
                  "language": {
                    "type": "string"
                  },
                  "segment_count": {
                    "type": "integer"
                  },
                  "segments": {
                    "items": {
                      "properties": {
                        "duration": {
                          "type": "number"
                        },
                        "start": {
                          "type": "number"
                        },
                        "text": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  },
                  "title": {
                    "type": "null"
                  },
                  "video_id": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_awpbwsy3"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-08-26T00:38:21.724Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-26T00:38:21.486Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}