YouTube Transcript Scraper: Subtitles & Captions avatar

YouTube Transcript Scraper: Subtitles & Captions

Pricing

from $1.20 / 1,000 transcript extracteds

Go to Apify Store
YouTube Transcript Scraper: Subtitles & Captions

YouTube Transcript Scraper: Subtitles & Captions

Scrape YouTube transcripts and subtitles in bulk from videos, Shorts, channels and playlists. Get full text and timestamped segments, language, manual or auto captions, title, channel and video length. No API key. Export to JSON, CSV or Excel, or use from AI agents via MCP.

Pricing

from $1.20 / 1,000 transcript extracteds

Rating

0.0

(0)

Developer

Wiseus Labs

Wiseus Labs

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

19 hours ago

Last modified

Categories

Features

Limited permissions

Share

YouTube Transcript Scraper: transcripts and subtitles of YouTube videos, channels and playlists

YouTube transcripts for single videos or whole channels and playlists: full text, timestamped segments, language and video title, exported to JSON, CSV or Excel. Also: a mark for manual or automatic captions, a fallback to the original language when yours is missing, and a video listed twice is processed once.

Wiseus Labs · YouTube

YouTube: channel videos YouTube: channel info YouTube: comments YouTube: transcripts

Copy to your AI assistant

Help me use wiseus-labs/youtube-transcript-scraper, an Apify Actor that downloads transcripts and subtitles of YouTube videos, channels and playlists. Read https://apify.com/wiseus-labs/youtube-transcript-scraper.md for documentation and the input schema. Choose settings for my requested outcome. If you cannot open the page, ask me to paste the relevant sections.

Key inputs: videos (video links or IDs), channelOrPlaylistUrls with maxVideosPerSource (default 50), language (a code such as en, or original).

📝 What is YouTube Transcript Scraper?

YouTube Transcript Scraper downloads the transcripts of YouTube videos as clean rows: the full text, timestamped segments and video details, ready for an LLM, a RAG pipeline, a spreadsheet or your own analysis.

  • Videos, Shorts, channels and playlists in one run, mixed as you like.
  • Full text plus timestamped segments for every video.
  • Your language first, with a fallback to the original language when it is missing.
  • Manual or automatic captions marked on every row.
  • A clear reason on every video without a transcript.
  • No API key, no login.
GroupWhat you get
📝 Transcriptfull text · timestamped segments · number of segments · language · manual or automatic captions
🎬 Videovideo ID · link · title · length in seconds
📺 Channelchannel name · channel ID
🔎 Run contextstatus · reason

🚀 Quick start

Step 1: paste YouTube video links

Step 2: click Start or run it from your code

Step 3: get transcripts as a clean table

  1. Paste one or more video links. For whole channels or playlists, open Alternatively, add channels or playlists.
  2. Click Start, or run it from your code or an AI agent.
  3. Open the table and download it as JSON, CSV or Excel.

With an empty input the scraper takes the transcript of an example music video, so you can see the output right away.

🍳 How to get YouTube transcripts: input recipes

The quickest way to read or summarise a video.

{
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]
}

Paste links in any form: watch, youtu.be, Shorts, embed or bare IDs.

{
"videos": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://youtu.be/jNQXAC9IVRw",
"https://www.youtube.com/shorts/_hFKxXG_SrY"
]
}

The latest uploads of a channel

Transcripts of a channel's recent uploads.

{
"channelOrPlaylistUrls": ["https://www.youtube.com/@NASA"],
"maxVideosPerSource": 20
}

A whole playlist

A course, a podcast season or a lecture series.

{
"channelOrPlaylistUrls": ["https://www.youtube.com/playlist?list=PL2aBZuCeDwlQDM6x6FpHE_X0iL7hvoRpR"],
"maxVideosPerSource": 200
}

Transcripts in the original language

The language the video was made in, whatever it is.

{
"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"],
"language": "original"
}

Spanish where available

Your language first; the original language when a video has no Spanish track.

{
"channelOrPlaylistUrls": ["https://www.youtube.com/@NASA"],
"maxVideosPerSource": 10,
"language": "es"
}

⚙️ Input

The form opens with video links. Channels and playlists, language and advanced settings are in the sections below.

