YouTube Chat

YouTube Chat · Acciones GPT

YouTube Transcript API

API to fetch and summarize YouTube video transcripts

  • GET /searchFetches YouTube video information based on video ID
Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube Transcript API",
    "description": "API to fetch and summarize YouTube video transcripts",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://youtubetranscriptbackend.sdiviney.repl.co"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "summary": "Fetches YouTube video information based on video ID",
        "operationId": "fetchYouTubeVideoInfo",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "The video ID of the YouTube video",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "video_title": {
                      "type": "string",
                      "description": "Title of the YouTube video"
                    },
                    "thumbnail_url": {
                      "type": "string",
                      "description": "URL of the video thumbnail"
                    },
                    "transcript": {
                      "type": "string",
                      "description": "Transcript of the video transcript"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}