{
  "openapi": "3.0.1",
  "info": {
    "title": "Social Media Video Transcript Scraper",
    "description": "Social Media Video Transcript Scraper (TikTok, Instagram, Facebook, X) SD - Social Media Video Transcript Scraper (TikTok, Instagram, Facebook, X) is a video-to-text tool that extracts timestamped transcripts of public videos, from captions or Whisper speech recognition.",
    "version": "1.0",
    "x-build-id": "cyiO6F3fnZhleXznx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~social-media-video-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-social-media-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/neuro-scraper~social-media-video-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-social-media-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/neuro-scraper~social-media-video-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-social-media-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": {
          "mediaUrls": {
            "title": "Media URLs",
            "type": "array",
            "description": "Public video links, one per line: TikTok videos, Instagram reels / video posts, Facebook videos / reels / watch / share links, X (Twitter) posts with a video, YouTube videos / Shorts, or a direct audio / video file (mp3, mp4, m4a, wav ...). Profile, page, channel and playlist links are expanded to their newest videos (see \"Max videos per profile\"): YouTube channels and playlists, Facebook pages, Instagram profiles.",
            "items": {
              "type": "string"
            }
          },
          "videoUrl": {
            "title": "Video URL (single, optional)",
            "type": "string",
            "description": "One more video link - the same as adding a line to Media URLs. Example: https://www.facebook.com/reel/1549207066583030"
          },
          "datasetItems": {
            "title": "Items from another run (JSON)",
            "type": "array",
            "description": "Paste rows of another scraper's dataset (objects with a url, videoUrl, webVideoUrl or postUrl field) or plain links; every video link found is transcribed."
          },
          "datasetId": {
            "title": "Dataset ID of another run",
            "type": "string",
            "description": "ID of an Apify dataset (for example the default dataset of a TikTok, Instagram or YouTube scraper run in your account). The video links in its rows are transcribed."
          },
          "maxEpisodesPerFeed": {
            "title": "Max videos per profile, channel, page or playlist",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "For profile / channel / page / playlist links in Media URLs: transcribe this many of the newest videos. The list follows the platform's own next-page cursor (YouTube 30 per page). TikTok and X profiles are not listed to logged-out visitors - give their video links.",
            "default": 3
          },
          "usePublisherTranscripts": {
            "title": "Use the platform's own captions when published",
            "type": "boolean",
            "description": "TikTok, YouTube and Facebook publish caption tracks for many videos: they are used first (free and fast). Off = always run speech recognition on the audio.",
            "default": true
          },
          "language": {
            "title": "Language (optional)",
            "type": "string",
            "description": "Two-letter code such as en, es, pt, de, hi. Picks that caption track when available and tells speech recognition the language. Empty or auto = detect automatically.",
            "default": ""
          },
          "model": {
            "title": "Whisper model",
            "enum": [
              "tiny",
              "base",
              "small"
            ],
            "type": "string",
            "description": "Speech-recognition model (faster-whisper, runs inside the Actor - no API key). Used only when a video has no published captions.",
            "default": "base"
          },
          "maxMinutesPerItem": {
            "title": "Max minutes per item",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Speech recognition transcribes at most this many minutes of each video (status \"trimmed\" when cut). 0 = no limit. Published captions are always returned in full.",
            "default": 120
          },
          "includeTimestamps": {
            "title": "Include timestamps",
            "type": "boolean",
            "description": "On: transcript is \"[mm:ss] text\" lines and segments carry start / end seconds. Off: transcript is plain text and segments are left out.",
            "default": true
          },
          "wordTimestamps": {
            "title": "Word-level timestamps",
            "type": "boolean",
            "description": "Adds a words list (word, start, end, probability) from speech recognition.",
            "default": false
          },
          "translateToEnglish": {
            "title": "Translate to English",
            "type": "boolean",
            "description": "Adds a translation field: Whisper's built-in translation of the speech into English (English videos keep their text).",
            "default": false
          },
          "smartFormat": {
            "title": "Smart formatting (paragraphs)",
            "type": "boolean",
            "description": "Write `text` as readable paragraphs (split at pauses, first letter capitalised, sentence end added). `formattedText` and `paragraphs` are filled either way.",
            "default": false
          },
          "saveSrtFiles": {
            "title": "Save SRT subtitle files",
            "type": "boolean",
            "description": "Store every transcript as an .srt subtitle file in the run's key-value store and put its download link in `srtFileUrl`.",
            "default": true
          },
          "vocabulary": {
            "title": "Vocabulary: names and terms to expect",
            "type": "string",
            "description": "Optional words that help speech recognition spell names and jargon, e.g. \"Apify, Kubernetes, Hinge Health\"."
          },
          "publishedAfter": {
            "title": "Only videos published after",
            "type": "string",
            "description": "A date (2026-09-01) or a relative period (7 days, 2 weeks, 3 months). Older videos are skipped; a profile list stops after 3 older videos in a row."
          },
          "titleContains": {
            "title": "Only videos whose title or caption contains",
            "type": "string",
            "description": "Case-insensitive text, e.g. \"recipe\". Videos without it are skipped (checked before transcription)."
          },
          "newItemsOnly": {
            "title": "Only new videos",
            "type": "boolean",
            "description": "Remembers the videos transcribed by earlier runs (a named key-value store in your account) and skips them - for scheduled runs.",
            "default": false
          },
          "includeFailedItems": {
            "title": "Add a row for failed links",
            "type": "boolean",
            "description": "Off: links that fail are only named in the log. On: each one also gets a row with status \"error\" and the reason (rows are counted as results).",
            "default": false
          },
          "maxItems": {
            "title": "Max results in total",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Stops the run after this many transcripts. 0 = no total limit.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Instagram, Facebook and TikTok limit logged-out visitors per IP address. Residential proxies (the default) give the most reliable results; media files are downloaded directly from the platforms' CDNs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "maxConcurrency": {
            "title": "Parallel videos",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many videos are fetched at the same time. Speech recognition itself runs one video at a time so the CPU is not overloaded.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}