YouTube Transcript Scraper & API: Video Subtitles to Text avatar

YouTube Transcript Scraper & API: Video Subtitles to Text

Pricing

from $7.00 / 1,000 transcripts

Go to Apify Store
YouTube Transcript Scraper & API: Video Subtitles to Text

YouTube Transcript Scraper & API: Video Subtitles to Text

YouTube transcript scraper, API and MCP tool: get the transcript of any video or Short as clean text plus timestamped lines, from manual or auto subtitles, in any language, with optional translation. Paste links or IDs. Pay per transcript, plus a small start fee per run.

Pricing

from $7.00 / 1,000 transcripts

Rating

0.0

(0)

Developer

PlainRows

PlainRows

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

A YouTube transcript scraper for scripts, automations and AI agents: give it video links or IDs, get one row per video with the full transcript as clean text, its word count, language and duration, and the timestamped subtitle lines. Manual subtitles or YouTube's automatic captions, in any language, with optional automatic translation (e.g. a Spanish video in English).

It calls a commercial data API instead of scraping YouTube from datacenter IPs: no YouTube API key, no proxies, no blocked requests on your side. Up to ten videos are read at a time, about 10 seconds each. Videos without a transcript are free.

Typical uses

  • AI and RAG: feed video transcripts to an LLM for summaries, Q&A, notes or embeddings.
  • Content repurposing: turn videos into blog posts, newsletters, social posts or quotes with a time link.
  • Research: analyse what creators, competitors or experts say across many videos (keywords, mentions, topics).
  • Captions and translation: get the timestamped lines in the original language or translated.
  • Exports: send the rows to Google Sheets, Notion, BigQuery, Slack, n8n, Make or Zapier.

What you get for each video

FieldDescription
videoId, videoUrl, titleThe video, its link and its title
textThe whole transcript as one clean text (lines joined, line breaks removed)
wordCount, segmentCount, durationSecondsWords, subtitle lines, end time of the last line in seconds
language, translatedToLanguage of the subtitles read; language of the translation when translateTo is set
segmentsTimestamped lines: start, end (seconds) and text (turn off with includeTimestamps: false)
found, notFoundReason, notetrue for a billed transcript; free rows say why (no-transcript, no-speech, provider-no-answer) and what to try
input, observedAtThe video as you gave it, and when it was read

Text is returned as YouTube serves it: automatic captions have no punctuation fixes, and music videos may contain [Music] or ♪ marks. A video whose subtitles hold only such marks, with no spoken words, gets a free no-speech row.

Input

{
"videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw", "dQw4w9WgXcQ"],
"language": "en",
"translateTo": "",
"includeTimestamps": true
}
  • videos (required): up to 500 per run, one per line: youtube.com/watch?v=…, youtu.be/…, /shorts/…, /live/… links or 11-character IDs. Duplicates are removed; channel and playlist links are not accepted.
  • language (default en): the language of the subtitles to read, as a YouTube code (en, es, de, fr, ja, ko, pt-BR, zh-Hans...). Use the language spoken in the videos: there is no automatic detection, and a video without subtitles in that language returns a free row.
  • translateTo (optional): a language code to get YouTube's automatic translation of the transcript, at the same price.
  • includeTimestamps (default true): adds the segments list.

Pricing

Pay per event, no subscription:

  • Transcript: $0.007 per video transcript returned.
  • Actor start: $0.002 per run.

So 100 transcripts cost $0.702. Videos without subtitles in the language asked, videos that do not exist or are private, requests YouTube does not answer, invalid links and duplicates get a free row (or are listed in the run summary) and are not charged: you pay only the $0.002 start fee for a run with no transcript. The run never spends more than the maximum cost you set.

Free Apify plan: each run reads the first 3 videos, 5 runs a day, so you can check the output. A paid Apify plan removes this limit.

Good to know

  • Pick the right language: a German video asked in en has no English subtitles unless its creator added them. Ask it in de, and add "translateTo": "en" to read it in English.
  • If many videos in a row have no transcript, the run stops starting new ones (free rows for the rest) so a wrong language does not burn your budget; fix the language and run them again.
  • Long videos cost the same: a 4-hour course returned its whole transcript (2,935 lines, about 50,000 words) in one row, for one transcript fee.
  • Shorts and live replays work when YouTube has captions for them. Videos with captions turned off have no transcript.

What this is not

  • Not an official YouTube API, and not affiliated with or endorsed by YouTube or Google.
  • Not speech-to-text: it reads the subtitles YouTube already has (manual or automatic). A video without any captions returns a free row.
  • Not a video downloader, and no comments: for comments use YouTube Comments Scraper; to find videos by keyword use YouTube Search Scraper first.

Run summary

Each run stores a summary in the key-value store (OUTPUT): videos submitted and read, transcripts billed, videos with no transcript, requests YouTube did not answer, duplicates and invalid values (with the reason, e.g. NOT_A_VIDEO_LINK), and anything skipped because of the free-plan or budget limit.

Use it from code, automations or AI agents

API (one call, results returned directly):

curl -X POST "https://api.apify.com/v2/acts/plainrows~youtube-transcript-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"]}'

n8n, Make, Zapier: use the Apify integration, pick plainrows/youtube-transcript-scraper and send each transcript to your LLM step, Notion or Google Sheets.

AI agents (MCP tool): add https://mcp.apify.com?tools=plainrows/youtube-transcript-scraper to Claude, Cursor or any MCP client, then ask "Get the transcript of https://youtu.be/jNQXAC9IVRw and summarize it".

FAQ

How do I get the transcript of a YouTube video? Paste its link or ID and run: you get the full text plus timestamped lines, ready for an LLM, Excel, Google Sheets or JSON.

Does it work with auto-generated captions? Yes. Manual subtitles are read when they exist, else YouTube's automatic captions.

Can I get a transcript in another language? Yes: set language to the spoken language and translateTo to the language you want.

Do I pay for videos without a transcript? No. They get a free found: false row with the reason.

Do I need a YouTube API key? No. No API key, no quota, no Google account.

For AI agents

  • Use when: you need the transcript (subtitles as text, with timestamps) of one or more YouTube videos or Shorts, in the original language or translated.
  • Do not use for: finding videos by keyword (use plainrows/youtube-search-scraper), comments (use plainrows/youtube-comments-scraper), speech-to-text of videos without captions.
  • Input JSON (minimal): {"videos": ["https://www.youtube.com/watch?v=jNQXAC9IVRw"]}; for a non-English video add "language": "es" (spoken language) and optionally "translateTo": "en".
  • Output fields: input, found, notFoundReason, note, videoId, videoUrl, title, language, translatedTo, text, wordCount, segmentCount, durationSeconds, segments, observedAt, schemaVersion
  • Price per result: $0.007 per transcript-result, plus $0.002 per run; videos without a transcript are free
  • Median run time: 19 s for 3 videos, a 4-hour video included (measured before publication)
  • Success rate (30 days): no public run in the last 30 days

More PlainRows tools

Same pay-per-result pricing, same clean JSON, built to chain together in n8n, Make, Zapier or AI agents.

Support

Missing a field or found a bug? Open an issue on this page. Issues are read and answered.