Summarize YTranscripts

Summarize YTranscripts · GPT Actions

YouTube Transcription Summarizer API

This API retrieves transcriptions for YouTube videos.

  • GET /transcriptions/{videoId}Retrieves the transcription of a YouTube video.

    Fetches the transcript for a given YouTube video based on the video ID.

  • GET /transcriptions/help.phpBasic help page

    Explains how to best use YTranscription Summarizer with example prompts.

原始 API 定义
{
  "openapi": "3.0.0",
  "info": {
    "title": "YouTube Transcription Summarizer API",
    "description": "This API retrieves transcriptions for YouTube videos.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://joshrice.net",
      "description": "Main server for transcription retrieval"
    }
  ],
  "paths": {
    "/transcriptions/{videoId}": {
      "get": {
        "operationId": "getVideoTranscription",
        "summary": "Retrieves the transcription of a YouTube video.",
        "description": "Fetches the transcript for a given YouTube video based on the video ID.",
        "parameters": [
          {
            "name": "videoId",
            "in": "path",
            "required": true,
            "description": "The ID of the YouTube video",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A successful response containing the video transcription",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transcript": {
                      "type": "string"
                    },
                    "most replayed start time": {
                      "type": "string"
                    },
                    "most replayed end time": {
                      "type": "string"
                    },
                    "hotspots": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Video not found"
          }
        }
      }
    },
    "/transcriptions/help.php": {
      "get": {
        "operationId": "getVideoTranscriptionHelp",
        "summary": "Basic help page",
        "description": "Explains how to best use YTranscription Summarizer with example prompts.",
        "responses": {
          "200": {
            "description": "A successful response containing the help page contents",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Help not found"
          }
        }
      }
    }
  }
}