FieldWhat it doesDefault
videosVideo links or IDs, one per line: watch, youtu.be, Shorts, embed, live or bare IDs.none (an empty input runs an example video)
channelOrPlaylistUrlsChannel links (@handle, /channel/UC..., /c/, /user/) or playlist links.empty
maxVideosPerSourceVideos per channel or playlist.50
languagePreferred transcript language as a code, such as en, es, de, or original.en
maxConcurrencyVideos processed at the same time, 1 to 20.5

Every field is explained in the Input tab.

📦 Output example

Row for the example video dQw4w9WgXcQ ({"videos": ["dQw4w9WgXcQ"]}). text is shortened and segments shows the first 2 of 61; the real row has the full text and all segments.

{
"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",
"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
"lengthSeconds": 213,
"language": "en",
"captionType": "manual",
"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 ...",
"segments": [
{
"start": 1.36,
"duration": 1.68,
"text": "[♪♪♪]"
},
{
"start": 18.64,
"duration": 3.24,
"text": "♪ We're no strangers to love ♪"
}
],
"segmentCount": 61,
"status": "ok",
"reason": null
}

📋 Output fields

Every row has the same 13 fields (rows with status run_summary add counts). The table has these tabs:

TabFields
📝 TranscriptsvideoId, title, language, captionType, segmentCount, text, status, reason, url
🎬 VideosvideoId, title, channelName, channelId, lengthSeconds, language, captionType, segmentCount, status, url
⏱️ SegmentsvideoId, title, language, segmentCount, segments
🔎 StatusvideoId, title, status, reason, counts, url

captionType tells you whether the transcript comes from manual subtitles or automatic captions. segments holds the text with start time and duration of each piece.

statusMeaningCharged
okA transcriptCharged
no_captionsThe video has no subtitles or automatic captionsFree
unavailableThe video is private, removed, age-restricted or not playable; reason says whyFree
errorThe link, channel or playlist could not be read, or the video could not be loaded; reason says whyFree
run_summaryThe run saved no transcriptsFree

The Output tab also has a Run summary with totals and the status of every channel or playlist.

What you don't pay for

  • Videos without captions, unavailable videos and errors: they get a free status row with a reason.
  • A video listed twice: it is processed once.
  • The run summary.

🔌 API and integrations

Get transcripts in one call:

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

Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("wiseus-labs/youtube-transcript-scraper").call(
run_input={"videos": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"], "language": "en"}
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row.get("status") == "ok":
print(row.get("title"), len(row.get("text") or ""))
  • LLM and RAG: use text as a document and segments to cite the exact moment in the video.
  • Schedules and webhooks: run on a timetable and get notified when a run finishes. See schedules and webhooks.
  • Make, Zapier, n8n: use the Apify app or node and pick this Actor. See integrations.
  • API reference: the API tab on this page shows ready code for every language.

Use with AI agents (MCP)

Connect the Apify MCP server to Claude, Cursor or another AI assistant and add this Actor. Then ask in plain words, for example: "Get the transcript of this YouTube video and summarise it in five bullet points."

❓ FAQ

Do I need a YouTube API key? No. You need no YouTube API key and no Google login, only an Apify account.

Can I get transcripts of a whole channel or playlist? Yes. Add the links to channelOrPlaylistUrls and set maxVideosPerSource. You can mix them with single videos in one run.

Does it work for Shorts? Yes. Shorts links work like normal video links.

How do I choose the transcript language? Set language to a code such as en, es or de. If a video has no track in that language, you get the original language. Use original to always get the original language.

What is the difference between manual and automatic captions? Manual subtitles were added by the creator; automatic captions were generated by YouTube. captionType shows which one you got. In your language, manual subtitles come before automatic captions.

Do I get timestamps? Yes. segments lists each piece of text with its start time and duration. text is the full transcript as one string.

What if a video has no transcript? You get a free no_captions row with a reason, and the run goes on.

How do I export transcripts to CSV or Excel? After the run, open the Output tab and click Export. Choose CSV, Excel, JSON or another format. Through the API add format=csv to the dataset items link.

Can I get the comments or the video list of a channel? Yes, with YouTube Comments Scraper and YouTube Channel Scraper.

💬 Feedback and support

Found a bug or missing a field? Open an issue on the Issues tab and tell us what you need.

Ready to try it? Open the input form, paste a video link and click Start.