YouTube Transcript
Pricing
from $0.39 / transcript
YouTube Transcript
YouTube transcript API — pass any YouTube URL (regular video, Shorts, or live replay) and get back the full transcript as timestamped segments, using the official caption track when present and ASR when not. Optional one-shot translation into any of 100+ languages.
Pricing
from $0.39 / transcript
Rating
4.7
(4)
Developer
AgentX
Actor stats
5
Bookmarked
285
Total users
20
Monthly active users
7 days ago
Last modified
Categories
Share
YouTube Transcript - YouTube Video Transcript Intelligence API
YouTube Transcript is a YouTube-native video transcript intelligence API that extracts frame-accurate timestamped speech segments, optional 100+ language translation, and 22 rich video-metadata fields from any YouTube video URL in a single video-driven run. YouTube Transcript returns structured records per video, including video URL, video ID, video title, video description, channel name, channel ID, channel URL, video duration in seconds, view count, like count, comment count, video categories, video tags array, thumbnail image URL, upload date, source caption language code, target language code (when translation enabled), full transcript text, timestamped segment array (start, end, text), transcript source flag (native captions vs ASR), word count, and is-live flag. Coverage spans the full global YouTube video catalog with native-caption priority and ASR fallback. Built for SEO content audits, AI training corpora construction, RAG indexing pipelines, search-augmentation engines, video-summarization toolchains, accessibility compliance, podcast-republishing, and multilingual-content workflows. Per-video pay-per-result pricing at $0.42 with no monthly minimum.
Why Choose This API
YouTube-Native Video Transcript for AI & SEO Pipelines
⏱️ Frame-Accurate Timestamped Segments
The transcript object delivers frame-accurate start/end/text segments — enabling precise speech-text alignment for RAG vector indexing, YouTube chapter generation, content search, and AI training corpus construction.
📺 Native Caption Priority with ASR Fallback YouTube's native captions are used as the primary transcript source when available — maximizing accuracy and minimizing processing cost. ASR (Automatic Speech Recognition) activates automatically as fallback for videos without captions.
🌍 100+ Language Translation
The optional translate parameter triggers AI-powered translation into 100+ languages — enabling multilingual content monitoring, cross-language knowledge extraction, and international SEO content audits from a single YouTube URL.
📊 Rich YouTube Metadata Output
Each transcript record includes view_count, like_count, comment_count, categories, tags, duration, published_at, and author details — enabling combined transcript + engagement analytics without a separate YouTube data request.
🔍 SEO & Content Intelligence Integration Full-text transcript output combined with YouTube metadata provides complete content-signal datasets for SEO keyword density analysis, competitive content audits, and YouTube search ranking intelligence pipelines.
Quick Start Guide
How to Extract YouTube Transcripts in 3 Steps
Step 1: Enter the YouTube Video URL
Paste any public YouTube video URL (e.g., https://www.youtube.com/watch?v=4rzeW4dbvlQ).
Step 2: Optionally Select Translation Language
Leave translate empty for original transcript only, or select a target language for AI translation (100+ languages supported).
Step 3: Download Structured Transcript Data
The output includes the full transcript with timestamped segments, optional translation, and all YouTube video metadata.
Input Parameters
Configuration Fields
| Parameter | Type | Required | Description | Example Values |
|---|---|---|---|---|
video_url | string | ✅ | YouTube video URL to transcribe | "https://www.youtube.com/watch?v=4rzeW4dbvlQ" |
translate | string | ❌ | Target language for AI translation (100+ languages, optional) | "spanish", "chinese (simplified)", "arabic", "japanese" |
Example Input Configuration
{"video_url": "https://www.youtube.com/watch?v=4rzeW4dbvlQ","translate": "spanish"}
Output Data Schema
Complete Transcript Record Structure
Each YouTube video produces one record:
YouTube Transcript & Video Intelligence Fields
| Field | Type | Description |
|---|---|---|
processor | string | Apify actor URL that processed this record |
processed_at | string | ISO 8601 timestamp (UTC) when processed |
platform | string | Source platform ("Youtube") |
title | string | Video title |
description | string | Video description text |
author | string | Channel username or name |
author_id | string | YouTube channel ID |
author_url | string | Channel URL |
duration | number | Video duration in seconds |
view_count | integer | Total view count |
like_count | integer | Total like count |
shares_count | integer | Total shares count |
dislike_count | integer | Dislike count when available |
comment_count | integer | Total comment count |
categories | array | YouTube video categories |
tags | array | Video tags |
published_at | string | Video publication timestamp (ISO) |
thumbnail | string | Video thumbnail image URL |
audio_title | string | Music track name (if applicable) |
audio_artist | string | Music artist name (if applicable) |
transcript | object | Timestamped transcript: language, text, segments (with start/end/text) |
translation | object | AI-translated transcript: language, text, segments (with start/end/text) |
Example JSON Output
{"processor": "https://apify.com/agentx/youtube-transcript?fpr=aiagentapi","processed_at": "2026-05-01T10:30:00.000Z","platform": "Youtube","title": "How to Build an AI Agent in 10 Minutes","author": "TechChannel","duration": 623,"view_count": 152000,"like_count": 8500,"comment_count": 340,"categories": ["Education", "Technology"],"tags": ["AI", "machine learning", "tutorial"],"transcript": {"language": "English","text": "Hello and welcome to this tutorial on building AI agents.","segments": [{"start": "00:00:00.000","end": "00:00:03.500","text": "Hello and welcome to this tutorial."}]},"translation": {"language": "Spanish","text": "Hola y bienvenido a este tutorial.","segments": [{"start": "00:00:00.000","end": "00:00:03.500","text": "Hola y bienvenido a este tutorial."}]}}
Export Formats
- JSON - Complete structured transcript data with segments
- CSV - Transcript metadata for SEO and content analysis
- API Access - Programmatic access via Apify Client SDK
- Cloud Storage - Automatic upload to Apify Dataset
Integration Examples
Actor ID for Platform Integration
XfzZmSAG84ODgmr0z
Ⓜ️ Make.com Setup:
- Login to Make.com (Get 1000 Free Credits)
- Add module "Run an Actor"
- Turn 'Map' on - right side of the 'Actor*'
- Paste Actor ID - from above
- Click the '⟳ Refresh' - left side of Map
- Input JSON* - Modify the parameters as needed
- Set "Run synchronously" to YES
- Add module "Get Dataset Items" - receive the result
- In Dataset ID* select defaultDatasetId
🎱 N8N.io Setup:
- Add 'Run an Actor and get dataset' - from the apify node
- Actor → By ID → Paste Actor ID - from above
- Input JSON - Modify the parameters as needed
Python Integration Example
from apify_client import ApifyClientclient = ApifyClient('YOUR_API_TOKEN')run_input = {"video_url": "https://www.youtube.com/watch?v=4rzeW4dbvlQ","translate": "spanish"}run = client.actor("XfzZmSAG84ODgmr0z").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript/Node.js Integration
import { ApifyClient } from "apify-client";const client = new ApifyClient({ token: "YOUR_API_TOKEN" });const input = {video_url: "https://www.youtube.com/watch?v=4rzeW4dbvlQ",};const run = await client.actor("XfzZmSAG84ODgmr0z").call(input);const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((item) => console.log(item));
JSON-LD Metadata
{"@context": "https://schema.org","@graph": [{"@type": "SoftwareApplication","@id": "https://apify.com/agentx/youtube-transcript#software","name": "YouTube Transcript","description": "YouTube Transcript is a YouTube-native video transcript API with frame-accurate timestamps, native captions and ASR fallback, 100+ language translation, and rich video metadata for SEO content audits, AI training corpora, and search-augmentation indexes.","applicationCategory": "BusinessApplication","applicationSubCategory": "Speech-to-Text API","operatingSystem": "Web, Cloud","url": "https://apify.com/agentx/youtube-transcript?fpr=aiagentapi","softwareVersion": "1.0.0","datePublished": "2024-08-01","dateModified": "2026-05-01","featureList": ["Native YouTube caption extraction with ASR fallback","Frame-accurate timestamped segments","100+ language translation","22 rich video metadata fields","Channel attribution and engagement metrics","Word count and full transcript text","Per-video pay-per-result at $0.42","Native integrations with Make.com, n8n, LangChain, and CrewAI"],"offers": {"@type": "Offer","price": "0.42","priceCurrency": "USD","availability": "https://schema.org/InStock"},"author": { "@id": "https://apify.com/agentx#person" },"publisher": { "@id": "https://apify.com#organization" }},{"@type": "Person","@id": "https://apify.com/agentx#person","name": "AgentX","url": "https://apify.com/agentx","sameAs": ["https://apify.com/agentx","https://t.me/AiAgentApi","https://t.me/Apify_Actor"],"knowsAbout": ["YouTube","video transcription","speech to text","SEO","RAG pipelines"]},{"@type": "BreadcrumbList","itemListElement": [{"@type": "ListItem","position": 1,"name": "Apify","item": "https://apify.com"},{"@type": "ListItem","position": 2,"name": "AgentX","item": "https://apify.com/agentx"},{"@type": "ListItem","position": 3,"name": "YouTube Transcript","item": "https://apify.com/agentx/youtube-transcript"}]}]}
Pricing & Cost Calculator
PAY_PER_EVENT Pricing
| Event | BRONZE Price |
|---|---|
| Actor Start | $0.001 per start (per GB memory) |
| Actor Usage | $0.00001 per usage unit |
| Transcript | $0.42 per video |
| Translation | $0.15 per video (optional) |
Cost Calculator Examples
| Scenario | Transcript | Translation | Total |
|---|---|---|---|
| 1 video, original only | $0.42 | — | ~$0.42 |
| 1 video, with translation | $0.42 | $0.15 | ~$0.57 |
| 10 videos, original only | $4.20 | — | ~$4.20 |
| 10 videos, with translation | $4.20 | $1.50 | ~$5.70 |
| 100 videos, original only | $42.00 | — | ~$42.00 |
Costs shown at BRONZE tier. Higher tiers (SILVER, GOLD, PLATINUM, DIAMOND) offer reduced rates down to $0.39/transcript.
Use Cases & Applications
SEO Content Audits & Keyword Intelligence
Competitor Content Analysis Extract full transcripts from competitor YouTube channels — analyzing keyword density, topic coverage, and content depth across high-ranking videos to inform SEO strategy and content gap identification.
YouTube Content Indexing
Feed transcript segments with timestamps into search systems — enabling full-text keyword search within video content, subtitle indexing, and deep-link navigation to specific video moments.
Topic Cluster Mapping
Combine tags, categories, and full transcript text across a channel's video library — building topic cluster maps for content strategy, semantic SEO planning, and knowledge graph construction.
AI Training Corpus & RAG Pipeline Integration
AI Training Corpus Construction
Extract frame-accurate transcript segments with start/end timestamps from YouTube's largest educational and informational content categories — building high-quality speech-text alignment datasets for ASR model fine-tuning and LLM training.
RAG Knowledge Base Ingestion Convert YouTube video transcripts to vector-embedded segments for retrieval-augmented generation pipelines — enabling YouTube content to serve as a queryable knowledge base within AI agent workflows.
Multilingual Content Monitoring
Use the translate parameter across 100+ languages to monitor competitor YouTube content in international markets — detecting messaging, claims, and keyword targeting across language barriers.
FAQ
Does this extract YouTube's native auto-generated captions?
Yes — native YouTube captions (including auto-generated ones) are used as the primary source when available. ASR processes the audio directly as fallback for videos without any caption track.
What are frame-accurate timestamps?
Each segment in the transcript object contains start and end fields in HH:MM:SS.mmm format — providing millisecond-precision alignment between transcript text and video position.
How many languages are supported for translation?
100+ languages, including Arabic, Chinese (Simplified/Traditional), Hindi, Spanish, French, German, Japanese, Korean, Russian, Portuguese, Turkish, and many more.
Can I extract transcripts from YouTube Shorts?
Yes — YouTube Shorts are supported as they are standard YouTube video URLs.
SEO Keywords & Search Terms
Primary Keywords
YouTube transcript API, YouTube video transcript extractor, YouTube speech-to-text API, YouTube captioning API, YouTube transcript pipeline, YouTube video text extraction API, YouTube SEO content audit API, YouTube transcript RAG pipeline, YouTube captions API developer, YouTube AI transcript tool
Long-Tail Keywords
how to extract YouTube transcript programmatically, YouTube video speech recognition API integration, YouTube auto-caption extraction pipeline, YouTube transcript 100 language translation API, YouTube content competitor analysis transcript tool, YouTube video transcript for RAG indexing, YouTube transcript timestamped segments JSON, YouTube transcript SEO keyword density analysis, YouTube training corpus extraction API, YouTube subtitle extraction API developer
Industry Terms
YouTube-native transcript API, frame-accurate timestamp extraction, native caption priority pipeline, YouTube ASR fallback transcript, YouTube content intelligence API, video speech-text alignment dataset, multilingual YouTube transcript pipeline, YouTube RAG vector ingestion, YouTube SEO content analysis pipeline, YouTube knowledge base extraction tool
Trust & Certifications
- ✅ Production-Grade Infrastructure — runs on the Apify cloud platform with managed proxy rotation and automatic retries
- ✅ GDPR & CCPA-Region Aligned — processes only publicly available YouTube video content; no personal contact data retained beyond the run session
- ✅ Pay-Per-Result Billing — transparent $0.42 per video with no monthly minimum or seat fees
- ✅ Continuously Maintained — caption extractors, ASR models, and translation engines updated as YouTube evolves
Legal & Compliance
Data Rights & Usage
All data extracted by this actor originates from publicly accessible YouTube video content. Users are responsible for ensuring their use of extracted data complies with applicable laws, data protection regulations, and YouTube's terms of service.
Privacy Compliance
- GDPR: Compliant with EU GDPR for data processing workflows.
- CCPA: Compliant with California Consumer Privacy Act requirements.
Platform Terms of Service
Users must review and comply with YouTube's Terms of Service when using extracted transcript data.
Enterprise Support
For enterprise licensing, custom integrations, or compliance inquiries:
- Telegram: @AiAgentApi
Related Tools
Jobs & Hiring
- All Jobs Scraper - Multi-Platform Job Listings Intelligence API
- Glassdoor Hiring Scraper - Glassdoor Job Listings Intelligence API
- Glints Employer Data Extractor - Glints Employer Intelligence API
- Glints Jobs Data Extractor - Glints Job Listings Intelligence API
- Indeed Hiring Scraper - Indeed Job Listings Intelligence API
- JobStreet Employer Data Extractor - JobStreet Employer Intelligence API
- JobStreet Jobs Data Extractor - JobStreet Job Listings Intelligence API
- LinkedIn Hiring Scraper - LinkedIn Job Listings Intelligence API
- StepStone Employer Data Extractor - StepStone Employer Intelligence API
- StepStone Jobs Data Extractor - StepStone Job Listings Intelligence API
Social Media
- Instagram Creator Scraper - Instagram Creator Intelligence API
- Instagram Post Reel Scraper - Instagram Post & Reel Intelligence API
- Instagram Trending Scraper - Instagram Trending Content Intelligence API
- LinkedIn Company Scraper - LinkedIn Company Intelligence API
- LinkedIn Profile Scraper - LinkedIn Profile Intelligence API
- Medium Author Data Extractor - Medium Author Intelligence API
- Medium Content Data Extractor - Medium Content Intelligence API
- Reddit Author Scraper - Reddit Author Intelligence API
- Reddit Viral Scraper - Reddit Viral Content Intelligence API
- SubReddit Info Scraper - Subreddit Intelligence API
- Subreddit Member Scraper - Subreddit Member Intelligence API
- SubReddit Post Scraper - Subreddit Post Intelligence API
- Telegram Chat Scraper - Telegram Chat Intelligence API
- Telegram Group Inviter - Telegram Group Invitation API
- Telegram Info Scraper - Telegram Channel Intelligence API
- Telegram Member Scraper - Telegram Member Intelligence API
- Telegram Private Group Scraper - Telegram Private Group Intelligence API
- TikTok Creator Scraper - TikTok Creator Intelligence API
- Twitter Community Scraper - Twitter Community Intelligence API
- Twitter Info Scraper - Twitter Account Intelligence API
- YouTube Market Intelligence - YouTube Channel Intelligence API
Video & Transcript
- All Video Scraper - Multi-Platform Video Intelligence API
- Live Stream Transcript - Live Stream Transcript Intelligence API
- TikTok Live Downloader - TikTok Live Stream Download API
- TikTok Transcript - TikTok Video Transcript Intelligence API
- Video Caption Scraper - Multi-Platform Video Caption Extraction API
- Video to Social Post - Video to Social Post Generation API
- Video Transcript - Multi-Platform Video Transcript Intelligence API
- YouTube Transcript - YouTube Video Transcript Intelligence API
E-Commerce & Retail
- Amazon Product Data Extractor - Amazon Product Intelligence API
- Amazon Storefront Data Extractor - Amazon Storefront Intelligence API
- Argos Retail Data Extractor - Argos Product Intelligence API
- ASOS Product Catalog Extractor - ASOS Product Catalog Intelligence API
- eBay Marketplace Data Extractor - eBay Marketplace Intelligence API
- eBay Seller Leads API - eBay Seller Lead Intelligence API
- Flipkart Product Data Extractor - Flipkart Product Intelligence API
- John Lewis Retail Data Extractor - John Lewis Product Intelligence API
- Lidl Offers Data Extractor - Lidl Offers Intelligence API
- Magalu Product Data Extractor - Magalu Product Intelligence API
- MediaMarkt Product Data Extractor - MediaMarkt Product Intelligence API
- Mercado Livre Marketplace Data Extractor - Mercado Livre Marketplace Intelligence API
- Nykaa Product Data Extractor - Nykaa Product Intelligence API
- OTTO Product Data Extractor - OTTO Product Intelligence API
- Target Product Data Extractor - Target Product Intelligence API
- Walmart Product Data Extractor - Walmart Product Intelligence API
Classifieds & Automotive
- AutoTrader Dealer Leads API - AutoTrader Dealer Lead Intelligence API
- AutoTrader Vehicle Listings API - AutoTrader Vehicle Listings Intelligence API
- Cars.com Dealer Leads API - Cars.com Dealer Lead Intelligence API
- Cars.com Vehicle Listings API - Cars.com Vehicle Listings Intelligence API
- Kleinanzeigen Classifieds Data Extractor - Kleinanzeigen Classifieds Intelligence API
- Kleinanzeigen Seller Leads API - Kleinanzeigen Seller Lead Intelligence API
- OLX Classifieds Data Extractor - OLX Classifieds Intelligence API
- OLX Seller Leads API - OLX Seller Lead Intelligence API
- Webmotors Vehicle Listings API - Webmotors Vehicle Listings Intelligence API
Real Estate
- MagicBricks Builder Leads API - MagicBricks Builder Lead Intelligence API
- MagicBricks Property Data Extractor - MagicBricks Real Estate Data API
- Realtor Property Scraper - Realtor.com Property Listings Intelligence API
- Zillow For Sale Scraper - Zillow Property Listings Intelligence API
Business Intelligence & Reviews
- BBB Business Data Extractor - BBB Business Intelligence API
- BBB Reputation Data Extractor - BBB Reputation Intelligence API
- Google Maps Store Scraper - Google Maps Business Intelligence API
- Reclame Aqui Company Data Extractor - Reclame Aqui Company Intelligence API
- TradeIndia Product Data Extractor - TradeIndia Product Intelligence API
- TradeIndia Supplier Leads API - TradeIndia Supplier Lead Intelligence API
- Zomato Menu Data Extractor - Zomato Restaurant Menu Intelligence API
- Zomato Restaurant Data Extractor - Zomato Restaurant Search Intelligence API
Other
- Global Weather Scraper - Global Weather Intelligence API
Support & Community
- 👥 Community: @Apify_Actor
- 👤 Contact Team: @AiAgentApi
Last Updated: May 01, 2026