{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Video Transcript Scraper - Reels to Text",
    "description": "Facebook video transcript scraper, no login: reel, watch, share or fb.watch links, pages and hashtags to text by Whisper inside the Actor, or by Facebook's own captions in the spoken language. Rows: timed segments, SRT, language, hook, owner, plays. JSON, CSV, API; silent videos cost no transcript.",
    "version": "0.1",
    "x-build-id": "D1eTTO3xV3xq2qbTK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~facebook-video-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-facebook-video-transcript-scraper",
        "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/automation_craft~facebook-video-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-facebook-video-transcript-scraper",
        "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/automation_craft~facebook-video-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-facebook-video-transcript-scraper",
        "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": {
          "videoUrls": {
            "title": "Video and reel links",
            "type": "array",
            "description": "Facebook video links: reels (facebook.com/reel/<id>), watch links (facebook.com/watch/?v=<id>), page video links (facebook.com/<page>/videos/<id>), share links (facebook.com/share/r/... and /share/v/...), fb.watch short links, post links with a video, or a bare video id. Up to 5,000. Links are delivered as asked: the filters below never apply to them.",
            "items": {
              "type": "string"
            }
          },
          "pageUrls": {
            "title": "Pages (their latest reels)",
            "type": "array",
            "description": "Facebook pages or profiles by link (facebook.com/<page>, facebook.com/profile.php?id=<id>) or name: their Reels tab is read newest first (a pinned reel comes first and is marked) and each reel is transcribed. Up to 500.",
            "items": {
              "type": "string"
            }
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags (comedy, #comedy, or a facebook.com/hashtag/<tag> link): the videos of the hashtag's Top and Recent feeds Facebook shows without a login. Up to 100.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset id (rows of an earlier run)",
            "type": "string",
            "description": "The id of a dataset on your account (the output of an earlier run, of any Actor) whose rows carry Facebook video, reel or post links (in url, postUrl, videoPageUrl, reelUrl, permalink, permalinkUrl, link, inputUrl or topLevelUrl, or the field you name below). Each linked video is transcribed. Up to 10,000 rows."
          },
          "datasetItems": {
            "title": "Dataset rows",
            "type": "array",
            "description": "Rows given here instead of a dataset id (a list of objects, each with a Facebook video link in one of the fields above). Up to 10,000."
          },
          "datasetField": {
            "title": "Dataset field with the video link",
            "type": "string",
            "description": "Read the video link from this field only (for a dataset whose rows name the video in another field)."
          },
          "maxDatasetVideos": {
            "title": "Videos from the dataset",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The most videos taken from the dataset, in its order (1 to 10,000). Default 1,000."
          },
          "mediaUrls": {
            "title": "File links (audio or video)",
            "type": "array",
            "description": "Signed audio or video file links on Facebook's file hosts (fbcdn.net, with their oh and oe parts), such as the videoUrl or audioUrl fields of a Facebook dataset. Each file is transcribed as it is (a file has no page, so the row carries no title, owner or counts). Up to 500.",
            "items": {
              "type": "string"
            }
          },
          "maxVideosPerPage": {
            "title": "Reels per page",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most videos delivered for one page (1 to 1,000). The walk reads the Reels tab newest first until this many videos passed your filters, the tab ends, or the date window is passed. Default 20."
          },
          "maxVideosPerHashtag": {
            "title": "Videos per hashtag",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most videos delivered for one hashtag (1 to 1,000). Default 20."
          },
          "maxVideos": {
            "title": "Videos in the whole run",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most video rows the whole run delivers (1 to 100,000). Leave empty for no run wide cap."
          },
          "maxTranscriptMinutes": {
            "title": "Transcript minutes in the whole run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The most minutes of audio the whole run transcribes. A video whose length would pass it is not started; the run stops there and says so. Leave empty for no cap."
          },
          "postedSince": {
            "title": "Published on or after",
            "type": "string",
            "description": "A day (2026-10-01, from 00:00 UTC) or a time back from the run's start (\"30 days\", \"24 hours\"). On a page the walk stops at the first reel older than this."
          },
          "postedUntil": {
            "title": "Published on or before",
            "type": "string",
            "description": "A day (2026-10-31, up to 23:59:59 UTC)."
          },
          "minPlays": {
            "title": "Minimum plays",
            "minimum": 0,
            "type": "integer",
            "description": "Only videos Facebook shows at least this many plays for (a video without a play count is left out when set)."
          },
          "minDurationSeconds": {
            "title": "Shortest video (seconds)",
            "minimum": 0,
            "maximum": 86400,
            "type": "integer",
            "description": "Leave out videos shorter than this, judged on the length Facebook gives before any audio is read."
          },
          "maxDurationSeconds": {
            "title": "Longest video (seconds)",
            "minimum": 1,
            "maximum": 86400,
            "type": "integer",
            "description": "Leave out videos longer than this."
          },
          "skipPinned": {
            "title": "Skip pinned reels",
            "type": "boolean",
            "description": "Leave out the reel a page pinned to the top of its Reels tab.",
            "default": false
          },
          "titleIncludes": {
            "title": "Title or caption contains",
            "type": "array",
            "description": "Only videos whose title or caption contains one of these words or phrases (up to 50; letters compared lower cased).",
            "items": {
              "type": "string"
            }
          },
          "titleExcludes": {
            "title": "Title or caption does not contain",
            "type": "array",
            "description": "Leave out videos whose title or caption contains one of these words or phrases (up to 50).",
            "items": {
              "type": "string"
            }
          },
          "skipVideosLongerThanMinutes": {
            "title": "Skip videos longer than (minutes)",
            "minimum": 1,
            "maximum": 1440,
            "type": "integer",
            "description": "Leave out any video longer than this, links included: it is not transcribed and not charged, and a free row lists it. Use maxMinutesPerVideo instead to transcribe the first minutes of long videos."
          },
          "transcriptSource": {
            "title": "Transcript source",
            "enum": [
              "auto",
              "whisper",
              "captions"
            ],
            "type": "string",
            "description": "Auto (default): where Facebook serves a caption track in the language the speech model hears in the video (an owner's file or Facebook's own automatic captions), that track is the transcript and is charged as a Caption transcript; every other video is transcribed by the speech model. Speech model: every video by the speech model. Captions: Facebook's own track only, the cheapest mode; a video without a track gets no transcript. Word timings, speaker labels, translation and the accurate model always use the speech model.",
            "default": "auto"
          },
          "language": {
            "title": "Spoken language",
            "type": "string",
            "description": "The language spoken in the videos as a code (en, es, pt, hi, de, fr, it, ar, id, ja, ko, zh, ... 100 languages), when you know it. Leave empty to detect it per video (the row says which language was detected and how sure). multi: speech that changes language, detected every two minutes (each segment says its language). In the captions mode it picks the track of that language."
          },
          "vocabulary": {
            "title": "Vocabulary (names, brands)",
            "type": "array",
            "description": "Words the speech model should expect (names, brands, product terms), up to 50. They help it spell them right.",
            "items": {
              "type": "string"
            }
          },
          "prompt": {
            "title": "Context for the speech model",
            "type": "string",
            "description": "A sentence or two about the videos (the topic, the people, the style of writing you want), up to 800 characters. The speech model reads it before each video."
          },
          "termCorrections": {
            "title": "Term corrections",
            "type": "object",
            "description": "Words to replace in every transcript after it is written, as \"as heard\": \"as written\" pairs (up to 100), matched as whole words, any case. The row counts the replacements."
          },
          "chineseScript": {
            "title": "Chinese script",
            "enum": [
              "auto",
              "simplified",
              "traditional"
            ],
            "type": "string",
            "description": "For Chinese speech: write the transcript in simplified or traditional characters.",
            "default": "auto"
          },
          "model": {
            "title": "Speech model",
            "enum": [
              "tiny",
              "base",
              "small"
            ],
            "type": "string",
            "description": "The speech model. Tiny is about twice as fast as base and makes more mistakes. Small makes fewer mistakes, above all outside English (advised for Hindi and other languages written in their own script), and takes about three times longer; it needs a run of 2,048 MB of memory or more (set Memory in the run options) and is charged per minute as an Accurate minute on top of the transcript. Tiny and base cost the same.",
            "default": "base"
          },
          "maxMinutesPerVideo": {
            "title": "Minutes transcribed per video",
            "minimum": 1,
            "maximum": 720,
            "type": "integer",
            "description": "The most minutes of one video's audio that are transcribed (1 to 720, 12 hours); a longer video is transcribed up to here and the row says so. The run's memory sets the most: 73 minutes at the default 1,024 MB, 306 at 2,048 MB, 720 at 4,096 MB (less with translateTo or the small model; the run refuses a value its memory cannot hold). Default 60."
          },
          "audioChannel": {
            "title": "Audio channel",
            "enum": [
              "mix",
              "left",
              "right"
            ],
            "type": "string",
            "description": "For stereo videos with different speakers or languages on each side: transcribe one channel only.",
            "default": "mix"
          },
          "secondPass": {
            "title": "Second check of silent videos",
            "type": "boolean",
            "description": "When the voice detector hears no speech, read the first 30 seconds once more without it (it catches quiet or music backed speech). A video still without speech is delivered free of a transcript charge.",
            "default": true
          },
          "includeSegments": {
            "title": "Timed segments",
            "type": "boolean",
            "description": "Add the transcript's timed segments (start, end, text).",
            "default": true
          },
          "wordTimestamps": {
            "title": "Word timings",
            "type": "boolean",
            "description": "Add the start, end and confidence of every word to the segments (speech model only).",
            "default": false
          },
          "subtitleFormats": {
            "title": "Subtitle text",
            "type": "array",
            "description": "Add the transcript as subtitles on the row: srt and/or vtt. No extra charge.",
            "items": {
              "type": "string"
            }
          },
          "subtitleMaxChars": {
            "title": "Subtitle line length (characters)",
            "minimum": 20,
            "maximum": 200,
            "type": "integer",
            "description": "The most characters on one subtitle line: a longer cue is cut at word boundaries into cues with their own times (SRT and VTT, on the row and in files)."
          },
          "subtitleMaxLines": {
            "title": "Subtitle lines per cue",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "How many lines one subtitle cue may hold (1 to 3, default 1), each as long as the subtitle line length (42 characters when that is not set)."
          },
          "subtitleMaxSeconds": {
            "title": "Subtitle cue length (seconds)",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "The longest a subtitle cue stays on screen (1 to 15 seconds): a longer one is cut at word boundaries (SRT and VTT, on the row and in files)."
          },
          "includeParagraphs": {
            "title": "Paragraphs",
            "type": "boolean",
            "description": "Add the transcript as paragraphs (segments joined until a pause of 1.5 seconds).",
            "default": false
          },
          "chunkWords": {
            "title": "Chunks for AI (words per chunk)",
            "minimum": 20,
            "maximum": 2000,
            "type": "integer",
            "description": "Add the transcript cut into chunks of about this many words with their times, ready for an AI tool or a search index."
          },
          "searchTerms": {
            "title": "Find words in transcripts",
            "type": "array",
            "description": "Words or phrases to count in each transcript, with the seconds where they are said (up to 50).",
            "items": {
              "type": "string"
            }
          },
          "estimateOnly": {
            "title": "Estimate only (no transcription)",
            "type": "boolean",
            "description": "Read each video's length and details without transcribing it: each row says the most its transcript would cost. Only the Video event is charged.",
            "default": false
          },
          "compactRows": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Deliver the main fields only (id, link, title, owner, date, length, plays, the transcript and its status).",
            "default": false
          },
          "includeEngagement": {
            "title": "Reactions, comments and shares",
            "type": "boolean",
            "description": "Read each video's page for its reaction count by type, comment count, share count and view count. No extra charge; each video takes one more read.",
            "default": false
          },
          "translateToEnglish": {
            "title": "English translation (add-on)",
            "type": "boolean",
            "description": "Translate every transcript that is not in English into English, by the speech model itself. Charged per started minute translated as a Translation minute; English speech costs nothing more.",
            "default": false
          },
          "translateTo": {
            "title": "Translate into another language (add-on)",
            "type": "string",
            "description": "A language code (es, de, fr, pt, hi, ar, ja, ... 100 languages; see the README) to translate every transcript into, by a translation model inside the Actor. Needs a run of 2,048 MB of memory or more (set Memory in the run options). Charged per started minute translated as a Translation minute; speech already in that language costs nothing more. Use translateToEnglish for English."
          },
          "speakerLabels": {
            "title": "Speaker labels (add-on)",
            "type": "boolean",
            "description": "Label who speaks when (S0, S1 ... on each segment and word), by a speaker model inside the Actor. Charged per started minute labelled as a Speaker minute.",
            "default": false
          },
          "speakerCount": {
            "title": "Number of speakers",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many people speak, when you know it (1 to 8); otherwise the speaker model decides. Needs speaker labels on."
          },
          "speakerNames": {
            "title": "Speaker names",
            "type": "array",
            "description": "Names for the speakers in the order they first speak (Host, Guest ...), up to 20. They replace S0, S1 ... on the rows of every video. Needs speaker labels on; no extra charge.",
            "items": {
              "type": "string"
            }
          },
          "transcriptFileFormats": {
            "title": "Transcript files (add-on)",
            "type": "array",
            "description": "Store each transcript as files in the run's key-value store and link them on the row: srt, vtt, txt, json, md (Markdown), html (a page to read or print) and docx (Word). Charged per file stored as a Subtitle file.",
            "items": {
              "type": "string"
            }
          },
          "failOnError": {
            "title": "Fail the run on any error",
            "type": "boolean",
            "description": "End the run as failed when any video could not be read or transcribed (its rows and charges stay; useful in automations that check the run status).",
            "default": false
          },
          "maxConcurrency": {
            "title": "Videos read at once",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many videos' pages are read at the same time (1 to 8). Default 4. Transcription runs one video at a time."
          },
          "maxRunSeconds": {
            "title": "Time limit (seconds)",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Stop starting new work after this many seconds; what was finished is delivered and the rest is listed in a free row."
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long one request to Facebook may take (5 to 60). Default 18."
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many fresh addresses a refused request is tried on (0 to 5). Default 3."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Default: Apify's datacenter proxy, which Facebook answers without a login. Choose a group or a country, or give your own proxy links. A residential group is read through the datacenter pool instead (no extra cost). Audio files are read from the run's own address.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}