YoutubeChat

YoutubeChat · Actions GPT

YouAI YouTube Transcript API

Retrieves transcripts for YouTube videos.

  • GET /transcript/{youtube_video_id}GetYoutubeVideoTranscript

    Retrieve the transcript for a given YouTube video.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouAI YouTube Transcript API",
    "description": "Retrieves transcripts for YouTube videos.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://youai-youtube-transcript.onrender.com"
    }
  ],
  "paths": {
    "/transcript/{youtube_video_id}": {
      "get": {
        "description": "Retrieve the transcript for a given YouTube video.",
        "operationId": "GetYoutubeVideoTranscript",
        "parameters": [
          {
            "name": "youtube_video_id",
            "in": "path",
            "description": "The unique identifier of the YouTube video.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with the transcript data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transcript": {
                      "type": "string",
                      "description": "The transcript of the specified YouTube video."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, such as missing or invalid YouTube video ID."
          },
          "404": {
            "description": "YouTube video not found."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}