Youtube Transcript Tool & API

Paste the link of the video and get the transcript

API Instructions

To use the YouTube Transcript API, send a GET request to the following endpoint:

GET https://app.digicord.site/api/v1/youtube/transcript/{videoId}

Example using fetch:

const videoId = 'dQw4w9WgXcQ';
fetch(`https://app.digicord.site/api/v1/youtube/transcript/${videoId}`)
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

Response Schema

{
  // Status of the request: 0 for failure, 1 for success
  "status": 0 | 1,
  // Error message if status is 0
  "message": "string",
  // Transcript data
  "data": {
    // Full transcript content as a single string
    "content": "string",
    // Array of transcript chunks
    "chunks": [
      {
        // Start time of the chunk in seconds
        "startSec": "number",
        // End time of the chunk in seconds
        "endSec": "number",
        // Start time of the chunk in HH:MM:SS format
        "startTime": "string",
        // End time of the chunk in HH:MM:SS format
        "endTime": "string",
        // Duration of the chunk in seconds
        "duration": "number",
        // Text content of the chunk
        "text": "string"
      }
    ]
  }
}

Replace {videoId} with the actual YouTube video ID you want to fetch the transcript for.

Version: 1.23.0