Video Summarizer Pro

Video Summarizer Pro · GPT-Aktionen

YouTube Transcript API

API for retrieving transcripts of YouTube videos.

  • GET /yt/transcriptsRetrieve YouTube video transcript

    Fetches the transcript of a specified YouTube video.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Transcript API",
    "description": "API for retrieving transcripts of YouTube videos.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://gpt.doorway.work",
      "description": "Main API server"
    }
  ],
  "paths": {
    "/yt/transcripts": {
      "get": {
        "operationId": "getTranscript",
        "summary": "Retrieve YouTube video transcript",
        "description": "Fetches the transcript of a specified YouTube video.",
        "parameters": [
          {
            "in": "query",
            "name": "id",
            "required": true,
            "description": "YouTube video ID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved transcript",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transcript": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request (e.g., missing or invalid YouTube video ID)"
          },
          "404": {
            "description": "Transcript not found for the specified YouTube video ID"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}