YouTube Transcript Scraper
YouTube Transcript Scraper exports captions, timestamped segments, video metadata, comments, and optional AI chapters without a YouTube API key.
A look at the output
JSON{
"video_id": "dQw4w9WgXcQ",
"title": "Example result title",
"channel_name": "Example Channel",
"transcript_text": "Welcome to this example video.",
"transcript_segments": [
{
"start": 0,
"duration": 3.2,
"text": "Welcome to this example video."
}
],
"published_date": "2026-10-01T08:00:00Z"
}Illustrative values, not a live result. Available fields depend on the source and input.
Made for useful work.
Convert public videos, channels, searches, captions, and comments into structured transcript records.
- Video knowledge base ingestion
- Creator and channel research
- Transcript search and citation workflows
Start with a small run.
Submit 3 public video URLs first. Check transcript_available, transcript_text, transcript_segments, channel_name, and published_date; captions depend on each video's availability.
- Paste one public YouTube URL in transcript mode and choose the preferred caption languages. Leave comments and AI off for the first run.
- Check transcript_available, transcript_text, transcript_segments, transcript_language, and the video metadata before importing the result.
- Build timestamped chunks from segment start, duration, and text. Keep video URLs with each chunk, then expand to URL lists or bounded channel runs.
Example input
{
"mode": "transcript",
"videoUrls": [
"https://www.youtube.com/watch?v=aircAruvnKk"
],
"includeTranscripts": true,
"transcriptLanguages": [
"en"
],
"includeComments": false,
"enableAiAnalysis": false
}Fields you can build on.
These are selected output fields. Review the actor’s current schema on Apify for the complete record structure and optional fields.
- video_id
- title
- channel_name
- transcript_text
- transcript_segments
- published_date
Know before you run.
- Transcripts depend on publicly available captions in the requested languages. Unavailable captions return transcript_available as false rather than a fabricated transcript.
- Auto-generated captions may contain recognition errors. Keep transcript_kind and transcript_language with quoted or indexed text.
- Channel and search modes are bounded by maxVideos. A capped batch is not a complete archive of a channel or topic.
Pricing
Pay-per-event on Apify; current unit pricing and usage details are shown on the actor listing.
See current pricing on ApifyBring it into your tools.
Expose this actor through Apify’s hosted MCP server. Connect using OAuth where supported, or your client’s secure token configuration.
Focused MCP server URL
https://mcp.apify.com?tools=harvestlab/youtube-scraperExample prompt
Use harvestlab/youtube-scraper through Apify MCP. Start with a small first run: Submit 3 public video URLs first. Check transcript_available, transcript_text, transcript_segments, channel_name, and published_date; captions depend on each video's availability. Return compact JSON with these fields when available: video_id, title, channel_name, transcript_text, transcript_segments, published_date. Include source URLs or source identifiers in the response.
A few useful answers.
Do I need a YouTube API key?
No YouTube API key is required to collect public video metadata and available captions. Optional AI analysis and chapter generation need the selected AI provider's credentials; they are disabled in the starter input.
What happens if a video has no public captions?
The actor marks transcript_available as false and leaves transcript fields empty. It does not invent a transcript or transcribe unavailable audio as a substitute. The video record can still return, and no transcript event is charged when no transcript is retrieved.
Can I use the output for search or timestamped citations?
Yes. transcript_text is the flat transcript, while transcript_segments preserves start times, durations, and text. Build your own retrieval chunks from those segments and keep the video URL and timestamp with each chunk so readers can return to the source.