YouTube Transcript Scraper
Pricing
from $3.00 / 1,000 transcripts
Go to Apify Store
YouTube Transcript Scraper
YouTube transcripts by video ID or URL: full text, language, manual or auto captions, word count, and timestamped lines.
YouTube Transcript Scraper
Pricing
from $3.00 / 1,000 transcripts
YouTube transcripts by video ID or URL: full text, language, manual or auto captions, word count, and timestamped lines.
Input
input
Optional
The video ID or URL you submitted.
Result type
type
Optional
transcript or error.
Video ID
videoId
Optional
11-character YouTube video ID.
URL
url
Optional
Watch URL of the video.
Language
language
Optional
Language code of the transcript in this row.
Caption type
captionType
Optional
manual (written by the uploader) or auto (generated from speech).
Fallback language
isFallbackLanguage
Optional
True when the requested language was missing and another track was used.
Available languages
availableLanguages
Optional
Every language code the video has captions in.
Transcript
text
Optional
Full transcript as one plain-text string.
Words
wordCount
Optional
Number of words in text.
Characters
characterCount
Optional
Number of characters in text.
Lines
segmentCount
Optional
Number of timed caption lines.
Length (s)
durationSeconds
Optional
End time of the last caption line, in seconds. Close to the video length.
Timestamped lines
segments
Optional
Caption lines with start and end in seconds. Empty when Include timestamps is off.
Error code
errorCode
Optional
Machine-readable reason, on error rows only.
Error message
errorMessage
Optional
Plain-language reason, on error rows only.