YouTube Transcript Scraper: Subtitles, Chapters & Key Moments

Get YouTube video transcripts and subtitles as text, Markdown, SRT, VTT, or segments, with chapters and most replayed moments. Search phrases or cap text for AI agents, RAG, and n8n. Caption-less videos are free. Not affiliated with YouTube or Google.

USD 1.50 / 1,000 transcriptsView on Apify Store
47 output fields Last verified: 2026-11-05 AI · Videos · Social media
  • Later runs return only the rows your previous run did not deliver.
  • 10,000 transcripts cost USD 15.00 at the Free-tier price; the Starter, Scale and Business plans are cheaper.

What it does

  • Agents that answer from videos. Send a video and a question’s keywords in find; the row lists each place they are said with a timestamp link, so the answer can cite the second it came from.
  • Clips and highlights. mostReplayed gives the moments viewers replay most, already joined with the words said in them, so you do not need a second tool or to match timestamps by hand.
  • Brand and topic monitoring. Name channels or playlists and a phrase; videos that mention it come back with the places, and videos that do not are not charged.
  • RAG and vector search. chunks are cut between paragraphs and sentences and carry their start second.
  • Subtitles. srt and vtt are ready-to-save subtitle files.
  • Channel research. Name a channel and get its recent uploads; with Only new videos, a schedule returns only what is new.

How to use it

  1. Put Videos, Playlists and/or Channels into the input. Any YouTube link works in Videos: a playlist or channel link placed there is read as what it is.
  2. To get only part of each transcript, set Find phrases, a time window or Maximum transcript characters. Leave them empty for whole transcripts.
  3. Pick the formats you need (default: text and segments) and the caption language order.
  4. Run it and read the dataset.

An empty input ({}) returns the transcript of one sample video.

Input example: where is a phrase said?

{
    "videos": ["https://www.youtube.com/watch?v=jGwO_UgTS7I"],
    "find": ["supervised learning"],
    "formats": ["text"],
    "maxItems": 1
}

Input example: a channel’s new videos as Markdown and SRT

{
    "channels": ["https://www.youtube.com/@TED"],
    "formats": ["markdown", "srt"],
    "onlyNewItems": true,
    "maxItems": 10
}

Inputs

InputTypeRequiredDefaultDescription
Videos (videos)arrayNo[]YouTube watch, youtu.be, Shorts, playlist, or channel URLs or 11-char IDs (up to 500). No-caption rows are free. Empty uses 1 sample video.
Playlists (playlists)arrayNo[]Playlist URLs (/playlist?list=) or IDs, up to 20. Reads first 100 videos per playlist (capped by maxItems, or 20 total without maxItems).
Channels (channels)arrayNo[]Channel URLs (/channel/, @handle, /c/, /user/) or IDs, up to 20. Reads newest videos first (capped by maxItems, or 20 total without maxItems).
Find phrases (find)arrayNo[]Up to 20 case-insensitive words or phrases to locate in transcripts. Text match, not semantic search: pass short keywords (pricing, open source), not a whole question. Fills matches; no-match videos are free.
What to return for videos that match (findMode)stringNosnippetssnippets (default): return only matched clips plus findContextSeconds. filter: return the full transcript of matching videos. Used with find.
Seconds of speech around each match (findContextSeconds)integerNo15How many seconds of speech to keep before and after each place a phrase is said, from 0 to 600. Used only when find is set.
Maximum matches described per video (maxMatches)integerNo10Max matches listed in matches per video (1-100, default 10). matchCount still counts all occurrences; raise this if matches equals maxMatches.
Start of the time window (startAt)integerNo—Start of time window in seconds from video start (e.g. 90 for 1:30). Includes any caption active at that second.
End of the time window (endAt)integerNo—Return only what is said up to this second (seconds from the start of the video), later than startAt. Leave empty to read to the end.
Maximum transcript characters per video (maxChars)integerNo0Cut caption text after this many chars (0 = full). Returns at least 1 caption, sets truncated: true and nextStartSegment for startSegment paging.
Start at caption number (startSegment)integerNo0Caption index to start from (0 = beginning). Pass a truncated row’s nextStartSegment with the same inputs and maxChars to continue reading.
Transcript formats (formats)arrayNotext, segmentsOutput formats (default: text, segments): text, segments, markdown (chapters & timestamp links), chunks (RAG), srt, vtt. Unselected are null.
Caption languages (in order of preference) (languages)arrayNoenUp to 10 caption language codes in priority order (e.g. en, ja). Falls back to spoken auto-captions with languageNote; never machine-translated.
Prefer human-written captions over auto-generated ones (preferManual)booleanNotrueWhen a video has both in the requested language, take the human-written track. Turn it off to prefer the auto-generated track.
Most replayed moments, chapters, likes and comment count (includeSignals)booleanNotrueInclude mostReplayed (with speech), heatmap, chapters, likeCount, and commentCount at no extra cost. Off = transcripts and description chapters only.
Chunk size (characters) (chunkSize)integerNo1500Target characters per RAG chunk, split on paragraphs/sentences (0 = single chunk, 0-20000, default 1500). Used when formats includes chunks.
Maximum videos (maxItems)integerNo—Max rows per run (1-500). No API default (Console prefills 3); omit for all named videos + 20 from playlists/channels. Only transcripts are charged.
Only new videos (onlyNewItems)booleanNofalseSkip videos returned in earlier runs with the same input (state kept 90 days). Failed/no-caption rows retry; no-match find rows re-check later.
Requests at once (maxConcurrency)integerNo3Concurrent requests (1-3, default 3). Set 1 for sequential requests; rate limits still apply. Cached captions send no request.

