{
  "openapi": "3.0.1",
  "info": {
    "title": "Whisper Speech to Text: Audio/Video Transcription + Diarization",
    "description": "Speech to text with Whisper: transcribe audio and video files (MP3, M4A, WAV, MP4), Dropbox and Google Drive links, and podcast RSS feeds (podcast transcription of new episodes) to text with timestamps, speaker labels, SRT/VTT subtitles and 99 languages. Audio and video to text, priced per minute.",
    "version": "1.0",
    "x-build-id": "SqdQnQipVOW6acGHi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tinplatelabs~transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tinplatelabs-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/tinplatelabs~transcriber/runs": {
      "post": {
        "operationId": "runs-sync-tinplatelabs-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/tinplatelabs~transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-tinplatelabs-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": {
          "media": {
            "title": "Audio or video files",
            "type": "array",
            "description": "Files to transcribe, one per line: direct <b>http(s) URLs</b> of audio or video files, public <b>Dropbox</b> and <b>Google Drive</b> share links (shared with 'Anyone with the link'; downloaded directly), files in a key-value store as <code>kvs://KEY</code> (the store picked below, or this run's store) or <code>kvs://STORE_ID_OR_NAME/KEY</code>, or signed Apify record URLs (with <code>?signature=</code>). MP3, M4A/AAC, WAV, FLAC, OGG/Opus, WebM, MP4, MOV, MKV and more. Links to YouTube, TikTok, Instagram, Vimeo, Spotify and other platform pages are <b>not supported</b>. Up to 200 files per run (episodes from feeds included), 1 GB each. Can be empty when podcast feeds are given.",
            "items": {
              "type": "string"
            }
          },
          "keyValueStoreId": {
            "title": "Key-value store",
            "type": "string",
            "description": "Your key-value store that holds the media files. Pick it (or paste its ID) and list its records as <code>kvs://KEY</code>. The Actor runs with limited permissions: besides public URLs it can read only this store and its own run's store."
          },
          "feedUrls": {
            "title": "Podcast RSS feeds",
            "type": "array",
            "description": "Podcast <b>RSS or Atom feed URLs</b> for podcast transcription: the newest episodes of each feed are downloaded from the audio (or video) file the feed links to and transcribed. Each item gets the episode title, GUID, publication date and link and the feed title. Reading feeds is free; you pay only per transcribed minute. Give the feed URL (often ending in .rss, .xml or /feed), not the podcast's web page; Apple Podcasts, Spotify and SoundCloud pages are not supported. Up to 50 feeds. Clear the example file above if you only want episodes.",
            "items": {
              "type": "string"
            }
          },
          "maxEpisodesPerFeed": {
            "title": "Episodes per feed",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many of the newest episodes to transcribe per feed in one run (1-100). With 'Only new episodes' on, at most this many new episodes per run.",
            "default": 3
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Optional: only episodes published after this date (<code>2026-11-01</code>, <code>2026-11-01T08:00:00Z</code>) or within an age such as <code>7 days</code>."
          },
          "onlyNew": {
            "title": "Only new episodes",
            "type": "boolean",
            "description": "For scheduled runs: remember the episodes each run has handled (in your named key-value store <code>transcriber-only-new-KEY</code>) and transcribe only episodes published since. The first run transcribes the newest 'Episodes per feed'. Episodes that failed are retried next time.",
            "default": false
          },
          "onlyNewKey": {
            "title": "Only-new memory name",
            "type": "string",
            "description": "Name of the memory for 'Only new episodes' (letters, digits, dashes), e.g. <code>my-podcasts</code>. Use a different name per schedule or task. Default: <code>default</code>."
          },
          "model": {
            "title": "Model",
            "enum": [
              "base",
              "small",
              "medium"
            ],
            "type": "string",
            "description": "Whisper model size. <code>base</code> is fast and good for clear speech; <code>small</code> is more accurate on accents, noise and non-English speech; <code>medium</code> is the most accurate and slowest (needs 4 GB memory). Each has its own per-minute price.",
            "default": "base"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Spoken language as an ISO 639-1 code (e.g. <code>en</code>, <code>es</code>, <code>de</code>, <code>ja</code>) or its English name. Leave empty to detect it automatically (reported with a confidence). Setting it avoids misdetection on short or noisy clips."
          },
          "task": {
            "title": "Task",
            "enum": [
              "transcribe",
              "translate"
            ],
            "type": "string",
            "description": "<code>transcribe</code> writes what is said in its own language; <code>translate</code> writes an English translation.",
            "default": "transcribe"
          },
          "wordTimestamps": {
            "title": "Word timestamps",
            "type": "boolean",
            "description": "Add each word with its start, end and probability to every segment. Slightly slower.",
            "default": false
          },
          "diarization": {
            "title": "Speaker labels (diarization)",
            "type": "boolean",
            "description": "Label who spoke each segment (SPEAKER_1, SPEAKER_2, ...); speaker turns also appear in the SRT, VTT and TXT files. The number of speakers is detected. Charged per started minute (minute-diarized) from 2026-11-10; free before.",
            "default": false
          },
          "numSpeakers": {
            "title": "Number of speakers",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Optional: how many people speak, if you know it. Turns speaker labels on. Leave empty to detect."
          },
          "summarize": {
            "title": "AI summary, chapters and show notes",
            "type": "boolean",
            "description": "Add <code>ai</code> to each transcribed item: <code>summary</code>, <code>keyPoints</code>, <code>chapters</code> (start seconds aligned to real segment timestamps), <code>chaptersText</code> (<code>00:00 Intro</code> lines for a video description), <code>showNotes</code> (markdown) and <code>tags</code>. Needs your LLM API key below. Free until 2026-12-11, then $0.01 per file; a failed summary is never charged and never fails the transcript.",
            "default": false
          },
          "llmProvider": {
            "title": "LLM provider",
            "enum": [
              "openai",
              "anthropic",
              "openai-compatible"
            ],
            "type": "string",
            "description": "Whose API your key is for. <code>openai-compatible</code> covers Groq, OpenRouter, Together, DeepSeek, Mistral, a local server and others: set the API base URL and model below. Empty: OpenAI (or Anthropic when the key starts with <code>sk-ant-</code>)."
          },
          "llmApiKey": {
            "title": "LLM API key",
            "type": "string",
            "description": "Your API key for the provider above. Stored encrypted by Apify as a secret input, sent only in the request to your provider, never logged or written to the dataset."
          },
          "llmModel": {
            "title": "LLM model",
            "type": "string",
            "description": "Model id as your provider names it. Empty: <code>gpt-6-luna</code> (OpenAI) or <code>claude-haiku-5-5</code> (Anthropic). Required for openai-compatible."
          },
          "llmBaseUrl": {
            "title": "LLM API base URL (openai-compatible)",
            "type": "string",
            "description": "For openai-compatible: the base URL before <code>/chat/completions</code>, e.g. <code>https://api.groq.com/openai/v1</code>, <code>https://openrouter.ai/api/v1</code>, <code>https://api.together.xyz/v1</code>."
          },
          "summaryLanguage": {
            "title": "Summary language",
            "type": "string",
            "description": "Language of the summary, chapters and notes, as a code or name (e.g. <code>en</code>, <code>German</code>). Empty: the transcript's language."
          },
          "summaryPrompt": {
            "title": "Summary instructions",
            "type": "string",
            "description": "Optional: your own instructions for what to focus on and how to write (up to 2,000 characters), e.g. \"Write for a B2B sales team; list every product mentioned.\" The output fields stay the same."
          },
          "vadFilter": {
            "title": "Skip silence (VAD)",
            "type": "boolean",
            "description": "Detect speech with Silero VAD and skip silence and music. Faster and avoids invented text in silent parts. Turn off only if quiet speech is being dropped.",
            "default": true
          },
          "initialPrompt": {
            "title": "Vocabulary hint",
            "type": "string",
            "description": "Optional text that guides spelling and style: names, product terms, acronyms that appear in the recording (up to 800 characters)."
          },
          "includeSegments": {
            "title": "Include segments",
            "type": "boolean",
            "description": "Add <code>segments</code> (start, end, text) to each result. Turn off for long files when you only need the text and subtitle files.",
            "default": true
          },
          "saveSubtitleFiles": {
            "title": "Save SRT, VTT and TXT files",
            "type": "boolean",
            "description": "Save subtitles (SRT, WebVTT) and the plain text to the run's key-value store and link them in <code>files</code>.",
            "default": true
          },
          "maxDurationMinutes": {
            "title": "Maximum duration per file (minutes)",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Longer files get a TOO_LONG error item and are not charged (1-300).",
            "default": 180
          },
          "fileTimeoutSecs": {
            "title": "Timeout per file (seconds)",
            "minimum": 60,
            "maximum": 14400,
            "type": "integer",
            "description": "A file that takes longer to transcribe gets a TIMEOUT error item and is not charged (60-14400).",
            "default": 3600
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}