{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Transcriber for RSS & Apple Podcasts",
    "description": "Transcribe podcast episodes from an RSS feed, Apple Podcasts link or audio URL: full text, timestamped segments, SRT subtitles, language and episode metadata. Whisper runs inside the Actor, no API key. Failed or silent episodes are free.",
    "version": "1.0",
    "x-build-id": "1HQcCLTKfOH0KHJVJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/northloop-labs~podcast-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-northloop-labs-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/northloop-labs~podcast-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-northloop-labs-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/northloop-labs~podcast-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-northloop-labs-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": {
          "urls": {
            "title": "Podcast feeds, Apple Podcasts links or audio URLs",
            "type": "array",
            "description": "One per line. A podcast RSS feed (https://feeds.example.com/show.xml), an Apple Podcasts show link (…/podcast/name/id123456789), an Apple Podcasts episode link (…/id123456789?i=1000…) or a direct audio file URL (.mp3, .m4a, .wav, .ogg…).",
            "default": [
              "https://librivox.org/rss/389"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxEpisodes": {
            "title": "Latest episodes per show",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many of the newest matching episodes to transcribe from each feed or Apple show link. Episode links and audio URLs always count as one.",
            "default": 3
          },
          "publishedAfter": {
            "title": "Published on or after",
            "type": "string",
            "description": "Only episodes published on or after this date (YYYY-MM-DD). Episodes without a date in the feed are kept."
          },
          "publishedBefore": {
            "title": "Published on or before",
            "type": "string",
            "description": "Only episodes published on or before this date (YYYY-MM-DD)."
          },
          "titleContains": {
            "title": "Title contains",
            "type": "string",
            "description": "Only episodes whose title contains this text (not case-sensitive)."
          },
          "maxTotalMinutes": {
            "title": "Max audio minutes per run (cost cap)",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on audio minutes transcribed and charged in this run. Episodes that don't fit in what's left are skipped for free (or cut short, see below). 0 = no cap besides your maximum cost per run.",
            "default": 180
          },
          "maxMinutesPerEpisode": {
            "title": "Max minutes per episode",
            "minimum": 0,
            "type": "integer",
            "description": "Transcribe only the first N minutes of each episode (handy for intros, previews or cheap tests). 0 = whole episode.",
            "default": 0
          },
          "transcribePartialEpisodes": {
            "title": "Cut the last episode short to fit the cap",
            "type": "boolean",
            "description": "Off (default): an episode longer than the minutes left in the run is skipped and free. On: transcribe as much of it as fits, marked truncated.",
            "default": false
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "ro",
              "pl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "hu",
              "el",
              "tr",
              "ru",
              "uk",
              "ar",
              "hi",
              "ja",
              "ko",
              "zh",
              "id",
              "vi"
            ],
            "type": "string",
            "description": "Spoken language. Auto-detect works well; set it when you know the language to avoid wrong detection on short clips.",
            "default": "auto"
          },
          "includeSegments": {
            "title": "Timestamped segments",
            "type": "boolean",
            "description": "Add the list of segments with start and end times in seconds.",
            "default": true
          },
          "includeSrt": {
            "title": "SRT subtitles",
            "type": "boolean",
            "description": "Add a ready-to-use .srt subtitle text.",
            "default": true
          },
          "includeVtt": {
            "title": "WebVTT subtitles",
            "type": "boolean",
            "description": "Add a WebVTT (.vtt) subtitle text too.",
            "default": false
          },
          "skipAlreadyTranscribed": {
            "title": "Skip episodes transcribed in earlier runs",
            "type": "boolean",
            "description": "For scheduled runs: remember transcribed episodes in a named key-value store in your account (podcast-transcriber-history) and skip them next time, free of charge.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}