# Facebook Video Transcript Scraper (`codenest/facebook-video-transcript-scraper`) Actor

Effortlessly & fast extract precise Facebook video transcripts with timed segments, plain text arrays, and complete metadata including titles, descriptions, and thumbnails using this very useful  & powerful Facebook Video Transcript Scraper. Try it now.❤️Facebook Video Transcript Scraper❤️.

- **URL**: https://apify.com/codenest/facebook-video-transcript-scraper.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Social media, Videos, Automation
- **Stats:** 13 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Facebook Video Transcript Scraper - Professional Caption Extraction Tool

**Efficiently extract Facebook video transcripts with our powerful Facebook Video Transcript Scraper! This Apify actor enables you to batch download accurate captions with precise timestamps, comprehensive metadata, and structured text formats.**

***

### 📋 Overview

Need to analyze Facebook video content or repurpose captions? This **Facebook Video Transcript Scraper** delivers:

- **Timed transcripts**: Get text with exact timestamps
- **Structured formats**: Both segmented and full-text output
- **Full metadata**: Titles, descriptions, thumbnails
- **Bulk processing**: Handle multiple videos per run

Perfect for content analysts 📊, researchers 🔍, accessibility teams ♿, and AI training projects 🤖!

### 🚀 Core Capabilities/Key Features

#### 📝 Transcript Options

- **Timed Segments**: Text with start/end timestamps
- **Full Text**: Continuous transcript without timestamps
- **Structured JSON**: Organized data for easy parsing
- **Bulk Mode**: Process multiple Facebook videos per run

#### 🔍 Metadata Mastery

- **Video Titles**: Complete video title extraction
- **Descriptions**: Full video description text
- **Thumbnail URLs**: High-quality preview images
- **Source URLs**: Original Facebook video links

#### ⚡ Advanced Tech

- **Smart Parsing**: Accurate transcript detection
- **Format Options**: Multiple output structures
- **Error Handling**: Robust failure recovery
- **Batch Processing**: Efficient multi-video handling

***

### ⚙️ Input Configuration

Just enter the Facebook video URLs in the Input Section then click the "start" button and wait for the results. The **Facebook Video Transcript Scraper** accepts input like this:

```json
{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch?v=10158233748371469"
    }
  ]
}
```

#### 📥 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `post_urls` | Array | Yes | Facebook video URLs to process |
| `url` | String | Yes | Valid Facebook video URL (watch?v= format) |

***

### 📊 Output Structure

The **Facebook Video Transcript Scraper** provides comprehensive output like this:

```json
[
  {
    "url": "https://www.facebook.com/watch?v=10158233748371469",
    "title": "Here comes the Bean!",
    "description": "Here comes the Bean! 👰 🎩",
    "thumbnail_url": "https://scontent-mia5-1.xx.fbcdn.net/v/t15.5256-10/71138839_10158233777576469_5231012459760312888_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=be8305&_nc_ohc=p22hzQeT_PcQ7kNvwHOaXPB&_nc_oc=Adk9jupcWszevH7JVjp0SIxD-_zTedzQdLNhNayN4SX8jdLzbKcZ0v370B0uSWPz_iU&_nc_zt=23&_nc_ht=scontent-mia5-1.xx&_nc_gid=Sg1XhkuujunccThR4Y7ZTg&oh=00_AfiJkb-qOmrx-GkrU-1ueuJ9FL1T7jy0tWZNaD19H4iGKg&oe=69308AF9",
    "transcript": [
      {
        "start": 0.161,
        "end": 3.861,
        "text": "1 In the name of the father, of the son, and the Holy Spirit."
      }
    ],
    "transcript_text": [
      "1 In the name of the father, of the son, and the Holy Spirit.",
      "2 We've come together today to witness the marriage of Daniel"
    ]
  }
]
```

#### 📋 Output Field Documentation

**Metadata Section**
| Field | Description |
|-------|-------------|
| `url` | Original Facebook video URL |
| `title` | Complete video title |
| `description` | Full video description text |
| `thumbnail_url` | High-quality thumbnail image URL |

**Transcript Data**
| Field | Description |
|-------|-------------|
| `transcript` | Array of timed transcript segments |
| `start` | Segment start time in seconds |
| `end` | Segment end time in seconds |
| `text` | Transcript text for the segment |
| `transcript_text` | Array of full text lines without timestamps |

