Video Transcript Scraper: Youtube, X (twitter), Tiktok, etc. avatar

Video Transcript Scraper: Youtube, X (twitter), Tiktok, etc.

Try for free

No credit card required

View all Actors
Video Transcript Scraper: Youtube, X (twitter), Tiktok, etc.

Video Transcript Scraper: Youtube, X (twitter), Tiktok, etc.

invideoiq/video-transcript-scraper
Try for free

No credit card required

Scrapes transcripts from any online video / audio content on any plateform (Youtube, X, ..) in any available language. It delivers outputs in both JSON and LLM-ready formats, making it ideal for analytics, and AI-based applications. Perfect for research and building intelligent conversational agents

🎬 Video Transcript Scraper: Turn Video Content into Actionable Insights!

Unlock the potential of videos across multiple platforms—YouTube, X (Twitter), TikTok, Dailymotion, Vimeo, and more! With our powerful, free-to-use Apify actor, you can extract clean, AI-ready transcripts / captions and key video details with a single click. This tool is your key to transforming raw video content into valuable insights, perfect for AI applications, data analytics, and beyond 💥


✨ What is Video Transcript Scraper ?

Video Transcript Scraper is the ultimate video to text solution for extracting unlimited subtitles / captions from online videos, giving you all the essential information at your fingertips! Need full transcripts, timestamps, or video metadata? We've got it all. This actor’s precise, reliable data is presented in both JSON and LLM-ready formats, ready for instant integration into AI-powered applications


📈 Why This Scraper / API ? Here’s What It Extracts…

A comprehensive data set that’s perfect for various use cases:

  • Video Metadata: Instantly access video titles, descriptions, and thumbnails to help you contextualize the content.
  • Timestamped Transcripts: Get every word with precise timestamps, ideal for indexing and AI models.
  • LLM-Ready Data: Tailor-made for Large Language Models (LLMs) and AI applications, this data is pre-cleaned and ready to use. Ideal for NLP, sentiment analysis, or any ML workflow.

🚀 Key Advantages

  • 🌐 Compatible with multiple platforms: YouTube, X, Tiktok, Dailymotion, Vimeo, you name it, we scrap it
  • 🤖 AI-Ready Output: Designed for quick integration into ML and AI applications.
  • 🏎️ Use of unlimited free superfast API to get your transcript in just a couple of seconds. Check out the StandBy Mode

💵 Pricing? It’s a Steal!

The actor is completely free to use! You only pay for Apify’s platform usage, which comes to around 1 dollar per 1,000 requests. However Apify gives you a free credit of 5$ when you sign up, so you can try this actor for free!


🚀 Simple Inputs, Powerful Results

Using this actor couldn’t be easier! Just enter:

  • URL: Link to the video (e.g., from YouTube, X, Vimeo, etc.).
  • Language (optional): Specify if you want a particular transcript language, e.g. "en", "fr". Leave blank to get the default language or verify that the chosen language is available for the video. We recommand not using the language input if you are unsure.

Sample Input

1{
2  "url": "https://www.youtube.com/watch?v=example",
3  "language": "en"
4}

Output

1{
2  "title": "Video Title",
3  "description": "Video Description",
4  "duration": "180",
5  "thumbnail": "https://example.com/thumbnail.jpg",
6  "text": "Hello, world! Welcome to our channel.",
7  "transcript": [
8    {
9      "text": "Hello, world!",
10      "start": 0.0,
11      "end": 1.5
12    },
13    {
14      "text": "Welcome to our channel.",
15      "start": 1.5,
16      "end": 3.0
17    }
18  ]
19}

⚙️ Ready-to-Use Request Examples

Quickly integrate and get started with just a few lines:

Curl

1curl -X POST "https://api.apify.com/v2/acts/invideoiq~video-transcript-scraper/run-sync?token=YOUR_TOKEN" \
2-H "Content-Type: application/json" \
3-d '{"url": "https://www.youtube.com/watch?v=vl6jn-DdafM"}'

Python

1import requests
2import json
3
4url = "https://api.apify.com/v2/acts/invideoiq~video-transcript-scraper/run-sync?token=YOUR_TOKEN"
5data = {"video_url": "https://www.youtube.com/watch?v=vl6jn-DdafM"}
6response = requests.post(url, json=data, headers={"Content-Type": "application/json"})
7print(json.dumps(response.json(), indent=4, ensure_ascii=False))

Javascript

1const data = {
2    video_url: "https://www.youtube.com/watch?v=vl6jn-DdafM"
3};
4console.log(JSON.stringify(data))
5fetch('https://api.apify.com/v2/acts/invideoiq~video-transcript-scraper/run-sync?token=YOUR_TOKEN', {
6    method: 'POST',
7    headers: {
8        'Content-Type': 'application/json'
9    },
10    body: JSON.stringify(data)
11})
12    .then(response => response.json())
13    .then(json => console.log(json))
14    .catch(error => console.error('Error:', error));

StandBy Mode

This actor supports Standby mode, allowing it to run continuously in the background as an HTTP server, ready to process incoming requests immediately. By utilizing Standby mode, you’ll experience significantly faster response times and reduced operational costs since there’s no need to wait for the container to be retrieved and started for each request.

To send a request, use the following URL with the POST method, including your Apify token in the Authorization header: https://invideoiq--video-transcript-scraper.apify.actor

Example curl request

1curl -X POST https://invideoiq--video-transcript-scraper.apify.actor \
2  -H "Authorization: Bearer <your_token>" \
3  -H "Content-Type: application/json" \
4  -d '{ "video_url": "https://www.youtube.com/watch?v=vl6jn-DdafM" }'

Be sure to replace your_token with your actual Apify token. For more details on configuring Standby mode, refer to the Standby tab for runtime configuration options and instructions. Learn more


🚑 Troubleshooting

Encountering issues? Here are some common solutions:

  • Invalid URL: Ensure the video URL is complete and valid, as the actor supports only direct links from YouTube, X (a tweet), Vimeo, etc ...
  • Language Not Supported: Sometimes the selected subtitles language is not available. In which case, you will get a clear message stating that. Verify that the chosen language is available for the video. We recommand not using the language input if you are unsure.

If issues persist, please reach out to us, we will try and fix ASAP.


🔥 Why Wait? Start Extracting Valuable Video Data Now!

Stop missing out on the insights hidden within video content. Turn hours of video into actionable data with Video Transcript Scraper today! Whether for AI development, market research, or content analytics, this tool gets you the data you need fast.

Developer
Maintained by Community
Actor metrics
  • 75 monthly users
  • 19 stars
  • 98.4% runs succeeded
  • 2.9 hours response time
  • Created in Oct 2024
  • Modified about 11 hours ago