Skip to content

YouTube Transcript Scraper

Social media

Get YouTube transcripts in bulk as clean text, timestamped lines and subtitle files

Paste YouTube links or video IDs, including Shorts and live replays, and get one row per video with the full transcript in text, every caption line in segments with its start time and duration, and the language you got. Add srt or vtt subtitles, and get the title, channelName, viewCount, durationSeconds and wordCount alongside each transcript.

Runs
125
Updated
Dec 2, 2026
  • Feeding video content to AI, RAG and LLM pipelines
  • Turning videos into blog posts, show notes and newsletters
  • Research and text analysis across many videos

Sample output

See what comes back

A real run recorded on Dec 3, 2026: 3 rows from the input in the Use it section.

Sample output of YouTube Transcript Scraper
Video IDTitleChannel nameChannel IDView count
dQw4w9WgXcQRick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)Rick AstleyUCuAXFkgsw1L7xaCfnd5JJOw1843222162
IELMSD2kdmkApache Spark in 100 SecondsFireshipUCsBjURrPoezykLs9EqgamOA615948
jNQXAC9IVRwMe at the zoojawedUC4QobU6STFB0P71PMvOGN5A450034027
Inspect one full record
{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "videoId": "dQw4w9WgXcQ",
  "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
  "channelName": "Rick Astley",
  "channelUrl": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
  "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "thumbnailUrl": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/sddefault.webp",
  "viewCount": 1843222162,
  "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttps://linktr.ee/rickastleynever\n\n“Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100.  I…",
  "keywords": [
    "rick astley",
    "Never Gonna Give You Up",
    "nggyu",
    "never gonna give you up lyrics",
    "rick rolled"
  ],
  "isLiveContent": false,
  "language": "English",
  "languageCode": "en",
  "isGenerated": false,
  "durationSeconds": 213,
  "snippetCount": 61,
  "wordCount": 366,
  "characterCount": 2089,
  "text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ♪ A full commitment's what I'm thinking of ♪ ♪ You wouldn't get this from any other guy ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never go…",
  "segments": [
    {
      "text": "[♪♪♪]",
      "start": 1.36,
      "duration": 1.68
    },
    {
      "text": "♪ We're no strangers to love ♪",
      "start": 18.64,
      "duration": 3.24
    },
    {
      "text": "♪ You know the rules and so do I ♪",
      "start": 22.64,
      "duration": 4.32
    },
    {
      "text": "♪ A full commitment's what I'm thinking of ♪",
      "start": 27.04,
      "duration": 4
    },
    {
      "text": "♪ You wouldn't get this from any other guy ♪",
      "start": 31.12,
      "duration": 3.96
    }
  ],
  "availableLanguages": [
    {
      "language": "English",
      "languageCode": "en",
      "isGenerated": false
    },
    {
      "language": "English (auto-generated)",
      "languageCode": "en",
      "isGenerated": true
    },
    {
      "language": "German (Germany)",
      "languageCode": "de-DE",
      "isGenerated": false
    },
    {
      "language": "Japanese",
      "languageCode": "ja",
      "isGenerated": false
    },
    {
      "language": "Brazilian Portuguese",
      "languageCode": "pt-BR",
      "isGenerated": false
    }
  ],
  "retrievedAt": "2026-12-03T01:31:38.143Z"
}

Use it

Run it from a console, code or agent

Start a run with this input, then read the results as JSON, CSV or Excel. Replace the input with your own.

curl -X POST "https://api.apify.com/v2/acts/vero-api~youtube-transcript-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "videoUrls": [
    "https://www.youtube.com/watch?v=IELMSD2kdmk",
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "transcriptLanguage": "auto"
}'

Fields

Fields in every result

26 fields per transcript. Empty fields are left out of a row.

  • urlstringThe video link as you entered it, or the standard watch link when you entered a bare ID."https://www.youtube.com/watch?v=IELMSD2kdmk"
  • videoIdstringThe 11-character YouTube video ID."IELMSD2kdmk"
  • titlestringVideo title."Apache Spark in 100 Seconds"
  • channelNamestringChannel/uploader name."Fireship"
  • channelUrlstringChannel URL."https://www.youtube.com/channel/UCsBjURrPoezykLs9EqgamOA"
  • channelIdstringChannel ID."UCsBjURrPoezykLs9EqgamOA"
  • thumbnailUrlstringThe largest video thumbnail YouTube offers for the video, usually 640 px wide."https://i.ytimg.com/vi_webp/IELMSD2kdmk/sddefault.webp"
  • viewCountnumberView count at fetch time.569973
  • descriptionstringFull video description."Apache Spark explained in 100 seconds."
  • keywordsarrayThe video's tags/keywords.["apache spark","big data","data engineering"]
  • isLiveContentbooleanWhether the video is (or was) a live stream or premiere.false
  • languagestringHuman-readable language the text is in (e.g. "Spanish", "English (auto-generated)"). Empty when a video has no transcript."English (auto-generated)"
