YouTube

Fetch YouTube video transcript

Changed on

Fetches the timestamped transcript for a YouTube video. Returns all transcript segments and the list of languages available. Provide a full YouTube URL or a bare 11-character video ID.

<span>⚡ <strong>Rate limit:</strong> 300 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per request <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

post/v1/youtube/transcript

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/youtube/transcript
  • Auth
    none declared

Request body

apiKeystring required

Your Fiber API key

videoIdstring required

YouTube video ID or full URL. Accepts a bare 11-character ID (e.g. '094y1Z2wpJg') or a full YouTube URL (e.g. 'https://www.youtube.com/watch?v=094y1Z2wpJg').

languageCodestring nullable

Transcript BCP-47 language code (e.g. 'en' for English, 'es' for Spanish, 'fr' for French, 'pt-BR' for Brazilian Portuguese). Omit to receive the default language transcript.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the response's property default value was removed for the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status