{
  "openapi": "3.0.1",
  "info": {
    "title": "Audio Transcription & Podcast to Text: Speech to Text, Whisper",
    "description": "Audio transcription and speech to text for audio and video files, Google Drive and Dropbox links, podcast RSS feeds and Apple Podcasts shows. Whisper large-v3-turbo, timestamps, SRT and VTT subtitles. Pay per audio minute; failed and silent files are free.",
    "version": "0.1",
    "x-build-id": "X4DfGNzphozF7Fjpg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrape-lads~audio-transcription/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrape-lads-audio-transcription",
        "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/scrape-lads~audio-transcription/runs": {
      "post": {
        "operationId": "runs-sync-scrape-lads-audio-transcription",
        "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/scrape-lads~audio-transcription/run-sync": {
      "post": {
        "operationId": "run-sync-scrape-lads-audio-transcription",
        "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 links",
            "type": "array",
            "description": "Links to audio or video files, one per line: direct links (.mp3, .m4a, .wav, .flac, .ogg, .mp4, .mov ...), Google Drive, Dropbox and OneDrive share links set to \"anyone with the link\", or YouTube, TikTok, Instagram, X and Facebook video links. Each link becomes one row.",
            "items": {
              "type": "string"
            }
          },
          "podcastUrls": {
            "title": "Podcast feeds",
            "type": "array",
            "description": "A podcast's RSS feed address (https://feeds.example.com/show.xml) or its Apple Podcasts link. A show link gives its newest episodes; an Apple episode link (with ?i=) gives that one episode. Spotify-only shows have no public audio file: use the show's RSS feed or Apple link.",
            "items": {
              "type": "string"
            }
          },
          "maxEpisodesPerFeed": {
            "title": "Newest episodes per feed",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many of the newest episodes to transcribe from each podcast feed. Set it low first: a one-hour episode is 60 audio minutes.",
            "default": 3
          },
          "postedWithinDays": {
            "title": "Only episodes from the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Podcast feeds only: skip episodes published longer ago than this many days. Leave empty for no date filter."
          },
          "contentPack": {
            "title": "Content pack (summary, chapters, show notes, posts)",
            "type": "boolean",
            "description": "Add an AI content pack to each transcript: a summary, timestamped chapters, show notes, key takeaways, an X post, a LinkedIn post and a newsletter draft, in the recording's language. $0.1 per transcript, charged only when the pack passes its checks.",
            "default": false
          },
          "language": {
            "title": "Language (optional)",
            "type": "string",
            "description": "Two-letter language code of the speech (en, es, de, fr ...). Leave empty to detect it. Setting it helps with short files and strong accents."
          },
          "includeSegments": {
            "title": "Include timestamped segments",
            "type": "boolean",
            "description": "Add the transcript split into segments with start and end times in seconds. Turn off to get the plain text only.",
            "default": true
          },
          "outputFormats": {
            "title": "Subtitle files (SRT / VTT)",
            "type": "array",
            "description": "Also add the transcript as ready-to-use subtitle text in the srt and/or vtt field of each row, for video editors and players. No extra charge.",
            "items": {
              "type": "string",
              "enum": [
                "srt",
                "vtt"
              ],
              "enumTitles": [
                "SRT (SubRip)",
                "WebVTT"
              ]
            },
            "default": []
          },
          "speechToText": {
            "title": "Speech-to-text",
            "enum": [
              "fallback",
              "replaceAutoCaptions",
              "always",
              "never"
            ],
            "type": "string",
            "description": "Only matters for YouTube links, which often have captions. fallback: use the captions when there are any, speech-to-text otherwise. always: transcribe every file from its audio. Files and podcasts are always transcribed from audio.",
            "default": "fallback"
          },
          "onlyNew": {
            "title": "Only new files and episodes",
            "type": "boolean",
            "description": "Skip files and episodes this actor already transcribed for you in earlier runs, for free. Schedule the run daily with your podcast feeds to get each new episode once.",
            "default": false
          },
          "watchlistName": {
            "title": "Watchlist name (optional)",
            "type": "string",
            "description": "Keeps a separate list of delivered videos under this name, so two scheduled tasks do not skip each other's videos. Empty = one list for your account."
          },
          "resetWatchlist": {
            "title": "Start the list over",
            "type": "boolean",
            "description": "Forget the delivered videos of this watchlist before the run, so every video counts as new again.",
            "default": false
          },
          "maxAiMinutes": {
            "title": "Max audio minutes per run",
            "minimum": 0,
            "type": "integer",
            "description": "Stop transcribing once this many audio minutes are used in the run. Leave empty for no cap."
          },
          "maxSpeechToTextSec": {
            "title": "Longest file (seconds)",
            "minimum": 10,
            "maximum": 14400,
            "type": "integer",
            "description": "Files longer than this are skipped for free. Default 14,400 s (4 hours).",
            "default": 14400
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many videos are processed at the same time.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}