YouTube Transcript Scraper: Captions with Timestamps avatar

YouTube Transcript Scraper: Captions with Timestamps

Pricing

from $5.00 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper: Captions with Timestamps

YouTube Transcript Scraper: Captions with Timestamps

Get the transcript of any public YouTube video or Short as timed lines and plain text, in the language you choose. Built for AI, summaries and search.

Pricing

from $5.00 / 1,000 transcripts

Rating

0.0

(0)

Developer

Megomi

Megomi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Give YouTube video links and get each video's transcript as timed lines (text, startMs, endMs, startTimeText) and as one block of plain text. Pick the caption language, or take the video's own spoken language. Works for regular videos, Shorts and live replays. Made for summaries, search indexes, RAG and other AI pipelines.

What you get

{
"target": "https://www.youtube.com/watch?v=a1B2c3D4e5F",
"status": "ok",
"cached": false,
"data": {
"success": true,
"videoId": "a1B2c3D4e5F",
"type": "video",
"url": "https://www.youtube.com/watch?v=a1B2c3D4e5F",
"language": "English",
"transcript_only_text": "welcome back to the farm and the backyard trails we built ...",
"transcript": [
{ "text": "welcome back to the farm and the", "startMs": "160", "endMs": "1920", "startTimeText": "0:00" },
{ "text": "backyard trails we built", "startMs": "1920", "endMs": "3919", "startTimeText": "0:01" }
]
}
}

Illustrative values. One dataset row per video, exportable as JSON, CSV or Excel, or readable through the Apify API. startMs and endMs are strings.

Pricing

You pay per transcript returned. A video with no captions (or none in the language you asked for), a video that does not exist, an age-restricted or private video, and an answer while the service is busy are all free. Set a maximum cost per run and the Actor stops when it is reached.

Input

FieldMeaning
targetsVideo links: watch?v=, youtu.be/, /shorts/, /live/, /embed/. Up to 1000 per run. The same video written two ways is looked up, and charged, once.
languageOptional. A code such as en, es, pt-BR. en takes any English track; en-US takes exactly en-US or plain en.
originalAudioOptional. Only the captions in the video's spoken language. Overrides language.
concurrencyParallel lookups, 1 to 5. Default 2.
maxRetriesExtra tries when the service is busy. Default 2.

Good to know

  • Nothing is translated or guessed. If the video has no captions in the language you asked for, you get transcript: null and are not charged.
  • A caption track written by a person is preferred over an automatic one.
  • Very long captions (over 8 MB or 60,000 lines) are not returned.
  • Results can be up to 15 minutes old (cached: true).

Statuses per row

statusMeaningCharged
okResult in data. If data.transcript is null, there were no captions to giveonly when a transcript is present
not_foundNo such videono
unavailableThe source was unavailable, asked to sign in, or was busy after retries. Try again laterno
rejectedThe input was refused, for example a link that is not a video. error says whyno

Only publicly available captions are used, and no YouTube login is involved. You are responsible for using the results in line with YouTube's terms and the copyright and privacy law that applies to you. Not affiliated with YouTube or Google.