YouTube Transcript Scraper — Captions & Subtitles API avatar

YouTube Transcript Scraper — Captions & Subtitles API

Pricing

from $2.00 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper — Captions & Subtitles API

YouTube Transcript Scraper — Captions & Subtitles API

Bulk YouTube transcripts (captions/subtitles) with optional timestamps and language selection. Pay per result.

Pricing

from $2.00 / 1,000 transcripts

Rating

0.0

(0)

Developer

Jarvis Studio

Jarvis Studio

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 hours ago

Last modified

Features

Limited permissions

Share

Extract full YouTube transcripts (a.k.a. captions or subtitles) from any public video in one API call. Paste video URLs or IDs, get clean text — with optional timestamps, language selection and video metadata. Built for bulk: thousands of videos per run.

Why this YouTube transcript extractor

  • Bulk transcripts — pass hundreds or thousands of video URLs/IDs; one dataset item per video.
  • Any caption track — picks your preferred language (en, es, it, pt-BR…), falls back to English then to the first available track. Works with manual and auto-generated (ASR) subtitles.
  • Timestamps optional — enable includeTimestamps to get a segments array with start/duration for every caption line, ready for SRT/VTT conversion.
  • Video metadata included — title, channel, views, duration, auto-generated flag on every item.
  • No proxy needed to start — runs on free datacenter IPs and automatically rotates to a residential proxy when YouTube rate-limits the address.
  • Pay per result — you only pay for transcripts actually delivered. Failed videos are logged, never charged.

Input

FieldTypeDefaultDescription
videoUrlsarrayrequiredYouTube URLs (watch, youtu.be, shorts) or 11-char video IDs
languagestringenPreferred caption language code; falls back gracefully
includeTimestampsbooleanfalseAdd segments with per-line start/duration
maxItemsinteger1000Hard cap on transcripts for the run
proxyConfigurationobjectoffOptional explicit proxy settings
{
"videoUrls": [
"https://www.youtube.com/watch?v=UF8uR6Z6KLc",
"dQw4w9WgXcQ"
],
"language": "en",
"includeTimestamps": true
}

Output

One dataset item per video:

{
"type": "transcript",
"videoId": "UF8uR6Z6KLc",
"url": "https://youtube.com/watch?v=UF8uR6Z6KLc",
"title": "Steve Jobs' 2005 Stanford Commencement Address",
"author": "Stanford",
"channelId": "UC-EnprmCZ3OXyAoG7vjVNCA",
"durationSeconds": 912,
"views": 45000000,
"language": "en",
"isAutoGenerated": false,
"text": "Thank you. I'm honored to be with you today...",
"chars": 14230,
"segments": [{ "start": 0.0, "duration": 4.2, "text": "Thank you." }],
"scrapedAt": "2026-11-26T10:00:00.000Z"
}

Export as JSON, CSV, XLSX or stream via the Apify API — drop the dataset into your RAG pipeline, LLM context, content repurposing or research workflow.

Typical use cases

  • LLM / RAG pipelines — feed video knowledge into embeddings and agents.
  • Content repurposing — turn videos into blog posts, newsletters, tweets.
  • SEO & competitor research — analyze what channels actually say at scale.
  • Accessibility & archiving — keep subtitle records of your own uploads.
  • Language learning datasets — paired transcripts with timestamps.

FAQ

A video has no captions — what happens? The item is skipped and logged; you are not charged for it.

Does it work on YouTube Shorts and music videos? Yes — any public video with a caption track, auto-generated included.

Can I get other languages than the original? We fetch the caption tracks YouTube actually provides for the video (original + any contributed/auto-translated tracks exposed on the track list).

Is this allowed? The actor reads public caption data already served to every viewer's browser. You are responsible for respecting YouTube's Terms of Service and the copyright of the underlying content.

Reliability

The scraper talks to YouTube's own player endpoints through mobile clients — no headless browser, so it's fast and cheap. When an IP gets rate-limited, it rotates proxy addresses automatically instead of failing your run.

Pricing

Pay-per-event: a few tenths of a cent per transcript plus a negligible run-start fee. One thousand transcripts cost about $2 — see the Pricing tab for the exact current rates. There is no monthly minimum.