Search YouTube and get the transcripts
Run a YouTube search and get the transcript of every top result in one go: title, channel, date and full text. Good for topic research, content gap analysis and training data. This example searches for vegetable gardening tutorials.
Input
Output fields
Sign up on Apify or log in
The YouTube Transcript, Subtitles & Captions Scraper Actor is ready to run with the inputs already set for "Search YouTube and get the transcripts". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Search YouTube and get the transcripts" task
The YouTube Transcript, Subtitles & Captions Scraper Actor will start running based on the input automatically. You can also change all the input fields, like search queries (optional) and max videos per channel / playlist / search, to match your specific use case.
Receive the "Search YouTube and get the transcripts" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as video, title, channel name, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Search YouTube and get the transcripts" task via API.

Videos with no captions, private or deleted videos come back from the YouTube search transcript task as free rows with a status and errorCode. Only rows with status ok are billed.
Each row has the video title, channel, publish date, language, caption type, word count and the full transcript text, plus optional timestamped segments, chapters and SRT/VTT.
The YouTube search transcript task returns the top maxVideosPerSource videos for each query (this example uses 5). Add several queries to research a whole topic in one run.
The YouTube search transcript task works over the Apify API, MCP, Make, n8n and Zapier. Every row has stable status and errorCode fields, so a workflow can branch without parsing error text.