YouTube Transcript Scraper: Bulk Captions with Timestamps avatar

YouTube Transcript Scraper: Bulk Captions with Timestamps

Pricing

$1.80 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper: Bulk Captions with Timestamps

YouTube Transcript Scraper: Bulk Captions with Timestamps

YouTube transcript scraper: get the transcript (captions, subtitles) of any video with timestamps, chapters and the language you pick. Paste video links, channels or playlists; bulk runs in one go. Optional AI summary with your own API key.

Pricing

$1.80 / 1,000 transcripts

Rating

0.0

(0)

Developer

Lavida Data

Lavida Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

11 hours ago

Last modified

Features

Limited permissions

Share

Get the YouTube transcript of any public video: the full text, timestamped segments and chapters, in the caption language you pick. Paste video links, channel links or @handles, or playlist links, and the Actor returns one row per video. It reads the captions YouTube already publishes (made by the uploader or generated by YouTube), so there is no speech-to-text cost and runs are fast.

What it does

  • Bulk input: video links or IDs, channel links, channel IDs or @handles, and playlist links in one run.
  • Pick caption languages in order of preference; uploader captions are chosen over auto-generated ones unless you turn that off.
  • Full transcript text plus timestamped segments (start and duration in seconds).
  • Chapters from the video description when the video has them.
  • Lists every caption language a video has, so you can run again for another language.
  • Optional AI summary and key points with your own OpenAI-compatible API key (off by default, no extra charge from us).

Use cases

  • Feed video transcripts to an LLM or AI agent for research, Q&A or RAG.
  • Turn a channel's latest videos into blog posts, newsletters or show notes.
  • Study how competitors open their videos: read the first 30 seconds of every upload.
  • Search what was said in a playlist of talks or tutorials without watching them.

How to use it

  1. Fill in the input (or keep the example).
  2. Click Start.
  3. Download the results from the Output tab, or connect them to your tools with the Apify API or integrations.

The prefilled input is a small test: it stops after 10 results, so the first run costs at most $0.02.

Input

