Skip to content

YouTube Transcript Pro

🎯 Getting Started with YouTube Transcript Pro

Section titled “🎯 Getting Started with YouTube Transcript Pro”

Welcome to the YouTube Transcript Pro API! This guide will show you how to quickly extract high-quality, AI-ready text from any YouTube video in seconds.

AI-Ready Text (`transcript`)

A beautifully concatenated, single string of text — perfect for feeding directly into ChatGPT, Claude, or your custom RAG pipelines without breaking tokenizers.

JSON Array (`structured_transcript`)

A clean JSON array containing individual text blocks and timestamps, ideal if you need to build custom video players or subtitle viewers.


All requests to this API require your unique RapidAPI Key. You do not need to manage rotating session tokens yourself.

Just ensure these headers are included in every HTTP request:

X-RapidAPI-Key: YOUR_RAPIDAPI_KEY
X-RapidAPI-Host: youtube-video-transcript-subtitles-pro.p.rapidapi.com

This single endpoint handles everything. You can pass either a clean Video ID or just dump a messy YouTube URL into the request.

NameTypeInDescription
videoIdstringQueryOptional*. The 11-character YouTube ID (e.g., dQw4w9WgXcQ).
urlstringQueryOptional*. Any valid YouTube URL (e.g., https://youtu.be/dQw4w9WgXcQ?t=43).
langstringQueryOptional. The language code. Defaults to en. Use vi for Vietnamese or other ISO codes.

(Note: You must provide EITHER videoId OR url).


Leverage the API in any environment. Below are standard snippets to get you started quickly:

Terminal window
curl --request GET \
--url 'https://youtube-video-transcript-subtitles-pro.p.rapidapi.com/transcript?videoId=dQw4w9WgXcQ&lang=en' \
--header 'X-RapidAPI-Host: youtube-video-transcript-subtitles-pro.p.rapidapi.com' \
--header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY'

You can easily plug this API into your favorite automation platforms seamlessly.

  1. Add an HTTP Request node to your workflow.
  2. Set Method to GET.
  3. Set URL to https://youtube-video-transcript-subtitles-pro.p.rapidapi.com/transcript.
  4. Under Authentication, select None (we’ll use headers).
  5. Add to Send Headers:
    • Name: X-RapidAPI-Key | Value: YOUR_RAPIDAPI_KEY
    • Name: X-RapidAPI-Host | Value: youtube-video-transcript-subtitles-pro.p.rapidapi.com
  6. Add to Send Query Parameters:
    • Name: videoId | Value: dQw4w9WgXcQ (or map it dynamically from a previous node)
  7. Execute the node. The response will instantly output clean JSON!

Status CodeDescriptionSolution
200SuccessData retrieved successfully.
400Bad RequestInvalid url or videoId.
404Not FoundThe video does not exist, is private, or has subtitles disabled.
429Too Many RequestsRate limit exceeded.
500Server ErrorYouTube change detected. Try again later.