YouTube Transcript API

YouTube Transcript API

by novi

Need to grab the words from YouTube videos? YouTube Transcript API is here to help! It's easy to use and gets the job done, plus it gives you some ext...

601 runs
54 users
Try This Actor

Opens on Apify.com

About YouTube Transcript API

Need to grab the words from YouTube videos? YouTube Transcript API is here to help! It's easy to use and gets the job done, plus it gives you some extra info too. Go ahead and try it!

What does this actor do?

YouTube Transcript API is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

YouTube Transcript API This Actor extracts the transcript from a YouTube video. ## Usage ### How to Run the Actor 1. Go to the Apify platform (https://apify.com) and log in or sign up for an account. 2. Create a new task and select the "YouTube Transcript API". 3. Configure the input by providing the YouTube Video URL. You can also provide additional options, as described in the Input schema. 4. Start the task, and the actor will begin extracting the transcript. ### How to Interpret the Actor's Results The actor will provide you with the extracted transcript and other metadata in JSON format. The structure of the output is described in the Output schema. You can use this data for analysis, content optimization, or any other purpose that suits your needs. ## Input Schema The input should be a JSON object with the following properties: * video_urls: An array of URLs. Currently, only the first URL is used, and it should be a YouTube video URL. For example: ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"] (Required) * language: (Optional) The desired language of the transcript. If not specified, the actor will attempt to detect the language automatically. Specify as a two-letter language code (e.g., "en", "es", "fr"). This is helpful for auto-generated captions, as they often don't have the language specified in the metadata. ## Output Schema The output is a JSON object with the following properties: * videoId: The name of the YouTube channel. * transcripts: List of transcript data of the video. ### Transcript Item json [ { "text": "ever since computers were invented", "start": 5.839, "duration": 3.121 }, { "text": "they've really just been glorified", "start": 7.52, "duration": 3.92 } ] ## Examples of Usage ### Example 1: Extract Transcript from a YouTube Video Input: json { "language": "en", "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "video_urls": [ "https://www.youtube.com/watch?v=2IK3DFHRFfw", "qYNweeDHiyU" ] }

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try YouTube Transcript API now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
novi
Pricing
Paid
Total Runs
601
Active Users
54
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support