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

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

Try for free

No credit card required

Go to Store
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, Facebook, Dailymotion, Vimeo, Loom and more! With our powerful, 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.
  • 📊 Rich Metadata: Get all the essential video details in one place.

🔗 Supported Platforms

This video transcript scraper has been extensively tested on the following platforms:

  • YouTube
  • X (ex Twitter) (just copy the tweet video link)
  • TikTok
  • Facebook (public videos)
  • Dailymotion
  • Vimeo
  • Loom

The tool may also work on other platforms not listed here, like media websites, though they have not been as thoroughly tested.


🚀 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". It will be matched with a track that is in that language. 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. For youtube videos you can check out the available_languages field in the JSON output.

Sample Input

1{
2  "video_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  "like_count": 200,
7  "channel": "Example",
8  "channel_url": "https://example.com/video-id=example",
9  "available_languages": ["English", "French"],
10  "selected_language": "English",
11  "text": "Hello, world! Welcome to our channel.",
12  "transcript": [
13    {
14      "text": "Hello, world!",
15      "start": 0.0,
16      "end": 1.5
17    },
18    {
19      "text": "Welcome to our channel.",
20      "start": 1.5,
21      "end": 3.0
22    }
23  ]
24}

🔍 Important consideration

The following fields are only available for youtube videos: ["like_count", "channel", "channel_url", "available_languages", "selected_language"]


⚙️ 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 '{"video_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));

🚑 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. For youtube videos you can check out the available_languages field in the JSON output.

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

  • 232 monthly users

  • 54 stars

  • >99% runs succeeded

  • 21 hours response time

  • Created in Oct 2024

  • Modified 4 days ago