{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Transcript API – Audio Transcription, Speech to Text",
    "description": "Podcast transcripts from a show name, an Apple Podcasts or Spotify link, an RSS feed or any audio/video file link: full text, timestamps, SRT and episode details as JSON. Whisper runs inside the Actor, no API key. $0.0025 per audio minute; failed links and silent files are free.",
    "version": "0.1",
    "x-build-id": "RFVcYqH37oXMxs0Be"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_daemon~podcast-transcript-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_daemon-podcast-transcript-api",
        "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/data_daemon~podcast-transcript-api/runs": {
      "post": {
        "operationId": "runs-sync-data_daemon-podcast-transcript-api",
        "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/data_daemon~podcast-transcript-api/run-sync": {
      "post": {
        "operationId": "run-sync-data_daemon-podcast-transcript-api",
        "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",
            "type": "array",
            "description": "One per line: a podcast name (for example Lex Fridman Podcast), an Apple Podcasts link (show or episode), a Spotify link (show or episode) or an RSS feed URL. A show gives its newest episodes; a link to one episode gives that episode. Spotify links work for shows that also have a public feed (most do; Spotify-only shows do not).",
            "items": {
              "type": "string"
            }
          },
          "audioUrls": {
            "title": "Audio or video file links",
            "type": "array",
            "description": "Direct links to files: MP3, M4A, WAV, FLAC, OGG, MP4, MOV, WEBM, MKV and similar, up to 1.5 GB each. The link must open without a login. Page links (YouTube, a website) are not files and are returned with a note, not charged.",
            "items": {
              "type": "string"
            }
          },
          "episodesPerPodcast": {
            "title": "Episodes per podcast",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many of each show's newest episodes to transcribe (after the date and title filters). Default 1. One run reads at most 500 episodes and files in all.",
            "default": 1
          },
          "maxMinutesPerEpisode": {
            "title": "Max minutes per episode",
            "minimum": 0,
            "maximum": 360,
            "type": "integer",
            "description": "Transcribe only the first N minutes of each episode or file. 0 = the whole episode (up to 6 hours). You pay for the minutes transcribed.",
            "default": 0
          },
          "model": {
            "title": "Accuracy",
            "enum": [
              "fast",
              "accurate"
            ],
            "type": "string",
            "description": "Fast: Whisper tiny, $0.0025 per audio minute, good for clear speech, search and summaries. Accurate: Whisper base, $0.005 per audio minute, fewer mistakes on names, accents and noisy audio; takes about twice as long.",
            "default": "fast"
          },
          "language": {
            "title": "Language",
            "maxLength": 5,
            "type": "string",
            "description": "auto detects the spoken language from the start of the audio. Or give a language code (en, es, de, fr, pt, hi, ja, ...; en-US is read as en) when you know it: this is safer for audio that starts with music.",
            "default": "auto"
          },
          "usePublisherTranscript": {
            "title": "Use the publisher's own transcript when the feed has one",
            "type": "boolean",
            "description": "Some shows publish a transcript with each episode (Podcasting 2.0). It is usually better than any automatic one and costs a flat $0.005 per episode instead of the per-minute price. Turn off to always transcribe the audio.",
            "default": true
          },
          "publishedAfter": {
            "title": "Published on or after",
            "type": "string",
            "description": "Only episodes published on or after this date: YYYY-MM-DD, or a number of days such as 7 days."
          },
          "publishedBefore": {
            "title": "Published on or before",
            "type": "string",
            "description": "Only episodes published on or before this date (YYYY-MM-DD). With Published on or after it selects a range, for example one month of a show's back catalogue."
          },
          "titleContains": {
            "title": "Episode title contains",
            "maxLength": 200,
            "type": "string",
            "description": "Only episodes whose title contains these words, for example a guest's name."
          },
          "includeSegments": {
            "title": "Timestamps (segments)",
            "type": "boolean",
            "description": "Add the list of segments with start and end seconds to each row. Turn off for a smaller row with only the text.",
            "default": true
          },
          "includeSrt": {
            "title": "SRT subtitles",
            "type": "boolean",
            "description": "Add the transcript as an SRT subtitle text to each row.",
            "default": false
          },
          "onlyNewSinceLastRun": {
            "title": "Only episodes not delivered before",
            "type": "boolean",
            "description": "Remember the episodes delivered and skip them on the next run with the same podcasts: schedule the Actor daily and each new episode is transcribed once. Episodes delivered before are not charged.",
            "default": false
          },
          "stateName": {
            "title": "Feed name",
            "maxLength": 60,
            "type": "string",
            "description": "Optional name for the memory of delivered episodes. Use different names for schedules that should not share it. Without a name the list of podcasts and files identifies it."
          },
          "country": {
            "title": "Country for podcast name search",
            "maxLength": 2,
            "type": "string",
            "description": "Two-letter country of Apple's podcast directory used to look up a podcast by name (US, GB, DE, IN, BR, ...). Default US. Links and feeds do not need it.",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}