YouTube Video Transcript avatar
YouTube Video Transcript

Pricing

$5.00 / 1,000 results

Go to Apify Store
YouTube Video Transcript

YouTube Video Transcript

Developed by

starvibe

starvibe

Maintained by Community

Extract YouTube Video Transcript and Metadata

0.0 (0)

Pricing

$5.00 / 1,000 results

0

2

2

Last modified

a day ago

YouTube Video Transcript and Metadata Extractor

Overview

Unlock the power of YouTube video data with this Apify Actor! Effortlessly fetch transcript/subtitles and rich metadata (title, channel, view count, and more) for any YouTube video. Perfect for researchers, content creators, and analysts who need structured video data without the hassle of direct scraping. Save time and get reliable, structured data straight to your Apify dataset!

Input

Provide a YouTube video URL. The Actor requires the following fields, defined in input_schema.json:

FieldTypeDescriptionRequired
youtube_urlStringThe URL of the YouTube (e.g., https://www.youtube.com/watchv=dQw4w9WgXcQ).Yes

Example Input:

{
"youtube_url": "https://www.youtube.com/watch?v=6EeDKyS7pV8"
}

Output

The Actor saves data to the Apify dataset in a structured JSON format, as defined in dataset_schema.json. The output includes:

FieldTypeDescription
video_idStringThe unique identifier of the YouTube video.
titleStringThe title of the YouTube video.
channel_nameStringThe name of the YouTube channel.
channel_idStringThe unique identifier of the YouTube channel.
timestampIntegerThe Unix timestamp of when the video was published.
upload_dateStringThe UTC date and time of video upload (format: YYYY-MM-DD HH:MM:SS+0000).
view_countIntegerThe number of views the video has received.
transcriptArrayAn array of transcript segments, each with text, start, duration, language, and language_code.
urlStringThe URL of the YouTube video.
languageStringThe primary language of the transcript (e.g., en for English).
duration_secondsIntegerThe total duration of the video in seconds.

Sample Output (TED Talk Video in English):

{
"video_id": "6EeDKyS7pV8",
"title": "The power of vulnerability | Brené Brown",
"channel_name": "TED",
"channel_id": "UCsooa4yRKGN_zEE8iknghZA",
"timestamp": 1755244800,
"upload_date": "2025-08-15 07:00:00+0000",
"view_count": 65000000,
"transcript": [
{
"text": "So, I'll start with this: a couple years ago, an event planner called me",
"start": 0.0,
"duration": 4.5,
"language": "English",
"language_code": "en"
},
{
"text": "because I was going to do a speaking event. And she said,",
"start": 4.6,
"duration": 3.8,
"language": "English",
"language_code": "en"
},
{
"text": "I'm really struggling with how to describe you on the little blurb.",
"start": 8.5,
"duration": 4.2,
"language": "English",
"language_code": "en"
}
// ... more transcript segments
],
"url": "https://www.youtube.com/watch?v=6EeDKyS7pV8",
"language": "en",
"duration_seconds": 1200
}

Why Use This Actor?

  • Efficiency: Get YouTube video data in seconds via your internal API.
  • Flexibility: Works with any API endpoint that returns structured JSON data.
  • Reliability: Built-in validation and logging ensure robust performance.
  • Scalability: Easily integrate with Apify's ecosystem for data processing and export.