{
  "openapi": "3.0.1",
  "info": {
    "title": "Audio to Text: Transcribe MP3 & Video Files",
    "description": "Transcribe audio and video files to text with Whisper running inside the Actor, no external API: MP3, M4A, WAV, OGG, MP4, WebM and more. Full text, detected language, duration, timestamped segments and SRT/VTT subtitles. Direct file links only. Empty input = free demo.",
    "version": "0.1",
    "x-build-id": "gg9QpiauVI4fVb6v2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ucchiii~audio-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ucchiii-audio-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/ucchiii~audio-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-ucchiii-audio-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/ucchiii~audio-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-ucchiii-audio-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",
        "properties": {
          "urls": {
            "title": "Audio or video file URLs",
            "type": "array",
            "description": "Direct links to audio or video files, one per line, e.g. 'https://example.com/podcast-episode-12.mp3'. Most formats work: MP3, M4A, AAC, WAV, OGG, Opus, FLAC, WMA, MP4, MOV, MKV, WebM, AVI (the first audio track is used). The link must return the file itself, not a web page. YouTube and other video or social media platform links are refused. Duplicates are removed; up to 500 files per run. Leave empty (and no key-value store) for a free demo.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset with file URLs",
            "type": "string",
            "description": "Optional. ID of a dataset whose items hold audio or video URLs, for example the output of Podcast Episodes from RSS (field 'audioUrl') or of a scraper. The URLs are added after the list above; the 500-file cap applies to the total."
          },
          "datasetUrlField": {
            "title": "URL field in dataset",
            "type": "string",
            "description": "Field of each dataset item that holds the file URL. Use dots for nested fields, e.g. 'enclosure.url'. The field may also hold a list of URLs. Leave empty to use 'audioUrl', or 'url' when an item has no 'audioUrl'."
          },
          "keyValueStoreId": {
            "title": "Key-value store with files",
            "type": "string",
            "description": "Optional. ID or name of a key-value store that holds audio or video files as records (for example files you uploaded in Apify Console, or files saved by another Actor). Its files are transcribed after the URLs above."
          },
          "keyValueStoreKeys": {
            "title": "Record keys",
            "type": "array",
            "description": "Optional. Keys of the records to transcribe from the key-value store above, e.g. 'meeting-2026-11-10.m4a'. Leave empty to use every record in the store (except INPUT); records that are not audio or video become free error rows.",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "af",
              "sq",
              "am",
              "ar",
              "hy",
              "as",
              "az",
              "ba",
              "eu",
              "be",
              "bn",
              "bs",
              "br",
              "bg",
              "ca",
              "zh",
              "hr",
              "cs",
              "da",
              "nl",
              "en",
              "et",
              "fo",
              "fi",
              "fr",
              "gl",
              "ka",
              "de",
              "el",
              "gu",
              "ht",
              "ha",
              "haw",
              "he",
              "hi",
              "hu",
              "is",
              "id",
              "it",
              "ja",
              "jw",
              "kn",
              "kk",
              "km",
              "ko",
              "lo",
              "la",
              "lv",
              "ln",
              "lt",
              "lb",
              "mk",
              "mg",
              "ms",
              "ml",
              "mt",
              "mi",
              "mr",
              "mn",
              "my",
              "ne",
              "no",
              "nn",
              "oc",
              "ps",
              "fa",
              "pl",
              "pt",
              "pa",
              "ro",
              "ru",
              "sa",
              "sr",
              "sn",
              "sd",
              "si",
              "sk",
              "sl",
              "so",
              "es",
              "su",
              "sw",
              "sv",
              "tl",
              "tg",
              "ta",
              "tt",
              "te",
              "th",
              "bo",
              "tr",
              "tk",
              "uk",
              "ur",
              "uz",
              "vi",
              "cy",
              "yi",
              "yo"
            ],
            "type": "string",
            "description": "Spoken language of the files. 'Detect automatically' guesses it from the first 30 seconds of each file (the result is in 'language'). Choose the language when you know it: detection on short or noisy clips can be wrong, and a wrong language gives a poor transcript.",
            "default": "auto"
          },
          "task": {
            "title": "Task",
            "enum": [
              "transcribe",
              "translate"
            ],
            "type": "string",
            "description": "'Transcribe' writes the text in the language that is spoken. 'Translate to English' writes an English translation of non-English speech (Whisper's built-in translation; quality is lower than the transcript). Same price.",
            "default": "transcribe"
          },
          "includeSegments": {
            "title": "Include timestamped segments",
            "type": "boolean",
            "description": "Add 'segments': the transcript split into phrases, each with start and end time in seconds. Turn off for smaller rows when you only need the text.",
            "default": true
          },
          "includeSrt": {
            "title": "Include SRT subtitles",
            "type": "boolean",
            "description": "Add 'srt': the transcript as SRT subtitles (numbered cues with HH:MM:SS,mmm times), ready to paste into a .srt file or a video editor.",
            "default": true
          },
          "includeVtt": {
            "title": "Include WebVTT subtitles",
            "type": "boolean",
            "description": "Add 'vtt': the transcript as WebVTT subtitles (for HTML5 video players).",
            "default": false
          },
          "wordTimestamps": {
            "title": "Word-level timestamps",
            "type": "boolean",
            "description": "Add start and end times and a confidence for every word inside each segment. Makes transcription slower and the rows larger; same price.",
            "default": false
          },
          "skipSilence": {
            "title": "Skip silence",
            "type": "boolean",
            "description": "Detect speech first (Silero voice activity detection) and only transcribe the parts with speech. Faster on recordings with pauses and music, and avoids made-up text in silent parts. Turn off if quiet speech is being skipped. Billing always uses the full file duration.",
            "default": true
          },
          "vocabularyHint": {
            "title": "Vocabulary hint",
            "type": "string",
            "description": "Optional. Names, product terms or jargon that appear in the audio, written as you want them spelled. Given to the model as context for the first window; it improves spelling of rare words but is not a strict dictionary. Up to 800 characters."
          },
          "saveFiles": {
            "title": "Save .txt, .srt and .vtt files",
            "type": "boolean",
            "description": "Also save each transcript as .txt, .srt and .vtt files in the run's key-value store, with download links in 'files'. No extra charge.",
            "default": false
          },
          "maxMinutesPerFile": {
            "title": "Max minutes per file",
            "minimum": 1,
            "maximum": 180,
            "type": "integer",
            "description": "Files longer than this are not transcribed (status too_long, free). 1 to 180 minutes, default 60. For files over 90 minutes, give the run 4 GB of memory or more.",
            "default": 60
          },
          "maxTotalMinutes": {
            "title": "Max audio minutes per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop charging once this many audio minutes have been transcribed in the run; files that would go over the limit get status skipped_total_limit (free). 1 to 5,000, default 300. Keeps the cost of a run predictable together with the run's maximum charge.",
            "default": 300
          },
          "maxFileSizeMb": {
            "title": "Max file size (MB)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Files larger than this are not downloaded (status too_large, free). Checked from the Content-Length header and again while downloading. 1 to 1,000 MB, default 300. Video files are large: a 1-hour 720p MP4 is often 500 MB or more, while its audio as MP3 is about 60 MB.",
            "default": 300
          },
          "timeoutSecs": {
            "title": "Download timeout (seconds)",
            "minimum": 5,
            "maximum": 600,
            "type": "integer",
            "description": "Timeout for connecting and for each read while downloading a file, in seconds (5 to 600, default 120). Downloads are retried twice after timeouts and HTTP 429/5xx errors.",
            "default": 120
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}