Advanced: proxyConfiguration is available for proxy settings and is not required.

Output

FieldTypeDescription
idstringStable row ID: the 11-character YouTube video ID. Used for de-duplication and onlyNewItems.
sourcestringData source: “YouTube captions”.
videoIdstringThe 11-character YouTube video ID.
urlstringhttps://www.youtube.com/watch?v=<videoId>.
titlestring | nullVideo title as YouTube reports it; null on a status row.
channelIdstring | nullChannel ID (UC..., 24 characters); null on a status row.
channelNamestring | nullChannel name; null on a status row.
publishedAtstring | nullPublication date (YYYY-MM-DD, UTC) from the video’s own metadata; null when the video does not report one.
durationSecondsinteger | nullVideo length in seconds.
viewCountinteger | nullViews when the caption was read, as the video’s metadata reports them: on a cached row that is the count at fetchedAt, not at this run. Null when the video does not report a count.
descriptionstring | nullThe video description as the video reports it; null when it has none or on a status row.
languagestring | nullLanguage code of the caption track that was used, as YouTube lists it (for example en, ja, pt-BR); null on a status row.
languageRequestedstring | nullThe first language of the input that this row answers (for example en; en when the input names none). On a status row, the first language the input asked for.
languageReturnedstring | nullThe language of the text that was returned: the code of the caption track, as YouTube writes it. Same value as language. It can differ from languageRequested for the same language (pt and pt-BR; he and iw, YouTube’s older code), and it differs when the video has no track in any requested language, which languageNote says. Null on a status row.
captionKindstring | nullmanual (written by a person) or auto (auto-generated by YouTube); null on a status row.
translatedbooleanAlways false: the Actor returns the video’s own caption tracks and never a machine translation. To see whether the text is in a language you asked for, read languageNote (set only when it is not).
languageNotestring | nullOne sentence saying why the returned track is not in a requested language (the video has no track in it, so its auto-generated track in the spoken language is returned); null when the row answers the request.
availableCaptionsarrayEvery caption track the video has, in the order YouTube lists them: language (the code), kind (manual or auto) and name (the name YouTube shows, null when it has none). When a video has several tracks in one language, all of them are listed here, and the transcript in this row is the first of them. Empty on a status row.
likeCountinteger | nullLikes as YouTube reports them at signalsFetchedAt. null when the uploader hides the count, when includeSignals is off, when YouTube did not answer (see signalsNote) or on a status row.
commentCountinteger | nullComments as a number, read from commentCountText: exact below 1,000 and rounded by YouTube above (23K is 23000). null when comments are off or the count was not read.
commentCountTextstring | nullThe comment count as YouTube shows it (for example 23K); null when comments are off or the count was not read.
chaptersarrayThe video’s chapters in order: start (seconds) and title. They are the chapters YouTube shows on the progress bar when they were read (the uploader’s, or the ones YouTube generates), otherwise the timestamp lines of the description. Empty when the video has none or on a status row.
chaptersSourcestring | nulldescription (the uploader wrote the chapters) or auto (YouTube generated them); null when the video has no chapters.
chapterCountintegerNumber of entries in chapters (0 when the video has none).
mostReplayedarrayThe most replayed moments of the video, most replayed first, up to 5: rank, start and end (seconds), timestamp, url (the video opened at the moment), intensity (0-1, the height of YouTube’s replay graph there), labeledByYouTube (true for a range YouTube itself marks “Most replayed”, false for a peak read off the graph) and text (what is said during the moment in this row’s caption track, at most 600 characters with … when longer; null when nothing is said). Empty when YouTube shows no replay graph for the video (new or little-watched videos), when includeSignals is off or when it was not read (see signalsNote).
heatmapobject | nullYouTube’s replay graph for the whole video: intervalSeconds (the seconds one point covers) and values (the heights from 0 to 1 in time order, usually 100 points; the first point is 1 on most videos because every view starts there). null when YouTube shows no graph or it was not read.
signalsFetchedAtstring | nullWhen likeCount, commentCount, the progress-bar chapters, mostReplayed and heatmap were read from YouTube (ISO 8601). On a cached row this is the time of the earlier read. null when they were not read.
signalsNotestring | nullOne sentence saying why the likes, comments, replay graph and progress-bar chapters are missing (YouTube did not answer for them, or the row holds no transcript); null when they were read or includeSignals is off. The transcript never depends on them.
segmentCountintegerNumber of caption cues in this row’s transcript (the selection when find, a time window or maxChars is used).
charsintegerCharacters of this row’s transcript text.
totalSegmentCountintegerNumber of caption cues in the video’s whole caption track.
totalCharsintegerCharacters of the video’s whole caption track.
partialbooleantrue when this row holds fewer captions than the video’s whole track (because of find, a time window, startSegment or maxChars); false for a whole transcript.
truncatedbooleantrue when maxChars cut the transcript short; nextStartSegment then says where to read on.
nextStartSegmentinteger | nullWith truncated: the number of the first caption that was left out (captions are numbered from 0 over the video’s whole track). Run again with startSegment set to it to read on; no caption is returned twice. null otherwise.
matchCountinteger | nullHow many times the find phrases are said in the part of the video that was searched (from startSegment on, inside the time window when one is set), each phrase counted on its own. 0 means none is said: that row has no transcript and is not charged. null when find is empty.
matchesarrayThe places the find phrases are said, in time order, up to maxMatches: phrase, start and end (seconds), timestamp, url (the video opened at that second) and text (the speech from findContextSeconds before to findContextSeconds after). A phrase said again inside a place already listed is counted in matchCount and not listed twice. Empty when find is empty or nothing matched.
textstring | nullThe transcript as plain text: the captions joined into paragraphs with a blank line between them, no timestamps, headings or links. null when formats does not name text and on a status row.
srtstring | nullThe transcript as a SubRip (.srt) subtitle file. null unless formats names srt.
vttstring | nullThe transcript as a WebVTT (.vtt) subtitle file. null unless formats names vtt.
segmentsarray | nullCaption cues: start (seconds), duration (seconds), text. null when formats does not name segments and on a status row.
markdownstring | nullThe transcript as Markdown: title, one metadata line, ## chapter headings, one paragraph per few seconds of speech with a timestamp link. null when formats does not name markdown and on status rows.
chunksarrayRAG chunks of about chunkSize characters: index, start (seconds), chars, text. One chunk when chunkSize is 0; empty when formats does not name chunks and on a status row.
errorobject | nullnull when YouTube returned the video’s caption track (also for a row that holds no text because no find phrase is said or nothing is said in the time window). Otherwise the fixed failure type and message, one of: login-required, no-captions, private, removed, live, region-restricted, age-restricted, members-only, paid, caption-unavailable, too-large, blocked, timeout, unavailable. A status row is never charged. Every video the run processes gets a row even when YouTube refused it; named videos beyond maxItems are not processed and are listed in OUTPUT as unchecked.
cachedbooleantrue when the caption came from the Actor’s caption cache: the same video and language was read in the last 90 days, so YouTube was not asked again, and the row is charged like any other.
fetchedAtstring | nullWhen the caption was read from YouTube (ISO 8601). Earlier than this run when cached is true; null on a status row.
isNewbooleanPresent only when onlyNewItems is on: true when this video is new since the previous run.

