YouTube Transcripts — Subtitles Without the Token Wall avatar

YouTube Transcripts — Subtitles Without the Token Wall

Pricing

from $2.00 / 1,000 results

Go to Apify Store
YouTube Transcripts — Subtitles Without the Token Wall

YouTube Transcripts — Subtitles Without the Token Wall

Get the transcript of any public YouTube video: full text, language, whether it is auto-generated, and segment count. Runs yt-dlp, which handles the proof-of-origin token that makes timedtext return an empty body.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

alaudin burki

alaudin burki

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Features

Limited permissions

Share

Get the transcript of any public YouTube video: full text, language, whether it is auto-generated, and segment count.

The wall that is not a wall

YouTube's caption endpoint now answers HTTP 200 with a zero-byte body unless the request carries a proof-of-origin token. Fetching timedtext directly looks like success and returns nothing:

captionTracks present in the watch page ✓
timedtext?fmt=json3 → 200, 0 bytes
timedtext?fmt=vtt → 200, 0 bytes

yt-dlp negotiates that token with the player, so it still reads captions. This Actor runs it, pinned to a tested version, and parses the json3 track it writes.

Manual captions win

If a video has both, the human-written track is used and isAuto is false. Auto-generated captions are used only when nothing else exists, and say so — they have no punctuation guarantees.

What you get

FieldExample
titleRick Astley - Never Gonna Give You Up
language / isAutoen · false
segmentCount / wordCount61 · 487
transcriptthe full text, one block
durationSecs213

Use cases

  • Content repurposing — transcript in, article or summary out.
  • Research — search what a channel actually said.
  • Accessibility — a text copy of a video.
  • LLM input — transcripts as a dataset instead of a video.

Limits

  • Public videos only. Private, age-gated or members-only videos report their reason per video.
  • One language per run — the requested one, or the closest regional variant.
  • Auto captions are machine text. isAuto tells you which you received.
  • YouTube throttles. A 429 gets one patient retry; a persistent block is reported per video, not disguised as "no captions".

Verified

19 unit tests (id parsing from every URL shape, manual-over-auto selection, json3 parsing, empty events) and 12 live checks: a real video returning 61 segments and 487 words, plus a second video's metadata.


Local build — transcripts verified against live YouTube, not published.