Show all 26 fields
  • languageCodestringYouTube's code for the caption language the text is in (e.g. en, pt-BR, iw for Hebrew). Empty when a video has no transcript."en"
  • isGeneratedbooleanWhether the caption track is auto-generated by YouTube speech recognition. Empty when a video has no transcript.true
  • durationSecondsnumberVideo duration in seconds.199
  • snippetCountnumberNumber of caption lines. Empty when a video has no transcript.101
  • wordCountnumberNumber of words in the transcript, counted the right way for each language (including Japanese, Chinese and Thai). Empty when a video has no transcript.675
  • characterCountnumberNumber of characters in the transcript text. Empty when a video has no transcript.3826
  • textstringThe full transcript as one clean block of text. Empty when a video has no transcript."Apache Spark, an open-source data analytics engine that can process massive streams of data from multiple sources."
  • segmentsarrayTimestamped caption lines, when timestamped segments are on.[{"text":"Apache spark an open- Source data","start":0.32,"duration":4.08}]
  • srtstringTranscript as a SubRip (.srt) subtitle string, when requested."1\n00:00:00,320 --> 00:00:02,480\nApache spark an open- Source data\n"
  • vttstringTranscript as a WebVTT (.vtt) subtitle string, when requested."WEBVTT\n\n00:00:00.320 --> 00:00:02.480\nApache spark an open- Source data\n"
  • availableLanguagesarrayAll caption tracks available for the video.[{"language":"English (auto-generated)","languageCode":"en","isGenerated":true}]
  • retrievedAtstringISO 8601 timestamp of when the transcript was fetched. Empty when a video has no transcript."2026-06-16T12:00:00.000Z"
  • errorstringWhy this video has no transcript: TranscriptsDisabled (no captions), NoTranscriptInLanguage (no captions in the requested language or caption type), VideoUnavailable, InvalidVideoId (not a single-video link), TranscriptTooLong, TemporarilyUnavailable or UnexpectedError. Only on videos without a transcript."TranscriptsDisabled"
  • errorMessagestringA plain explanation of why this video has no transcript."This video has no captions."

Pay per result

Pricing

It costs $2.00 per 1,000 transcripts on Apify's Free plan and drops to $1.60 on the Business plan. Apify plans lower the price per result as your plan grows.

  • 1,000 transcripts

    One delivered transcript with its video details. Videos without a transcript are free.

    Free
    $2.00
    Starter
    $2.00
    Scale
    $1.80
    Business
    $1.60

Prices from the Apify Store on Dec 3, 2026. Compare every actor's price.

FAQ

Questions

Works best with

Links to individual videos with Auto-detect on, which returns each video in the language spoken in it. Paste a long list of video links to cover a whole topic in one run.

How much does the YouTube transcript scraper cost?

It costs $2.00 per 1,000 transcripts on Apify's Free plan and drops to $1.60 on the Business plan. You pay only for the transcripts you receive, video details come at no extra cost, and videos with no captions are reported for free.

Which languages can I get?

Keep Auto-detect for each video in its own spoken language, or choose any caption language such as en, pt-BR or zh-Hant. List backup languages and they are tried one after another, and each row shows every caption language the video has.

Can I choose between human-made and auto-generated captions?

Yes. Accept any captions with human-made ones first, or ask for only human-made or only auto-generated captions. Each row tells you which kind you got.

Can I get subtitle files?

Yes. Ask for SRT, WebVTT or both, and each row includes subtitle text ready to save as a .srt or .vtt file.

Can I transcribe thousands of videos on a schedule?

Yes. Paste as many links as you like, duplicates are skipped, and you get one row per video. Schedule runs and export the results as JSON, CSV, Excel or XML.

Research

Guides and research

Keep exploring

All actors