Sources and limits

Limitations

  • Unofficial and independent. This is an unofficial Actor: it is an independent tool, not affiliated with, endorsed by or sponsored by YouTube or Google. It needs no login, no API key and no browser, and it never downloads video or audio.
  • No login, no cookies and no CAPTCHA workaround. A video that needs a sign-in returns login-required. An age gate returns age-restricted, a members-only video returns members-only, a rental or purchase returns paid, and the video’s own privacy setting returns private; all are reported as uncharged status rows.
  • No video or audio download and no speech-to-text step: a video without a caption track returns no-captions. A live stream with no usable track is live, a video you can no longer watch is removed or unavailable, and a track that comes back empty is caption-unavailable.
  • No machine translation. A video with no track in your language returns its own track in the spoken language, and languageNote says so. When a video has several tracks in one language, the first one YouTube lists is returned; availableCaptions names them all.
  • Playlists return their first 100 videos. Mixes generated per viewer are not playlists and are not read.
  • Comment counts above 999 are rounded by YouTube (23K). Like counts are exact unless the uploader hides them.
  • Region-restricted videos depend on the proxy country; set apifyProxyCountry in proxyConfiguration when you know the video is available in one country.
  • A channel or playlist input is bounded by maxItems (20 in total when it is left out, read one by one, so the first can fill the cap).
  • Descriptions and captions are YouTube’s own text; the Actor keeps the wording and only groups it into paragraphs and chunks.

