{
  "openapi": "3.0.1",
  "info": {
    "title": "Audio & Podcast Transcriber: MP3, video, RSS to text and SRT",
    "description": "Give it audio or video files, direct media links or a podcast RSS feed, get the transcript, timed segments, language, word count and SRT and VTT subtitles. Arabic and about 80 other languages. $1.50 per 1,000 audio minutes plus model usage.",
    "version": "0.1",
    "x-build-id": "6O1bPm9GgoRdejPLz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/opstoolkit~audio-podcast-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-opstoolkit-audio-podcast-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/opstoolkit~audio-podcast-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-opstoolkit-audio-podcast-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/opstoolkit~audio-podcast-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-opstoolkit-audio-podcast-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": {
          "audioUrls": {
            "title": "Audio or video links",
            "type": "array",
            "description": "Direct links to media files, one per entry. Example: [\"https://example.com/episode-12.mp3\"]. Formats: MP3, M4A, WAV, FLAC, OGG, OPUS, WEBM, MP4 and other media files, or a web page that plays one audio file. YouTube, TikTok, Instagram, Spotify, SoundCloud and similar platforms are refused with a free row, because their terms do not allow downloading. Links, uploads and feeds together: up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "files": {
            "title": "Upload files",
            "type": "array",
            "description": "Audio or video files uploaded from your computer. Use this, links or feeds: at least one is needed. Uploads are stored in your Apify key-value store and read with this run's token."
          },
          "rssFeeds": {
            "title": "Podcast RSS feeds",
            "type": "array",
            "description": "Podcast feed addresses, one per entry. Example: [\"https://feeds.megaphone.fm/nationalaeronauticsandspaceadministration1776343825\"]. An Apple Podcasts show link also works: it is turned into the show's public RSS feed. Newest episodes come first. Pick how many with 'Episodes per feed', and narrow them with the two filters below.",
            "items": {
              "type": "string"
            }
          },
          "maxEpisodesPerFeed": {
            "title": "Episodes per feed",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many episodes to transcribe from each feed, from 1 to 500. Default 1. Newest first, after the date and title filters. Every transcribed minute is charged, so keep it low until you have tried a feed.",
            "default": 1
          },
          "episodesSince": {
            "title": "Only episodes published since",
            "type": "string",
            "description": "A date such as 2026-11-01, or a span such as '7 days' or '2 weeks'. Leave empty for no date filter. When it is set, episodes with no publish date are skipped."
          },
          "episodeTitleContains": {
            "title": "Only episodes whose title contains",
            "type": "string",
            "description": "Text the episode title must contain, for example 'interview'. Case does not matter. Leave empty to take every episode."
          },
          "skipAlreadyTranscribed": {
            "title": "Skip episodes and files transcribed in earlier runs",
            "type": "boolean",
            "description": "For scheduled runs. Remembers what was transcribed, in a named key-value store in your account, and returns a free row for repeats, so a daily schedule only pays for new episodes. Default false.",
            "default": false
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "en",
              "ar",
              "fr",
              "es",
              "de",
              "it",
              "pt",
              "nl",
              "tr",
              "ru",
              "uk",
              "pl",
              "fa",
              "he",
              "hi",
              "ur",
              "bn",
              "id",
              "ms",
              "vi",
              "th",
              "zh",
              "ja",
              "ko",
              "sw",
              "el",
              "ro",
              "sv"
            ],
            "type": "string",
            "description": "Spoken language of the audio, as a two-letter code from the list, for example en or ar. Default auto (detect). Set it only when auto-detect picks the wrong language. It is a hint, not a translation: the transcript stays in the language spoken.",
            "default": "auto"
          },
          "vocabulary": {
            "title": "Names and terms",
            "type": "string",
            "description": "Optional. People, brands and jargon that appear in the audio, separated by commas, so they are spelled right. Example: Apify, Crawlee, Beirut, LAU. Default: empty."
          },
          "speakerLabels": {
            "title": "Speaker labels (experimental)",
            "type": "boolean",
            "description": "Adds Speaker 1, Speaker 2 to segments. Default false. The audio is sent in 2-minute pieces, so the same voice can get a different number in another piece. Good for seeing where the speaker changes, not for exact diarization.",
            "default": false
          },
          "model": {
            "title": "AI model",
            "enum": [
              "google/gemini-3.5-flash-lite",
              "google/gemini-3.1-flash-lite",
              "google/gemini-3.6-flash"
            ],
            "type": "string",
            "description": "Model that listens to the audio, by id: google/gemini-3.5-flash-lite (default, cheapest), google/gemini-3.1-flash-lite, or google/gemini-3.6-flash (more accurate on hard audio, about twice the model cost). The model is reached through Apify's own OpenRouter proxy and its usage is billed to your Apify account at OpenRouter's price.",
            "default": "google/gemini-3.5-flash-lite"
          },
          "saveSubtitleFiles": {
            "title": "Save TXT, SRT and VTT files",
            "type": "boolean",
            "description": "Saves the transcript and subtitles to the run's key-value store. Links are in the `files` column. Default true.",
            "default": true
          },
          "maxDurationMinutes": {
            "title": "Longest file to transcribe (minutes)",
            "minimum": 1,
            "maximum": 360,
            "type": "integer",
            "description": "Longer files get a free row with status too_long. From 1 to 360 (6 hours). Default 240.",
            "default": 240
          },
          "onlyFirstMinutes": {
            "title": "Only the first N minutes of each file",
            "minimum": 0,
            "maximum": 360,
            "type": "integer",
            "description": "For a cheap preview of long episodes. Example: 10. 0 (default) means the whole file. Up to 360.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Audio pieces in parallel",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many 2-minute pieces are sent to the model at the same time, from 1 to 16. Default 8. Higher is faster on long files.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}