{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Video & Reel AI Transcript Extractor",
    "description": "Facebook video and Reel transcript extractor. Address by video URL or bulk list. Returns AI transcription with word-level timestamps, speaker labels, SRT and WebVTT subtitle files, 108-language translation, 30+ metadata fields and HD download URLs.",
    "version": "1.0",
    "x-build-id": "MYzeNsIkjk1w2VFtS"
  },
  "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:** transcribe one Facebook video or Reel per run.\n\n📱 Open it → **Share (↗️)** → **Copy Link** → paste here.\n\n✅ **Works:** `/reel/` URLs, `share/` links (resolved automatically) and `m.facebook.com` links (converted to `www`). The video must have **spoken audio**.\n\n❌ **Not supported:** music-only clips, silent video, private or restricted content. **Public videos only.**\n\n💡 For several videos use **Bulk Facebook Video URLs** below instead.",
            "default": "https://www.facebook.com/reel/636216875539019"
          },
          "bulkUrls": {
            "title": "🚀 Bulk Facebook Video URLs (Multiple Videos)",
            "type": "array",
            "description": "🚀 **BULK PROCESSING:** transcribe many Facebook videos and Reels in a single run.\n\n💰 **Tier limits:** FREE accounts **5 URLs per run**, with an 8-second pause between videos for server stability; paid accounts unlimited and no pause.\n\n📝 **Bulk edit** — paste one URL per line.\n📁 **Upload a .txt file** — line breaks, commas and spaces all work.\n🔗 **+ Add** — enter URLs one at a time.\n\n⚠️ Provide **either** a single URL **or** bulk URLs — at least one is required.",
            "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** — free-tier runs return the original language, uncharged.\n\n🌍 Translates the transcript into **100+ languages**, not just English. Source language is auto-detected.\n\n💰 **Charged per 1,000 transcript characters** (typical reel ≈ 1 unit).\n\n📊 Adds `translatedTranscript`; `transcript`, `segments`, `words` and timestamps stay in the source language, so timing stays exact.\n\n🎯 For market research, localisation and brand monitoring. Applies to every URL in bulk runs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}