FieldTypeRequiredDefaultExampleDescription
videosarrayno["https://www.youtube.com/watch?v=WN5O4vWCa54"]YouTube video links or 11-character video IDs. Watch, Shorts, live, embed and youtu.be links all work. One per line.
channelsarrayno["@GoogleDevelopers"]Channel links, @handles or channel IDs (UC followed by 22 characters). The Actor takes the latest 15 uploads of each channel, as listed in the channel's public feed.
playlistsarrayno["https://www.youtube.com/playlist?list=PLOU2XLYxmsIJGErt...Playlist links or playlist IDs. The Actor takes up to 15 videos per playlist, as listed in the playlist's public feed.
languagesarrayno["en"]Language codes in order of preference, for example en, nl, de or pt-BR. Leave empty to take the video's own language.
preferManualCaptionsbooleannotruetrueTake captions made by the uploader over YouTube's auto-generated ones in the same language.
fallbackToAnyLanguagebooleannotruetrueWhen none of your languages exists, return the captions in the video's own language instead of skipping the video.
includeSegmentsbooleannotruetrueAdd the segments array (start, duration, text). Turn off when you only need the full text.
aiSummarybooleannofalsefalseAdd a short summary and key points made by an LLM. Needs your own OpenAI-compatible API key and model below; the LLM provider bills you directly. Off by default.
aiApiKeystringnoAPI key for an OpenAI-compatible chat completions endpoint. Stored encrypted by Apify. Only needed when AI summary is on.
aiModelstringnoModel name at your provider, for example the name of a small, cheap chat model. Only needed when AI summary is on.
aiBaseUrlstringno"https://api.openai.com/v1"https://api.openai.com/v1Base URL of the OpenAI-compatible API (the part before /chat/completions).
proxyConfigurationobjectno{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}YouTube asks some data-centre IP addresses to sign in. Residential Apify Proxy avoids that; the proxy cost is included in the price per transcript.
maxResultsintegerno10010The run stops after this many results. You pay per result.

Example input:

{
"videos": [
"https://www.youtube.com/watch?v=WN5O4vWCa54"
],
"channels": [
"@GoogleDevelopers"
],
"languages": [
"en"
],
"maxResults": 20
}

Output

Each result is one row in the dataset. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API.

FieldTypeDescription
videoIdstring11-character YouTube video ID
urlstringWatch link of the video
titlestringVideo title
channelIdstringID of the channel that published the video (UC...)
durationSecondsintegerVideo length in seconds
viewCountintegerView count when the transcript was fetched
languagestringLanguage code of the returned captions
languageLabelstringCaption track name as YouTube shows it, for example English (auto-generated)
isAutoGeneratedbooleanTrue when YouTube generated the captions, false when the uploader made them
availableLanguagesarrayEvery caption language of the video; auto-generated ones end in -auto
transcriptstringFull caption text in one string
wordCountintegerNumber of words in the transcript
segmentsarrayTimestamped caption lines: start and duration in seconds, and text. Null when segments are turned off
chaptersarrayChapters from the description: start in seconds and title. Empty when the video has none
sourcestringvideo, channel or playlist: which input field the video came from
sourceInputstringThe input line the video came from
aiSummarystringShort summary by your LLM. Null when AI summary is off
aiKeyPointsarrayKey points by your LLM. Null when AI summary is off
scrapedAtstringWhen the transcript was fetched (ISO 8601)

Example output

TitleVideo URLLanguageAuto-generatedDuration (s)Words
5 developer tips for working with Gemini 4https://www.youtube.com/watch?v=WN5O4vWCa54enfalse256759

Example result:

{
"videoId": "WN5O4vWCa54",
"url": "https://www.youtube.com/watch?v=WN5O4vWCa54",
"title": "5 developer tips for working with Gemini 4",
"channelId": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"durationSeconds": 256,
"viewCount": 24724,
"language": "en",
"languageLabel": "English",
"isAutoGenerated": false,
"availableLanguages": [
"ar-auto",
"bn-auto",
"nl-auto",
"en",
"en-auto",
"fr-auto",
"de-auto",
"iw-auto",
"hi-auto",
"id-auto",
"it-auto",
"ja-auto",
"ko-auto",
"ml-auto",
"pl-auto",
"pt-auto",
"ru-auto",
"es-auto",
"uk-auto"
],
"transcript": "With Gemini 4, we've gone from prompting one turn at a time to handing off large and complex engineering tasks that run from start to finish without losing the thread. And when a model can work for that long on its own, how you structure your workflow matters a lot more than just...",
"wordCount": 759,
"segments": [
{
"start": 0.16,
"duration": 3,
"text": "With Gemini 4, we've gone from prompting one turn at a time"
},
{
"start": 3.16,
"duration": 2.44,
"text": "to handing off large and complex engineering tasks"
},
{
"start": 5.6,
"duration": 2.38,
"text": "that run from start to finish without losing the thread."
}
],
"chapters": [],
"source": "video",
"sourceInput": "https://www.youtube.com/watch?v=WN5O4vWCa54",
"aiSummary": null,
"aiKeyPoints": null,
"scrapedAt": "2026-11-27T01:19:00.000Z"
}

Pricing

This Actor uses pay-per-event pricing. You pay for results, not for compute time or proxies.

EventWhen it is chargedPricePer 1,000
TranscriptOne video transcript written to the dataset$0.0018$1.80
Actor startCharged by Apify once per run, plus once per GB of memory above 1 GB$0.00005$0.05

Example: 1,000 results cost $1.80 in total for one run. Set "Maximum cost per run" in the run options to cap spending; the Actor stops cleanly when the cap is reached.

Use it from an AI agent or the API

MCP (Claude, Cursor, ChatGPT and other MCP clients): add the Apify MCP server with this Actor as a tool: https://mcp.apify.com?tools=lavidarossi.bv/youtube-transcript-scraper. The agent sees it as the tool lavidarossi-dot-bv--youtube-transcript-scraper with the input fields above. Without the parameter, agents can still find it with the search-actors tool.

API: run it and get the rows in one call (replace <APIFY_TOKEN> with your token):

curl -X POST "https://api.apify.com/v2/acts/lavidarossi.bv~youtube-transcript-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
-d '{"videos":["https://www.youtube.com/watch?v=WN5O4vWCa54"],"languages":["en"],"preferManualCaptions":true,"fallbackToAnyLanguage":true,"includeSegments":true,"aiSummary":false,"aiBaseUrl":"https://api.openai.com/v1","proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]},"maxResults":10}'

FAQ

Where do the transcripts come from?

From the captions YouTube publishes for the video: made by the uploader, or generated by YouTube. The Actor does not log in and does not download audio.

What if a video has no captions?

It is skipped and not charged. The log names every skipped video and the reason (no captions, private, removed, age-restricted).

Do I pay for the AI summary?

Not to us. You give your own API key and your LLM provider bills you. The price per transcript stays the same.

Can I get a translated transcript?

Not yet. Pick a language the video already has; availableLanguages lists them.

What happens when a request fails?

Each request is retried up to 4 times. If a request still fails, the run ends with status Failed and the RUN_SUMMARY record in the key-value store lists the failed URLs. Results saved before that stay in the dataset.

Can I run it on a schedule?

Yes. Create a task with your input and add a schedule in Apify Console. Each run is charged per result.

Limits

  • Only videos with captions return a row. Live streams that are still running usually have no captions yet.
  • Channels and playlists come from YouTube's public feeds: the latest 15 uploads per channel and up to 15 videos per playlist.
  • Private, removed, members-only and age-restricted videos are skipped.
  • YouTube can change its player at any time. The run then fails with a clear error and we fix it.

Data

  • The Actor returns content metadata and caption text only: video ID, title, channel ID, captions. It does not return channel names, descriptions, comments or any profile data.
  • Captions can contain what people say on camera. Use transcripts in line with the GDPR and YouTube's terms, for example for research, accessibility or analysis of public content.