{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Transcription, Podcast Transcript: RSS Episodes to Text",
    "description": "Podcast transcription for any show on Apple Podcasts or with an RSS feed: whole episodes as text, timestamps, SRT or VTT, with speaker labels, plus title, date and show notes. For content teams, researchers and AI pipelines. Whisper inside the run, ~100 languages. $0.18 an hour.",
    "version": "0.1",
    "x-build-id": "PmRBEpbcIxqVQLNDz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pikoulas~podcast-transcripts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pikoulas-podcast-transcripts",
        "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/pikoulas~podcast-transcripts/runs": {
      "post": {
        "operationId": "runs-sync-pikoulas-podcast-transcripts",
        "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/pikoulas~podcast-transcripts/run-sync": {
      "post": {
        "operationId": "run-sync-pikoulas-podcast-transcripts",
        "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": {
          "podcasts": {
            "title": "Podcasts and episodes",
            "type": "array",
            "description": "Apple Podcasts show or episode URLs (podcasts.apple.com/.../id1545953110, with ?i=... for an episode), RSS feed URLs, direct audio file URLs (.mp3, .m4a...), or a podcast's name to find on Apple Podcasts.",
            "items": {
              "type": "string"
            }
          },
          "datasetIds": {
            "title": "Podcasts from datasets",
            "type": "array",
            "description": "Datasets from your account, such as another podcast scraper's run: each item's Apple Podcasts, RSS feed or audio file link (url, feedUrl, audioUrl…) is taken as if given under Podcasts and episodes."
          },
          "searchTerms": {
            "title": "Search episodes",
            "type": "array",
            "description": "Words to search Apple Podcasts' episodes for, as its search does (titles and descriptions).",
            "items": {
              "type": "string"
            }
          },
          "onlyNewEpisodes": {
            "title": "Only new episodes",
            "type": "boolean",
            "description": "For a scheduled run: each podcast, feed or search gives only the episodes published since the last run with this on, and those a run couldn't finish, up to the max per podcast. The first run takes the latest as usual. Kept in your account's key-value store podcast-transcripts-memory; delete it to start over.",
            "default": false
          },
          "reuseTranscripts": {
            "title": "Never pay twice: reuse transcripts",
            "type": "boolean",
            "description": "Keeps each Whisper transcript in your account's key-value store podcast-transcripts-cache for 30 days, after which it is deleted. An episode asked for again with the same model, language, translation and speaker settings comes from there, free. Delete the store to empty it. Off: nothing is kept.",
            "default": false
          },
          "maxEpisodes": {
            "title": "Max episodes per podcast or search",
            "minimum": 1,
            "type": "integer",
            "description": "Episodes from each podcast or search term, newest first for a podcast. An episode URL is always one.",
            "default": 3
          },
          "publishedAfter": {
            "title": "Published after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Only episodes released on or after this date (YYYY-MM-DD)."
          },
          "titleContains": {
            "title": "Episode title contains",
            "type": "array",
            "description": "Only episodes whose title has one of these words or phrases, any case: \"interview\", \"Q&A\", a guest's name. Each podcast and search is read until it has its max episodes that do. Empty: every episode.",
            "items": {
              "type": "string"
            }
          },
          "maxMinutesPerEpisode": {
            "title": "Max minutes per episode",
            "minimum": 1,
            "type": "integer",
            "description": "Transcribes only each episode's first minutes, and charges only those. Empty: whole episodes."
          },
          "model": {
            "title": "Speech-to-text model",
            "enum": [
              "base",
              "small"
            ],
            "type": "string",
            "description": "Whisper base is fast and good on clear speech. Whisper small is more accurate on accents, crosstalk, names and languages other than English, takes about three times as long and costs $0.008 per started minute against base's $0.003 ($0.016 and $0.006 on Apify's free plan).",
            "default": "base"
          },
          "publisherTranscripts": {
            "title": "Use the podcast's own transcript",
            "type": "boolean",
            "description": "When the feed publishes a transcript of the episode (Podcasting 2.0's podcast:transcript, with times), gives it as the transcript instead of Whisper's, free: the publisher's own words, speakers' names included when it has them. Not used when it lacks what's asked: speaker names with Speaker labels, English with Translate to English. Off: always Whisper.",
            "default": true
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "The language spoken, as a code (en, es, pt, de, hi...), when all the episodes share one. Empty: detected for each episode.",
            "default": ""
          },
          "includeTimestamps": {
            "title": "Include timestamps",
            "type": "boolean",
            "description": "Adds the transcript as segments with their start and end in seconds, next to the plain text.",
            "default": false
          },
          "subtitles": {
            "title": "Subtitle files (SRT and VTT)",
            "type": "boolean",
            "description": "Also saves each transcript as .srt and .vtt subtitles in the run's key-value store, linked from its row as srtUrl and vttUrl. Free.",
            "default": false
          },
          "translateToEnglish": {
            "title": "Translate to English",
            "type": "boolean",
            "description": "The text in English, whatever the language spoken, translated by Whisper as it transcribes. Off: the language spoken, never translated. Same price.",
            "default": false
          },
          "speakerLabels": {
            "title": "Speaker labels",
            "type": "boolean",
            "description": "Tells who speaks when: each segment gets a speaker (SPEAKER_1, SPEAKER_2... in the order they first speak, the same all through the episode), the text a line per turn, and subtitles the speaker's name. Costs $0.01 per started minute ($0.02 on Apify's free plan) on top of the transcript's. Labels are anonymous and no voice is kept after the run.",
            "default": false
          },
          "speakers": {
            "title": "Number of speakers",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "With speaker labels, how many people speak, when you know and every episode has the same. Empty: found from the voices."
          },
          "keywords": {
            "title": "Keywords to find",
            "type": "array",
            "description": "Words or phrases to find in what's said: each transcript lists every line that says one, with its time and, for media files, a link to that moment. Whole words, any case. Free.",
            "items": {
              "type": "string"
            }
          },
          "chunkWords": {
            "title": "Chunks for AI (words each)",
            "minimum": 20,
            "maximum": 2000,
            "type": "integer",
            "description": "Also gives the transcript as chunks of about this many words, cut between sentences, each with its start and end: ready for embeddings and RAG. Empty: no chunks. Free."
          },
          "markdown": {
            "title": "Markdown files",
            "type": "boolean",
            "description": "Saves each transcript as Markdown, in paragraphs with their timestamps under the episode's title and details, linked from its row as markdownUrl, and all of the run's in one file, transcripts.md, to give an AI or a notes app at once. Free.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for most runs. Used for Apple and the feeds, never for the audio files.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}