{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Video & Reel AI Transcript Extractor",
    "description": "Facebook Video Transcript Generator — 🎬 AI Video & Reel Transcription | 🔤 Word Timestamps | 🗣️ Speaker Labels | 🎞️ SRT/WebVTT Subtitles | 🌍 108-Language Translation | 📊 30+ Metrics + HD Download URLs. Try 5 videos free!",
    "version": "1.0",
    "x-build-id": "hzEDW9Cnkrs2liGE4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~facebook-ai-transcript-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-facebook-ai-transcript-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/sian.agency~facebook-ai-transcript-extractor/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-facebook-ai-transcript-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/sian.agency~facebook-ai-transcript-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-facebook-ai-transcript-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "facebookUrl": {
            "title": "🎬 Single Facebook Video / Reel URL",
            "pattern": "^https://(www\\.|m\\.)?facebook\\.com/(reel/[^/\\s]+|share/|watch\\?)",
            "type": "string",
            "description": "🎬 **SINGLE VIDEO PROCESSING:** Extract transcript from one Facebook video or reel.\n\n📱 **How to get the URL:**\n1. Open Facebook **reel** (short-form video with speaking/audio)\n2. Click the **share** button (↗️)\n3. Select **\"Copy Link\"**\n4. Paste the link here\n\n💡 **TIP:** Use bulk mode for multiple reels\n\n❌ **NOT supported:** \n• Music-only videos without speech\n• Silent videos without audio\n• Private/restricted content\n\n✅ **SUPPORTED:** \n• Facebook reels (/reel/) with speech/talking\n• Share URLs (automatically resolved to reel URLs)\n• Mobile URLs (automatically converted to www)\n\n🤖 **Auto-correction:** URLs are automatically normalized if needed\n\n⚠️ **Requirements:** \n• Only **public reels** can be processed\n• URL must contain **VIDEO with spoken audio** for transcription",
            "default": "https://www.facebook.com/reel/636216875539019"
          },
          "bulkUrls": {
            "title": "🚀 Bulk Facebook Video URLs (Multiple Videos)",
            "type": "array",
            "description": "🚀 **BULK PROCESSING:** Extract transcripts from multiple Facebook videos & reels at once.\n\n✨ **Perfect for content creators, marketers & social media analysts**\n\n💰 **TIER-BASED LIMITS:**\n• **FREE users:** Up to 5 URLs per run (8-second delays)\n• **PAID users:** Unlimited URLs (no delays)\n\n💡 **TIP:** Use single mode for one reel\n\n📝 **BULK EDIT:** Click \"Bulk edit\" button to paste URLs (one per line)\n📁 **TEXT FILE UPLOAD:** Upload .txt files with URLs (supports line breaks, commas, AND spaces - perfect for clipboard issues!)\n🔗 **MANUAL ADD:** Use + Add button for individual URLs\n\n⚠️ **IMPORTANT:** Please provide either single URL OR bulk URLs (at least one is required)\n⚠️ **Rate Limiting:** FREE users have 8-second delays between videos for server stability",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "translateTo": {
            "title": "🌍 Translate Transcript To… (charged per 1,000 characters)",
            "enum": [
              "AF",
              "SQ",
              "AR",
              "AN",
              "HY",
              "AS",
              "AY",
              "AZ",
              "BA",
              "EU",
              "BE",
              "BN",
              "BS",
              "BR",
              "BG",
              "MY",
              "CA",
              "ZH",
              "ZH-HANS",
              "ZH-HANT",
              "HR",
              "CS",
              "DA",
              "NL",
              "EN-US",
              "EN-GB",
              "EO",
              "ET",
              "FI",
              "FR",
              "FR-FR",
              "GL",
              "KA",
              "DE",
              "DE-DE",
              "EL",
              "GN",
              "GU",
              "HT",
              "HA",
              "HE",
              "HI",
              "HU",
              "IS",
              "IG",
              "ID",
              "GA",
              "IT",
              "JA",
              "JV",
              "KK",
              "KO",
              "KY",
              "LA",
              "LV",
              "LN",
              "LT",
              "LB",
              "MK",
              "MG",
              "MS",
              "ML",
              "MT",
              "MI",
              "MR",
              "MN",
              "NE",
              "NB",
              "OC",
              "OM",
              "PS",
              "FA",
              "PL",
              "PT-BR",
              "PT-PT",
              "PA",
              "QU",
              "RO",
              "RU",
              "SA",
              "SR",
              "ST",
              "SK",
              "SL",
              "ES",
              "ES-419",
              "SU",
              "SW",
              "SV",
              "TL",
              "TG",
              "TA",
              "TT",
              "TE",
              "TH",
              "TS",
              "TN",
              "TR",
              "TK",
              "UK",
              "UR",
              "UZ",
              "VI",
              "CY",
              "WO",
              "XH",
              "YI",
              "ZU"
            ],
            "type": "string",
            "description": "🔒 **PAID PLANS ONLY** — transcript translation requires a paid Apify plan. Free-tier runs return the transcript in its original language (no translation charge).\n\n🌍 **TRANSCRIPT TRANSLATION:** Translate your Facebook transcripts into 100+ languages — not just English!\n\n💰 **PRICING:** Charged per 1,000 transcript characters (a typical reel ≈ 1 unit)\n\n📊 **WHAT YOU GET:**\n• **translatedTranscript field** - The full transcript professionally translated into your chosen language\n• **Original data untouched** - transcript, segments, words, and timestamps stay in the source language so timing remains accurate\n• **Any source language** - Automatic source language detection\n\n🎯 **PERFECT FOR:**\n• **Global market research** - Understand international competitors and trends\n• **Content localization** - Repurpose viral content for new language markets\n• **Brand monitoring** - Track mentions across language markets\n\n✨ **BULK SUPPORT:** Applies to ALL URLs when enabled"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}