{
  "openapi": "3.0.1",
  "info": {
    "title": "Social Video Downloader & Transcriber - MP4, MP3, Subtitles",
    "description": "Download videos or audio from YouTube, TikTok, Instagram, X, Facebook, Vimeo and 1000+ sites, then transcribe, translate, summarise and burn in subtitles. Files land in your key-value store with metadata in the dataset.",
    "version": "1.0",
    "x-build-id": "qVxQdjz4dDVmWfjDJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seemuapps~social-video-downloader-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seemuapps-social-video-downloader-transcriber",
        "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/seemuapps~social-video-downloader-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-seemuapps-social-video-downloader-transcriber",
        "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/seemuapps~social-video-downloader-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-seemuapps-social-video-downloader-transcriber",
        "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",
        "required": [
          "videoUrls"
        ],
        "properties": {
          "videoUrls": {
            "title": "Video URLs",
            "type": "array",
            "description": "Direct URLs of the videos to download. Supports YouTube, TikTok, Instagram, X (Twitter), Facebook, Vimeo, Twitch clips and 1000+ other sites. One video per URL; playlists and channels are not expanded.",
            "items": {
              "type": "string"
            }
          },
          "quality": {
            "title": "Quality",
            "enum": [
              "best",
              "1080",
              "720",
              "480",
              "360"
            ],
            "type": "string",
            "description": "Maximum video resolution to download. Lower resolutions download faster and produce smaller files.",
            "default": "720"
          },
          "audioOnly": {
            "title": "Audio only (MP3)",
            "type": "boolean",
            "description": "Download only the audio track and save it as MP3 instead of the full video. Subtitled video rendering is skipped in this mode.",
            "default": false
          },
          "transcribe": {
            "title": "Transcribe",
            "type": "boolean",
            "description": "Generate a timestamped speech-to-text transcript of each video, plus SRT and VTT subtitle files. Billed per started audio minute.",
            "default": false
          },
          "transcriptionLanguage": {
            "title": "Transcription language",
            "type": "string",
            "description": "Optional ISO 639-1 code of the spoken language (e.g. en, es, vi) to improve accuracy. Leave empty for automatic detection."
          },
          "fixTranscript": {
            "title": "Fix transcript wording",
            "type": "boolean",
            "description": "Run the transcript through a language model to correct misheard words, names and punctuation without changing the meaning. Requires Transcribe.",
            "default": false
          },
          "targetLanguage": {
            "title": "Translate transcript to",
            "type": "string",
            "description": "Optional language to translate the transcript into, as an ISO code or name (e.g. es, German). Subtitles and the subtitled video use the translation. Requires Transcribe."
          },
          "summaryPrompt": {
            "title": "Summary prompt",
            "type": "string",
            "description": "Optional instructions for a summary of each video generated from its transcript, e.g. \"Summarise in 3 bullet points for a busy executive\". Requires Transcribe."
          },
          "subtitledVideo": {
            "title": "Subtitled video",
            "type": "boolean",
            "description": "Render a second MP4 with the transcript (or its translation) burned in as captions. Requires Transcribe; re-encodes the video so runs take longer.",
            "default": false
          },
          "zipDownloads": {
            "title": "Zip downloads",
            "type": "boolean",
            "description": "Also bundle every downloaded file into a single downloads.zip in the key-value store. Skipped with a warning if the archive would not fit in the run's memory.",
            "default": false
          },
          "maxFileSizeMb": {
            "title": "Max file size (MB)",
            "minimum": 0,
            "type": "integer",
            "description": "Videos larger than this limit are skipped and not charged. Use 0 for no limit.",
            "default": 0
          },
          "downloadTimeoutSecs": {
            "title": "Download timeout (seconds)",
            "minimum": 30,
            "maximum": 7200,
            "type": "integer",
            "description": "Maximum time allowed for downloading a single video before it is marked as failed.",
            "default": 1800
          },
          "downloadRetries": {
            "title": "Download retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many times a failed download is retried with a fresh proxy session.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used for downloads. Residential proxies are recommended: TikTok, Instagram and some YouTube videos block datacenter IPs. Pick a country to work around region locks.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "cookies": {
            "title": "Cookies (Netscape cookies.txt)",
            "type": "string",
            "description": "Optional contents of a browser cookies.txt export. Use it for private, age-restricted or login-only videos. Stored encrypted and never shown in logs."
          },
          "extraYtDlpArgs": {
            "title": "Extra downloader arguments",
            "type": "array",
            "description": "Advanced: additional yt-dlp command-line arguments passed as-is, one per line (e.g. --extractor-args, --sub-langs). Output, cookie and exec-style options are ignored for safety.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}