Read the data-source note.

Staging run

Staging verified on 2026-11-05. The run record and the row counts are not kept on this site.

Sample output

One result of a run, cut to 14 of the 47 output fields; long text is shortened. Download the same rows as JSON or CSV.

{
  "id": "jGwO_UgTS7I",
  "videoId": "jGwO_UgTS7I",
  "url": "https://www.youtube.com/watch?v=jGwO_UgTS7I",
  "title": "Stanford CS229: Machine Learning Lecture 1 - Andrew Ng (Autumn 2018)",
  "channelName": "Stanford Online",
  "publishedAt": "2020-04-17",
  "durationSeconds": 4520,
  "language": "en",
  "captionKind": "manual",
  "chapterCount": 7,
  "segmentCount": 1464,
  "chars": 69876,
  "likeCount": 63091,
  "commentCountText": "1.3K"
}

The output schema above lists every field. These rows come from a staging run, not from a customer.

Pricing

USD 1.50 per 1,000 transcripts on Free; USD 1.40 on Starter, USD 1.35 on Scale, USD 1.30 on Business

Apify charges per result; the Store page is the commercial reference. Rows that only record a failure are not charged. Every run also carries a start fee of USD 0.00005 per GB of memory (USD 0.00005 at the default 0.5 GB), even a run that returns no results.

View on Apify Store

Verification

The facts on this page come from the Actor’s own documentation and input and output schemas, and the staging verification of 2026-11-05. No customer testimonials, ratings, or uptime numbers are shown.

The Store page is the commercial reference.