Overview
Available credits
Base rate
Rate limit
API key
No active key
Send it in the x-api-key header. Keys in the URL are rejected.
Production Batch Starter Scripts & Quickstart
Fetches millisecond-timed subtitle segments and pre-concatenated full_transcript_text for AI summarization or vector embeddings.
import requests
API_KEY = "yt_live_your_api_key"
VIDEO_ID = "dQw4w9WgXcQ"
res = requests.get(
"https://api.youtubeapi.io/v1/youtube/transcript",
params={"video_id": VIDEO_ID, "lang": "en"},
headers={"x-api-key": API_KEY},
timeout=30,
).json()
data = res.get("data") or {}
print("Title:", data.get("title"))
print("Languages:", data.get("available_languages"))
print("Full Text:", (data.get("full_transcript_text") or "")[:500])Replace yt_live_your_api_key with your key, or click Generate new key to inject your live key into these scripts automatically.