***

### 🎯 Quality Features

The **Facebook Video Transcript Scraper** automatically detects and provides multiple transcript formats:

1. **Timed Transcripts** - Precise timestamp alignment for video editing
2. **Full Text Output** - Continuous text for analysis and reading
3. **Structured Data** - Organized JSON for easy integration
4. **Raw Segments** - Original transcript chunks as detected

Each format serves different professional workflows and use cases.

***

### 🔧 Technical Features

#### 🎪 Advanced Transcript Support

- **Timestamp precision**: Millisecond-accurate timing
- **Segment detection**: Smart text chunk identification
- **Multiple formats**: Both timed and continuous outputs
- **Encoding support**: Unicode and special character handling

#### 📊 Metadata Extraction

- **Complete titles**: Full video title preservation
- **Description text**: Comprehensive video descriptions
- **Media URLs**: Thumbnail and source link extraction
- **Structural data**: Organized output formatting

#### 💪 Reliability Features

- **Direct extraction**: Maximum accuracy and reliability
- **Error recovery**: Comprehensive failure handling
- **URL validation**: Input normalization and verification
- **Batch processing**: Efficient multi-video handling

***

### 🎯 Use Cases

- **Content Analysts** – Analyze video content trends and topics
- **Accessibility Teams** – Create captions for hearing impaired
- **AI Researchers** – Train machine learning models with transcript data
- **Social Managers** – Repurpose video content as blog posts or articles
- **Legal Teams** – Document video content for compliance and evidence
- **Educators** – Create study materials from educational videos

***

#### 💡 Why Choose Our Facebook Video Transcript Scraper?

- **Accurate Extraction**: Reliable transcript detection and parsing
- **User-Friendly**: Simple interface for both beginners and advanced users
- **Regular Updates**: Maintained to ensure compatibility with Facebook changes
- **Comprehensive Data**: Get both timed and full-text transcripts in one place
- **Structured Output**: Well-organized JSON for easy integration

***

#### ⚠️ Limitations

- Only works with Facebook videos that have available transcripts
- The **Facebook Video Transcript Scraper** may depend on transcript availability in the source video
- Performance may vary based on Facebook's interface changes

### 🔗🛠 Related Actors (Full Content Scraping Suite)

Explore our full scraping suite for enhanced Facebook and social media scraping:

#### 📹 Facebook Scrapers:

- [Facebook Video Downloader](https://apify.com/codenest/facebook-video-downloader)
- [Facebook Reels Downloader](https://apify.com/codenest/facebook-reels-downloader)

#### 🎥 YouTube Scrapers:

- [YouTube Video Scraper](https://apify.com/codenest/youtube-video-scraper)
- [YouTube Video Transcript Scraper](https://apify.com/codenest/youtube-video-transcript-scraper)
- [YouTube Video Extractor](https://apify.com/codenest/youtube-video-extractor)

***

### 📧 Need Customization?

Want \*custom transcript formats, \*\*batch processing enhancements, or \**additional metadata fields*?

✉ Email *<codenest2.0@gmail.com>* for tailored solutions using our **Facebook Video Transcript Scraper**!

***

*The **Facebook Video Transcript Scraper** is your go-to solution for efficient Facebook video caption extraction and analysis. Try it today and streamline your transcript workflow!*

# Actor input Schema

## `post_urls` (type: `array`):

List of public Facebook video post URLs.

## Actor input object example

```json
{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch/?v=783325287492075"
    },
    {
      "url": "https://web.facebook.com/watch/?v=1374855850246642"
    }
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "post_urls": [
        {
            "url": "https://web.facebook.com/watch/?v=783325287492075"
        },
        {
            "url": "https://web.facebook.com/watch/?v=1374855850246642"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/facebook-video-transcript-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "post_urls": [
        { "url": "https://web.facebook.com/watch/?v=783325287492075" },
        { "url": "https://web.facebook.com/watch/?v=1374855850246642" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("codenest/facebook-video-transcript-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch/?v=783325287492075"
    },
    {
      "url": "https://web.facebook.com/watch/?v=1374855850246642"
    }
  ]
}' |
apify call codenest/facebook-video-transcript-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codenest/facebook-video-transcript-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/doJpBcsbuHedG2rT3/builds/ELeAjhlegsNVPbpD1/openapi.json
