{
  "openapi": "3.0.1",
  "info": {
    "title": "Speech to Text: Audio, Video and Podcast Transcriber",
    "description": "Speech to text with your own Groq API key: uploads, links (mp3, m4a, wav, ogg, flac, mp4, mov, webm) and podcast episodes become text, timestamps, SRT, VTT or Markdown. USD 1.60 per 1,000 audio minutes, plus USD 0.05 per started 100 MB of video or WAV/FLAC. Not yet run against the live speech API.",
    "version": "0.1",
    "x-build-id": "vJao0qCuLgN0MtKNE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bardach_technologies~speech-to-text-audio-video-podcast/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bardach_technologies-speech-to-text-audio-video-podcast",
        "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/bardach_technologies~speech-to-text-audio-video-podcast/runs": {
      "post": {
        "operationId": "runs-sync-bardach_technologies-speech-to-text-audio-video-podcast",
        "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/bardach_technologies~speech-to-text-audio-video-podcast/run-sync": {
      "post": {
        "operationId": "run-sync-bardach_technologies-speech-to-text-audio-video-podcast",
        "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": {
          "groqApiKey": {
            "title": "Your Groq API key",
            "type": "string",
            "description": "Needed for real transcripts. Your own Groq API key, created in your Groq account. It is used only to call Groq for this run, stored encrypted by Apify, and never written to the log, the dataset, status messages or this run's key-value records. Groq bills this key for the speech model; this Actor charges USD 0.0016 per transcribed audio minute and holds no speech key of its own. Left empty, the run reads no file, makes no request, makes no charge by this Actor and writes one free sample row from built-in demo data (sample: true). A refused or malformed key ends the run before any file is read, with no charge by this Actor."
          },
          "podcastFeedUrls": {
            "title": "Podcast RSS feed URLs",
            "maxItems": 20,
            "type": "array",
            "description": "Public podcast RSS or Atom feed URLs, one per line, up to 20. The episodes with an audio or video enclosure are read; which ones you choose below (newest first). The feed's robots.txt is respected. Podcast app pages (Apple Podcasts, Spotify) are not read: give the feed URL. Transcripts belong to the podcast's publisher. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "episodesPerFeed": {
            "title": "Episodes per feed (newest first)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many episodes to transcribe from each feed, newest first, after the date and title filters. From 1 to 500; default 3. A run holds at most 500 files in all.",
            "default": 3
          },
          "episodesFrom": {
            "title": "Episodes published from (optional)",
            "type": "string",
            "description": "Only episodes published on or after this date (YYYY-MM-DD, UTC). Episodes without a date are left out when a date is set. Default: empty (no lower limit).",
            "default": ""
          },
          "episodesTo": {
            "title": "Episodes published until (optional)",
            "type": "string",
            "description": "Only episodes published on or before this date (YYYY-MM-DD, UTC). Default: empty (no upper limit).",
            "default": ""
          },
          "episodeTitleContains": {
            "title": "Episode title contains (optional)",
            "type": "string",
            "description": "Only episodes whose title contains this text (not case-sensitive), at most 200 characters. Default: empty (all titles).",
            "default": ""
          },
          "mediaUrls": {
            "title": "Direct media links",
            "maxItems": 500,
            "type": "array",
            "description": "Direct links to audio or video files (mp3, m4a, wav, ogg, flac, mp4, mov, webm), one per line, up to 500, each at most 2,000 characters; each file at most 2 GB and the length limit below. Links to video or social platforms (YouTube, TikTok, Instagram, Facebook, X, Vimeo and the like) are refused with a free row: this Actor does not download from them. Only http and https; private, local and cloud-metadata addresses are refused, also after redirects. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fileKeys": {
            "title": "Uploaded files (keys in a key-value store)",
            "maxItems": 200,
            "type": "array",
            "description": "Keys of audio or video files you uploaded to a key-value store, one per line, up to 200 (letters, digits and !-_.'() only). They are read from the store you pick below, or from this run's own store. Each upload at most 150 MB; for bigger files give a direct link. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keyValueStoreId": {
            "title": "Key-value store with your files (optional)",
            "type": "string",
            "description": "The key-value store that holds the files listed under 'Uploaded files'. Leave empty to use this run's own store. The Actor only reads it. Default: empty."
          },
          "language": {
            "title": "Language hint (optional)",
            "type": "string",
            "description": "A two-letter ISO 639-1 code such as en, de or es when you know the language: it is sent to the speech model for every file. Empty (default): the model detects the language per part of about 10 minutes, and the row gives the language heard longest.",
            "default": ""
          },
          "outputFormats": {
            "title": "Output formats",
            "uniqueItems": true,
            "type": "array",
            "description": "What each ok row holds: text, segments (start, duration, end in seconds and text), srt, vtt (subtitle files as text), markdown (title, show, date and one-minute paragraphs with timestamps). At least one; default text and segments. The price is the same for any choice.",
            "items": {
              "type": "string",
              "enum": [
                "text",
                "segments",
                "srt",
                "vtt",
                "markdown"
              ],
              "enumTitles": [
                "Plain text",
                "Timestamped segments",
                "SRT",
                "WebVTT",
                "Markdown for LLMs"
              ]
            },
            "default": [
              "text",
              "segments"
            ]
          },
          "maxMinutesPerItem": {
            "title": "Maximum length per file (minutes)",
            "minimum": 1,
            "maximum": 360,
            "type": "integer",
            "description": "Files longer than this get a free tooLong row and nothing of them is sent to the speech model. From 1 to 360 minutes (6 hours); default 240.",
            "default": 240
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}