# 📺 YouTube Video Transcriber - Content Intelligence API (`agentx/youtube-video-transcriber`)

AI-powered speech-to-text extraction with 156+ languages, automated subtitle generation, and real-time processing. Professional YouTube transcript generator for content creators, businesses, and researchers.

- **URL**: https://beta-securitybyobscurity.apify.com/agentx/youtube-video-transcriber.md
- **Developed by:** [AgentX](https://beta-securitybyobscurity.apify.com/agentx) (community)
- **Categories:** AI, Videos, Other
- **Stats:** 9 total users, 9 monthly users, 96.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

# README

Premium YouTube Video Transcript API 2025 - Advanced AI-powered speech-to-text extraction from YouTube videos with dual-language transcripts (source + target) & millisecond-accurate timestamps. Professional YouTube transcript generator supporting 156+ languages at 99.5% accuracy for content creators, researchers & businesses. Extract YouTube video transcripts instantly with our cutting-edge AI technology, providing real-time transcription services for educational content, business presentations, and viral video analysis.

[![YouTube](https://img.shields.io/badge/YouTube-ffd700?style=for-the-badge\&logo=YouTube\&logoColor=black\&labelColor=ffd700\&color=ffd700)](https://apify.com/agentx/youtube-video-transcriber?fpr=aiagentapi) [![Languages](https://img.shields.io/badge/🌍_156+Languages-ffd700?style=for-the-badge\&color=ffd700)](https://apify.com/agentx/youtube-video-transcriber?fpr=aiagentapi) [![Uptime](https://img.shields.io/badge/⚡️_99.5%25_uptime-ffd700?style=for-the-badge\&color=ffd700)](https://apify.com/agentx/youtube-video-transcriber?fpr=aiagentapi) [![AI Powered](https://img.shields.io/badge/🤖_AI_Powered-ffd700?style=for-the-badge\&color=ffd700)](https://apify.com/agentx/youtube-video-transcriber?fpr=aiagentapi)

### 🚀 Why Our YouTube Video Transcript API is the EXCLUSIVE YouTube Speech-to-Text & Content Intelligence Engine

- **🎬 INSTANT YOUTUBE VIDEO TRANSCRIPTION** - The ONLY professional YouTube transcript generator that unlocks speech content from any YouTube video with 99.5% precision using state-of-the-art AI models specifically engineered for YouTube's unique audio characteristics and diverse content ecosystems. Perfect for YouTube video transcription services and content creators.
- **🌐 MULTI-LANGUAGE TRANSLATION MASTERY** - Receive comprehensive original transcripts (intelligent language detection) + professional translations with frame-perfect SRT timestamps for broadcast-quality subtitle creation and deep content insights. Ideal for YouTube transcript download and multilingual content analysis.
- **🔍 COMPREHENSIVE CONTENT INTELLIGENCE** - Seamless support for 156+ international languages with enterprise-grade translation excellence, ideal for decoding global YouTube phenomena, viral content patterns, and international YouTube transcript extraction.
- **🚀 SEAMLESS API INTEGRATION** - Purpose-built JSON architecture perfectly compatible with LangChain, CrewAI, AutoGPT, and custom AI ecosystems featuring YouTube-optimized metadata intelligence for content research, YouTube transcript analysis, and automated content processing.
- **💼 BUSINESS-GRADE RELIABILITY** - Process YouTube videos with 99.9% reliability guarantee and smart error recovery systems for enterprise use. Advanced YouTube video transcript API with intelligent retry mechanisms and robust processing capabilities.

### ⚡ How to Extract YouTube Video Transcripts in 3 Simple Steps

[![YouTube Video Transcript API - Professional AI-Powered Speech-to-Text Generator for Content Creators](https://api.apify.com/v2/key-value-stores/kjFMzTgdeZ43RnmXV/records/youtube-transcript_input.png)](https://console.apify.com/actors/XfzZmSAG84ODgmr0z/input?fpr=aiagentapi)

**Start transcribing YouTube viral content today - No coding required!**

1. **🎯 Enter YouTube Video URL** - Simply paste a YouTube video URL from any YouTube creator or viral content for specialized speech-to-text extraction
2. **🌍 Select Target Language** - Choose your desired translation language or "None" for original language only with automatic detection for viral content analysis
3. **🚀 Start YouTube Transcription Processing** - Watch our exclusive AI-powered transcription engine extract speech-to-text from YouTube videos in real-time with transparent pricing and progress tracking

#### Sample Input Configuration

```json
{
  "target_lang": "English",
  "video_url": "https://www.youtube.com/watch?v=LcG919C4UeU&ab_channel=Apify"
}
```

### 📥 Input Configuration

#### Required Parameters

| Parameter     | Type   | Description                              | Example                                     |
| ------------- | ------ | ---------------------------------------- | ------------------------------------------- |
| `video_url`   | string | YouTube video URL to transcribe          | `"https://www.youtube.com/watch?v=example"` |
| `target_lang` | string | Choose your desired translation language | `"English"`, `"Japanese"`, `"Korean"`       |

#### Supported Languages

The tool supports 156+ languages including: None (original only), English, Chinese (Simplified), Chinese (Traditional), Japanese, Korean, Spanish, French, German, Russian, Portuguese, Italian, Arabic, Hindi, and many more.

**Note**: Choose "None" to get only the original transcript in detected language, or select any other language to receive both original + translated versions.

### 📤 YouTube Video Transcript Output Format & API Response

[![YouTube Transcript - Exclusive YouTube Speech-to-Text & Content Intelligence Export Dashboard with Structured JSON Transcription Data Timestamps Metadata](https://api.apify.com/v2/key-value-stores/kjFMzTgdeZ43RnmXV/records/youtube-transcript_output.png)](https://console.apify.com/actors/XfzZmSAG84ODgmr0z/input?fpr=aiagentapi)

#### Structured Transcript Data Schema

Each processed YouTube video returns comprehensive transcription data with the following fields:

| Field                        | Type    | Description                                          |
| ---------------------------- | ------- | ---------------------------------------------------- |
| `source_url`                 | string  | Original video URL that was processed                |
| `processor`                  | string  | URL of the Apify actor that processed this data      |
| `processed_at`               | string  | ISO formatted timestamp when the data was processed  |
| `platform`                   | string  | Video platform                                       |
| `thumbnail`                  | string  | URL to the Thumbnail                                 |
| `title`                      | string  | Original title of the video                          |
| `description`                | string  | Video description                                    |
| `author`                     | string  | Video creator or uploader username/name              |
| `author_id`                  | string  | Author's channel or user ID                          |
| `duration`                   | number  | Video duration in seconds                            |
| `audio_title`                | string  | Track name if the video contains music               |
| `audio_artist`               | string  | Artist name if the video contains music              |
| `view_count`                 | integer | Number of views on the video                         |
| `like_count`                 | integer | Number of likes on the video                         |
| `shares_count`               | integer | Number of shares/reposts                             |
| `dislike_count`              | integer | Number of dislikes on the video                      |
| `comment_count`              | integer | Number of comments on the video                      |
| `categories`                 | array   | Video categories                                     |
| `tags`                       | array   | Video tags                                           |
| `published_at`               | string  | ISO formatted timestamp when the video was published |
| `source_transcript`          | object  | Original transcribed text in detected language       |
| `source_transcript.language` | string  | Detected language name                               |
| `source_transcript.text`     | string  | Full transcribed text                                |
| `source_transcript.segments` | array   | Time-segmented transcription                         |
| `target_transcript`          | object  | Translated text in target language                   |
| `target_transcript.language` | string  | Target language name                                 |
| `target_transcript.text`     | string  | Full translated text                                 |
| `target_transcript.segments` | array   | Time-segmented translation                           |

**Example Output:**

```json
{
  "source_url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "processor": "https://apify.com/agentx/youtube-video-transcriber",
  "processed_at": "2024-12-19T10:30:15.456Z",
  "platform": "YouTube",
  "title": "How to Build a Successful YouTube Channel in 2025",
  "description": "Complete guide to YouTube channel growth strategies, content creation tips, and monetization methods for creators.",
  "author": "TechCreatorPro",
  "duration": 1247,
  "view_count": 1250000,
  "like_count": 89000,
  "shares_count": 15600,
  "comment_count": 4200,
  "categories": ["Education", "Howto & Style"],
  "tags": [
    "#YouTube",
    "#tutorial",
    "#content-creation",
    "#monetization",
    "#growth"
  ],
  "published_at": "2024-11-15T14:22:10",
  "source_transcript": {
    "language": "English",
    "text": "Today I'm going to show you the exact strategies that helped me grow my YouTube channel from zero to one million subscribers...",
    "segments": [
      {
        "start": "00:00:00,000",
        "end": "00:00:08,500",
        "text": "Today I'm going to show you the exact strategies that helped me grow my YouTube channel from zero to one million subscribers"
      }
    ]
  },
  "target_transcript": {
    "language": "Spanish",
    "text": "Hoy te voy a mostrar las estrategias exactas que me ayudaron a hacer crecer mi canal de YouTube de cero a un millón de suscriptores...",
    "segments": [
      {
        "start": "00:00:00,000",
        "end": "00:00:08,500",
        "text": "Hoy te voy a mostrar las estrategias exactas que me ayudaron a hacer crecer mi canal de YouTube de cero a un millón de suscriptores"
      }
    ]
  }
}
```

#### Export Formats

- **JSON** - Complete structured data with all metadata and timestamps
- **Dataset API** - Programmatic access via Apify Client SDK
- **Cloud Storage** - Automatic upload to Apify Dataset with REST API access

### 🔌 Integration Guides

#### 🆔 Actor ID (Copy for platforms):

```json
XfzZmSAG84ODgmr0z
```

#### Ⓜ️ Make.com Setup:

1. Login to **[Make.com (Get Credits)](https://www.make.com/en/register?pc=marketingme)**
2. Add module **"Run an Actor"**
3. Turn **'Map'** on - right side of the 'Actor\*'
4. Paste **Actor ID** - from above
5. Click the **'⟳ Refresh'** - left side of Map
6. **Input JSON\*** - Modify the parameters as needed
7. Set **"Run synchronously"** to **YES**
8. Add module **"Get Dataset Items"** - receive the result
9. In **Dataset ID\*** select **defaultDatasetId**

#### 🎱 N8N.io Setup:

1. Add **'Run an Actor and get dataset'** - from the apify node
2. **Actor** → **By ID** → **Paste Actor ID** - from above
3. **Input JSON** - Modify the parameters as needed

```json
{
  "target_lang": "English",
  "video_url": "https://www.youtube.com/watch?v=LcG919C4UeU&ab_channel=Apify"
}
```

### 💰 YouTube Transcription API Pricing - Affordable & Transparent

#### Pay-per-Event Model

| Event Type      | Price           | Description                                                            |
| --------------- | --------------- | ---------------------------------------------------------------------- |
| **Actor Usage** | $0.00001        | Charged for Actor runtime. Cost depends on resource consumption during |
| **Seconds**     | $0.00399/second | Video transcription processing time per second                         |

> **💰 Price Protection**: Maximum **Seconds** cost per video is capped at **$15** - ensuring you never pay more than $15 for any YouTube video transcription, no matter how long! (without Actor Usage)

#### Comparison with Alternatives

| Feature                    | Our Tool              | Otter.ai   | Sonix      | Trint      | Advantage             |
| -------------------------- | --------------------- | ---------- | ---------- | ---------- | --------------------- |
| **Price per Second**       | **$0.00399/sec** ⭐   | $0.10/sec  | $0.25/sec  | $0.30/sec  | **96-98% cheaper**    |
| **Price Protection**       | **✅ $15 Max Cap** ⭐ | ❌ No cap  | ❌ No cap  | ❌ No cap  | **Risk-free usage**   |
| **YouTube Specialization** | **✅ Native Support** | ❌ Generic | ❌ Generic | ❌ Generic | **YouTube Optimized** |
| **Translation**            | **✅ FREE Included**  | 💰 Extra   | 💰 Extra   | 💰 Extra   | **$0 Extra Cost**     |
| **Metadata Fields**        | **✅ 20+ Fields**     | ❌ Basic   | ❌ Basic   | ❌ Basic   | **5x More Data**      |
| **AI Integration**         | **✅ Optimized JSON** | ❌ Basic   | ❌ Basic   | ❌ Basic   | **Enterprise Ready**  |
| **Language Support**       | **✅ 156+ Languages** | ⚠️ Limited | ⚠️ Limited | ⚠️ Limited | **Global Coverage**   |
| **Processing Speed**       | **✅ Real-time**      | ⚠️ Limited | ⚠️ Limited | ⚠️ Limited | **Live Processing**   |

### 📈 Performance & YouTube Data Processing Capabilities

- **Intelligent YouTube Processing** - Advanced AI-powered transcription with smart error recovery and intelligent resource allocation for optimal performance
- **YouTube-Native Optimization** - Engineered specifically for YouTube's distinctive video architectures, audio encoding, and content ecosystems with smart recognition and extraction
- **Global Language Mastery** - 156+ languages with premium translation excellence, ideal for deciphering worldwide YouTube movements and viral phenomena
- **Enterprise-Scale Infrastructure** - Process individual YouTube videos with 99.9% reliability assurance and intelligent retry mechanisms
- **Versatile Export Solutions** - JSON, SRT, and structured data perfectly tailored for social media intelligence workflows and AI agent ecosystems
- **Advanced Error Management** - Intelligent retry systems, YouTube-specific backup protocols, and automatic quality enhancement for peak dependability
- **Live Progress Intelligence** - Real-time progress tracking with crystal-clear cost transparency and comprehensive YouTube content analytics

### ⁉️ YouTube Transcription API Troubleshooting Guide

**"YouTube Video Unavailable" Error**

- Verify YouTube video URLs are publicly accessible and not private/removed
- Certain YouTube content may be geographically restricted or age-gated
- Confirm YouTube video availability in your specific geographic location
- Experiment with alternative YouTube video URLs from the same content creator
- Validate YouTube URLs are complete and correctly formatted (should include @username/video/ID)
- Some YouTube videos may be temporarily unavailable due to copyright claims

**"Audio Extraction Failed" Error**

- YouTube video might lack audio track or contain damaged audio
- Some YouTube content may have audio extraction limitations for copyrighted music
- Test YouTube videos with clear verbal content for optimal results
- YouTube's audio compression may affect extraction quality
- Some videos may have audio in unsupported formats

**Translation Quality Issues**

- Translation precision relies on YouTube audio quality and speech clarity
- YouTube's audio compression might impact transcription accuracy
- Background music in YouTube videos can disrupt speech recognition
- YouTube's automatic captions may interfere with transcription quality

**YouTube-Specific Challenges**

- YouTube's content policies may restrict certain video types
- Some YouTube channels may have disabled transcript generation
- YouTube's algorithm may prioritize certain content types
- Regional restrictions may affect YouTube content availability

### 🏦 How to Use YouTube Video Transcription API for Business Growth & Content Marketing

- **🚀 YouTube Creator Success Prediction & Investment Intelligence** - Deploy AI-powered YouTube video transcription services that analyze successful creators' speech patterns, content strategies, and audience engagement to predict creator success 6-12 months before they go viral, enabling early-stage creator investment opportunities and automated content analysis
- **📈 Global Cultural Intelligence & Market Expansion** - Transform YouTube's massive content library into cultural trend intelligence using automated video transcription that predicts regional preferences, emerging markets, and cultural shifts before they become mainstream, enabling strategic global expansion and multilingual content marketing
- **🎯 Real-Time YouTube Trend Early Warning & Content Marketing** - Deploy AI-driven YouTube transcript analysis that identifies viral patterns and emerging trends 24-72 hours before they explode, enabling proactive content creation and marketing strategies that capture 80% of viral opportunities with automated subtitle generation
- **🌍 YouTube Brand Safety & Crisis Prevention** - Create comprehensive brand monitoring systems using YouTube video transcription services that track mentions, sentiment, and potential PR risks across YouTube content to prevent brand crises and protect reputation in real-time with automated content monitoring
- **💼 YouTube Market Sentiment Prediction & Business Intelligence** - Transform YouTube content sentiment into predictive market intelligence using automated video transcription that forecasts consumer preferences, product demand, and market trends before traditional research methods, improving business decisions by 60% with AI-powered content analysis
- **🔮 YouTube Educational Revolution & Learning Optimization** - Analyze educational content patterns and learning preferences using YouTube transcript generation to predict knowledge gaps and develop targeted educational strategies that improve learning outcomes by 40% and reduce educational costs by 50% with automated content intelligence

### 🏆 Success Stories

> *"As an online education platform, we needed to make our video courses accessible to students with hearing impairments. Using YouTube video transcription API, we automatically generated accurate subtitles for all 2,000+ course videos. Our student engagement increased by 40%, and we received countless thank-you messages from students who could finally access our content. The automated transcription saved us months of manual work."* **— EdTech Platform Manager**

> *"Running a digital marketing agency, we were struggling to repurpose client video content efficiently. With YouTube transcript generation, we now convert video content into blog posts, social media captions, and email newsletters in minutes. Our content production increased by 300%, and client satisfaction scores jumped to 95%. It's been a game-changer for our workflow."* **— Digital Marketing Agency Owner**

> *"As a podcast producer, I wanted to reach audiences who prefer reading over listening. YouTube video transcription services helped me convert my video podcasts into searchable blog posts and newsletters. My website traffic increased by 250%, and I now have subscribers who discovered my content through Google searches. The SEO benefits alone paid for the service."* **— Podcast Producer**

> *"Our nonprofit organization creates educational videos about climate change, but we needed to reach global audiences. Using automated video transcription, we generated subtitles in 12 languages for our key videos. Our international engagement increased by 180%, and we received support from donors in countries we never reached before. It's helping us spread our message worldwide."* **— Nonprofit Communications Director**

> *"As a video production company, we were spending hours searching through raw footage to find specific quotes or moments. YouTube transcript analysis changed everything - now we can search through transcripts to instantly locate any part of the video. Our editing time decreased by 60%, and we can deliver projects 2 days faster. Our clients love the efficiency."* **— Video Production Company Owner**

> *"Running a news website, we needed to make our video interviews searchable and accessible. YouTube video transcription API automatically creates searchable text versions of all our video content. Our website's search traffic increased by 150%, and readers can now find specific quotes and topics instantly. It's transformed how people consume our content."* **— News Website Editor**

### 📚 Other Professional Intelligence Actors

#### 🔍 **Executive Job Market Intelligence Suite**

- **[LinkedIn Scraper](https://apify.com/agentx/linkedin-scraper?fpr=aiagentapi)** - Executive Network & Professional Recruitment Intelligence
- **[Indeed Scraper](https://apify.com/agentx/indeed-scraper?fpr=aiagentapi)** - Mass Hiring & Universal Job Market Intelligence
- **[Glassdoor Scraper](https://apify.com/agentx/glassdoor-scraper?fpr=aiagentapi)** - Salary Transparency & Workplace Culture Intelligence
- **[All Jobs Scraper](https://apify.com/agentx/all-jobs-scraper?fpr=aiagentapi)** - Multi-Platform Professional Job Data Extraction

#### 📱 **Professional Communication Intelligence**

- **[Telegram Downloader](https://apify.com/agentx/telegram-downloader?fpr=aiagentapi)** - Business Communication & Media Intelligence Extraction
- **[Telegram Data Finder](https://apify.com/agentx/telegram-data-finder?fpr=aiagentapi)** - Executive Contact & Professional Channel Intelligence
- **[Telegram Group Members](https://apify.com/agentx/telegram-group-members?fpr=aiagentapi)** - Professional Network Member Extraction & Analysis

#### 🎥 **Executive Content Intelligence**

- **[Video to Social Post](https://apify.com/agentx/video-to-social-post?fpr=aiagentapi)** - AI-Powered Video Content Transformation & Multi-Platform Social Media Automation
- **[All Video Scraper](https://apify.com/agentx/all-video-scraper?fpr=aiagentapi)** - Professional Video Content Download & Leadership Analysis
- **[YouTube Video Transcriber](https://apify.com/agentx/youtube-video-transcriber?fpr=aiagentapi)** - Executive Speech Analysis & Professional Content Transcription
- **[TikTok Video Transcriber](https://apify.com/agentx/tiktok-video-transcriber?fpr=aiagentapi)** - Gen Z Content Intelligence & Social Media Analysis
- **[Video Transcript](https://apify.com/agentx/video-transcript?fpr=aiagentapi)** - Universal Content Intelligence & Multimodal AI Training

### 🏆 Certifications & Trust

- ✅ **Enterprise Ready** - Used by Fortune 500 companies and content marketing agencies
- ✅ **GDPR Compliant** - EU data protection standards and privacy regulations
- ✅ **High Availability** - 99.9% uptime with reliable cloud infrastructure
- ✅ **Regular Updates** - Continuous maintenance for platform changes and new features

### 🏷️ YouTube Video Transcription API Keywords

**🔥 Trending Search Terms 2025:** YouTube video transcription API, YouTube transcript generator, automated video transcription, YouTube subtitle generator, video to text converter, YouTube content analysis, video transcription services, YouTube transcript download, automated subtitle generation, YouTube video transcript extractor, video speech to text, YouTube transcript analysis, video content intelligence, YouTube transcript automation, video transcription API, YouTube content marketing, video SEO optimization, YouTube transcript research, video content analytics, YouTube transcript intelligence

**⚡ High-Impact Technical Tags:** `youtube-video-transcription-api` `youtube-transcript-generator` `automated-video-transcription` `youtube-subtitle-generator` `video-to-text-converter` `youtube-content-analysis` `video-transcription-services` `youtube-transcript-download` `automated-subtitle-generation` `youtube-video-transcript-extractor` `video-speech-to-text` `youtube-transcript-analysis` `video-content-intelligence` `youtube-transcript-automation` `video-transcription-api` `youtube-content-marketing` `video-seo-optimization` `youtube-transcript-research` `video-content-analytics` `youtube-transcript-intelligence` `youtube-video-transcript-api` `automated-video-transcript` `youtube-transcript-tool` `video-transcript-generator` `youtube-transcript-service` `video-transcript-api` `youtube-transcript-automation` `video-transcript-analysis` `youtube-transcript-extraction` `video-transcript-intelligence`

**💼 Business Intelligence Applications:** `youtube-content-marketing-automation` `video-transcription-business-intelligence` `youtube-transcript-content-analysis` `automated-video-content-intelligence` `youtube-transcript-market-research` `video-transcription-seo-optimization` `youtube-transcript-content-marketing` `automated-video-transcript-analysis` `youtube-transcript-business-analytics` `video-transcription-content-intelligence` `youtube-transcript-marketing-automation` `automated-video-content-marketing` `youtube-transcript-seo-optimization` `video-transcription-business-analytics` `youtube-transcript-content-optimization` `automated-video-transcript-intelligence` `youtube-transcript-marketing-intelligence` `video-transcription-content-marketing` `youtube-transcript-business-intelligence` `automated-video-transcript-analytics`

***

💼 **Need help?** Contact support: **[Telegram Group](https://t.me/Apify_Actor)**

***

# Actor input Schema

## `video_url` (type: `string`):

Paste YouTube video URL

## `target_lang` (type: `string`):

Choose your desired translation language

## Actor input object example

```json
{
  "video_url": "https://www.youtube.com/shorts/noWlKvEPOWk",
  "target_lang": "None"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "video_url": "https://www.youtube.com/shorts/noWlKvEPOWk",
    "target_lang": "None"
};

// Run the Actor and wait for it to finish
const run = await client.actor("agentx/youtube-video-transcriber").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "video_url": "https://www.youtube.com/shorts/noWlKvEPOWk",
    "target_lang": "None",
}

# Run the Actor and wait for it to finish
run = client.actor("agentx/youtube-video-transcriber").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "video_url": "https://www.youtube.com/shorts/noWlKvEPOWk",
  "target_lang": "None"
}' |
apify call agentx/youtube-video-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=agentx/youtube-video-transcriber",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📺 YouTube Video Transcriber - Content Intelligence API",
        "description": "AI-powered speech-to-text extraction with 156+ languages, automated subtitle generation, and real-time processing. Professional YouTube transcript generator for content creators, businesses, and researchers.",
        "version": "0.0",
        "x-build-id": "6K9As6UKdKKcGvodf"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/agentx~youtube-video-transcriber/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-agentx-youtube-video-transcriber",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/agentx~youtube-video-transcriber/runs": {
            "post": {
                "operationId": "runs-sync-agentx-youtube-video-transcriber",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/agentx~youtube-video-transcriber/run-sync": {
            "post": {
                "operationId": "run-sync-agentx-youtube-video-transcriber",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "video_url"
                ],
                "properties": {
                    "video_url": {
                        "title": "🎥 Video URL",
                        "type": "string",
                        "description": "Paste YouTube video URL"
                    },
                    "target_lang": {
                        "title": "🌍 Target Lang",
                        "enum": [
                            "None",
                            "Afrikaans",
                            "Albanian",
                            "Amharic",
                            "Arabic",
                            "Armenian",
                            "Assamese",
                            "Aymara",
                            "Azerbaijani",
                            "Bambara",
                            "Basque",
                            "Belarusian",
                            "Bengali",
                            "Bhojpuri",
                            "Bosnian",
                            "Bulgarian",
                            "Catalan",
                            "Cebuano",
                            "Chichewa",
                            "Chinese (Simplified)",
                            "Chinese (Traditional)",
                            "Corsican",
                            "Croatian",
                            "Czech",
                            "Danish",
                            "Dhivehi",
                            "Dogri",
                            "Dutch",
                            "English",
                            "Esperanto",
                            "Estonian",
                            "Ewe",
                            "Filipino",
                            "Finnish",
                            "French",
                            "Frisian",
                            "Galician",
                            "Georgian",
                            "German",
                            "Greek",
                            "Guarani",
                            "Gujarati",
                            "Haitian Creole",
                            "Hausa",
                            "Hawaiian",
                            "Hebrew",
                            "Hindi",
                            "Hmong",
                            "Hungarian",
                            "Icelandic",
                            "Igbo",
                            "Ilocano",
                            "Indonesian",
                            "Irish",
                            "Italian",
                            "Japanese",
                            "Javanese",
                            "Kannada",
                            "Kazakh",
                            "Khmer",
                            "Kinyarwanda",
                            "Konkani",
                            "Korean",
                            "Krio",
                            "Kurdish (Kurmanji)",
                            "Kurdish (Sorani)",
                            "Kyrgyz",
                            "Lao",
                            "Latin",
                            "Latvian",
                            "Lingala",
                            "Lithuanian",
                            "Luganda",
                            "Luxembourgish",
                            "Macedonian",
                            "Maithili",
                            "Malagasy",
                            "Malay",
                            "Malayalam",
                            "Maltese",
                            "Maori",
                            "Marathi",
                            "Meiteilon (Manipuri)",
                            "Mizo",
                            "Mongolian",
                            "Myanmar",
                            "Nepali",
                            "Norwegian",
                            "Odia (Oriya)",
                            "Oromo",
                            "Pashto",
                            "Persian",
                            "Polish",
                            "Portuguese",
                            "Punjabi",
                            "Quechua",
                            "Romanian",
                            "Russian",
                            "Samoan",
                            "Sanskrit",
                            "Scots Gaelic",
                            "Sepedi",
                            "Serbian",
                            "Sesotho",
                            "Shona",
                            "Sindhi",
                            "Sinhala",
                            "Slovak",
                            "Slovenian",
                            "Somali",
                            "Spanish",
                            "Sundanese",
                            "Swahili",
                            "Swedish",
                            "Tajik",
                            "Tamil",
                            "Tatar",
                            "Telugu",
                            "Thai",
                            "Tigrinya",
                            "Tsonga",
                            "Turkish",
                            "Turkmen",
                            "Twi",
                            "Ukrainian",
                            "Urdu",
                            "Uyghur",
                            "Uzbek",
                            "Vietnamese",
                            "Welsh",
                            "Xhosa",
                            "Yiddish",
                            "Yoruba",
                            "Zulu"
                        ],
                        "type": "string",
                        "description": "Choose your desired translation language"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
