YouTube Transcript Scraper — Subtitles, Captions & SRT Export avatar

YouTube Transcript Scraper — Subtitles, Captions & SRT Export

Pricing

from $3.00 / 1,000 transcript results

Go to Apify Store
YouTube Transcript Scraper — Subtitles, Captions & SRT Export

YouTube Transcript Scraper — Subtitles, Captions & SRT Export

Bulk YouTube transcript and subtitle extraction: up to 500 videos per run, clean text + timestamped segments, SRT/VTT/Markdown exports, preferred-language selection. Pay per delivered transcript only ($0.003) — no charge for videos without captions, unavailable videos or failures.

Pricing

from $3.00 / 1,000 transcript results

Rating

0.0

(0)

Developer

Bin Bin

Bin Bin

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

YouTube Transcript

Turn public YouTube video URLs into clean transcript data for analysis, summarization, indexing, or API workflows. Transcripts are fetched through YouTube's mobile player clients with per-request residential proxy sessions; you only pay for transcripts that are actually delivered.

Measured reliability (November 2026 regression): in a 117-video run over a fixed set of real-world videos, 96 transcripts were delivered and billed; the other 21 were videos with no usable caption track or unavailable videos — each returned a named error code (NO_TRANSCRIPT, VIDEO_UNAVAILABLE, …) and was charged $0. In the captioned subset, delivery was 34/34. A canary run re-tests 10 fixed videos every 6 hours.

Fetching TikTok captions instead? See the companion TikTok Transcript Actor.

Example

Input — copy, paste, run:

{
"urls": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"languages": ["en"],
"includeSegments": true
}

Output — one dataset row per video (real run, 2026-11-23; text and segments shortened):

{
"status": "SUCCEEDED",
"videoId": "dQw4w9WgXcQ",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
"channelName": "Rick Astley",
"language": "en",
"isAutoGenerated": false,
"segmentCount": 61,
"text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ … (2,089 characters in the full row)",
"segments": [
{ "startMs": 1360, "endMs": 3040, "text": "[♪♪♪]" },
{ "startMs": 18640, "endMs": 21880, "text": "♪ We're no strangers to love ♪" }
]
}

Input

  • urls: 1–500 YouTube video URLs or video IDs. youtu.be, /shorts/, /live/, /embed/ and m.youtube.com links are accepted and normalized. Duplicate videos are processed once. Entries that are not valid YouTube videos return an INVALID_VIDEO_INPUT row instead of failing the run.
  • includeSegments: include timestamped segments in addition to the combined text (default true).
  • languages: preferred caption languages in priority order (default ["en"]). Matching is by prefix, so en also matches en-US and en-GB. For each language a manually created track is preferred over an auto-generated one; if none of the preferred languages exists, the video's auto-generated track is used.
  • outputFormats: optional srt, vtt, markdown exports generated from the timestamped segments, included in the standard price.
  • playlistUrls, channelUrls: resolve up to three public playlists or channels each; videos deduplicate across all sources, bounded by maxVideos (1–500).
  • maxDurationMinutes: videos longer than this return a VIDEO_TOO_LONG row and are not charged (default 120; set 0 to disable).

Up to 5 videos are processed concurrently inside a run.

Output

Each successful video produces one dataset row: videoId, url, title, channelId, channelName, language, isAutoGenerated, languageSelectedBy (manual, asr, fallback-asr or fallback-first), text, segmentCount, segments (startMs / endMs / text), retryCount, retrievedAt, plus formattedCaptions when exports are selected.

A video that cannot produce a transcript returns a FAILED row with one of these error codes — failed rows are never charged:

CodeMeaningRetry?
NO_TRANSCRIPTThe video has no caption track at all.No
EMPTY_TRANSCRIPTA caption track exists but contains no spoken text (only [Music]-style annotations).No
VIDEO_UNAVAILABLEPrivate, deleted, region-locked or members-only video.No — except region-locked videos, which may work on a later run from a different exit region
AGE_RESTRICTEDAge-restricted video; captions need sign-in.No
LIVE_OR_UPCOMINGLive stream or premiere without a finished caption track yet.Later
VIDEO_TOO_LONGLonger than maxDurationMinutes.Raise the limit
INVALID_VIDEO_INPUTThe entry is not a valid YouTube video URL or ID.Fix the input
BLOCKEDYouTube asked for sign-in on every player client (temporary bot wall).Later
TRANSCRIPT_PROVIDER_FAILEDTemporary provider failure after retries across three player clients.Later

The run summary in the key-value store (OUTPUT) reports delivered and billed rows, retries, failures by input, and engine diagnostics (which player client succeeded, caption 429 count, empty-response count, blocked-client count).

Billing

PPE event: transcript-result — $0.003 per delivered transcript ($3 per 1,000).

A result is charged only after its row is successfully written to the dataset. Failed rows, retries and skipped videos are never charged. There is no separate start charge in the Actor code.

Reliability

  • Player requests rotate across three of YouTube's mobile clients (ANDROID, IOS, ANDROID_VR), each attempt on a fresh residential proxy session; caption downloads likewise use a fresh session and fetch exactly one caption track.
  • Temporary failures are retried (up to 2 player attempts and 3 caption attempts per client); deterministic outcomes — unavailable, age-restricted, too long, no captions — are classified immediately without burning extra attempts. retryCount reports the extra attempts a successful row needed.
  • Last verified 2026-11-23: on a 45-video mixed set (25 popular + 20 long-tail), every video with a finished caption track was delivered (34/34); of the other 11, 5 have no caption track and 6 are live streams whose captions are not finished yet. Zero rate-limit failures in the run.

Status

  • 2026-11-23: New extraction engine (mobile player clients + per-request residential sessions). Failure classification expanded (see table above). Batch limit raised to 500, concurrent processing, languages and maxDurationMinutes inputs added. Price set to $3 per 1,000 delivered transcripts with the new engine; failed results remain free.
  • Behavior change in this release: videos longer than 120 minutes are now skipped by default (VIDEO_TOO_LONG, not charged) instead of being delivered. Set maxDurationMinutes to 0 to restore the old behavior.

Scope

This Actor focuses only on the job video URL → transcript. It does not download video/audio, summarize the transcript, or scrape comments.

Family recipes

Use Transcript for speech text; pair it with Comments for audience response, Search for discovery, Playlist for ordered collections, Channel Videos for catalog exports, or Shorts for short-form research.

Use it via MCP

Also available as an MCP tool via the Apify MCP server (mcp.apify.com) — add bin_ai_tools/youtube-transcript to your MCP client.