
YouTube Transcript Fetcher
Pricing
$15.00 / 1,000 results
Go to Apify Store

YouTube Transcript Fetcher
0.0 (0)
Pricing
$15.00 / 1,000 results
0
1
0
Last modified
a few seconds ago
YouTube Transcript Actor
Fetch the transcript for a single YouTube video in a specific language.
Input
-
url
(string, required)
Must be exactly a YouTube watch URL:
https://www.youtube.com/watch?v=VIDEO_ID
(VIDEO_ID is 11 chars). -
lang
(string, required)
Transcript language in ISO 639-1 (two letters, e.g.,en
,nb
,fr
).
Example input
{"url": "https://www.youtube.com/watch?v=h3NwAkaBuFg","lang": "en"}
Output
A single JSON object with these fields:
Field | Type | Description |
---|---|---|
video_id | string | 11-char YouTube video ID |
title | string | Video title |
channel_id | string | Channel ID |
channel_name | string | Channel name |
upload_date | string (ISO 8601) | Published date/time, e.g. "2024-06-01T12:34:56+00:00" |
url | string | Canonical watch URL |
duration_seconds | integer | Video length in seconds |
language | string | Requested ISO 639-1 language code |
transcript | array of objects | Each item: { "text": string, "start": "sec.ms", "end": "sec.ms" } |
Example output
{"video_id": "h3NwAkaBuFg","title": "Sample Title","channel_id": "UCxxxxxxxxxxxxxxxxx","channel_name": "Sample Channel","upload_date": "2024-06-01T12:34:56+00:00","url": "https://www.youtube.com/watch?v=h3NwAkaBuFg","duration_seconds": 213,"language": "en","transcript": [{ "start": "0.000", "end": "2.000", "text": "Intro line one" },{ "start": "2.001", "end": "4.500", "text": "Intro line two" }]}