{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast RSS Transcript Extractor",
    "description": "Extract podcast metadata, host contact emails, Apple Podcasts reviews JSON, episodes & Podcasting 2.0 VTT/SRT/JSON transcripts from Apple IDs, search queries or RSS feeds. Zero browser, fair Pay-Per-Event split for RAG & PR leads.",
    "version": "0.0",
    "x-build-id": "tQX3yRutArSkw9TJB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pecopeko~podcast-rss-transcript-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pecopeko-podcast-rss-transcript-extractor",
        "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/pecopeko~podcast-rss-transcript-extractor/runs": {
      "post": {
        "operationId": "runs-sync-pecopeko-podcast-rss-transcript-extractor",
        "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/pecopeko~podcast-rss-transcript-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-pecopeko-podcast-rss-transcript-extractor",
        "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": {
          "applePodcastIds": {
            "title": "Apple Podcasts IDs or URLs",
            "type": "array",
            "description": "List of Apple Podcasts numeric IDs (e.g. '1584274529') or Apple Podcasts URLs to resolve via the iTunes Lookup API.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "iTunes Podcast Search Queries",
            "type": "array",
            "description": "Search queries resolved to RSS feeds via the public iTunes Search API.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "rssUrls": {
            "title": "Direct Podcast RSS Feed URLs",
            "type": "array",
            "description": "Direct HTTP(S) podcast RSS XML URLs to parse (SSRF-protected with safe redirect validation).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxEpisodesPerFeed": {
            "title": "Max Episodes Per Feed",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of newest matching episodes to extract per podcast feed.",
            "default": 10
          },
          "searchLimitPerQuery": {
            "title": "Feeds Per Search Query",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Maximum number of podcast feeds to resolve per search query.",
            "default": 3
          },
          "country": {
            "title": "iTunes Store Country Code",
            "type": "string",
            "description": "Two-letter country code passed to the iTunes Search/Lookup and Apple Reviews APIs (e.g. US, JP, GB).",
            "default": "US"
          },
          "fetchTranscripts": {
            "title": "Fetch & Normalize Transcripts",
            "type": "boolean",
            "description": "Fetch Podcasting 2.0 <podcast:transcript> files (SRT, VTT, JSON, TXT) and normalize into segments + full_transcript.",
            "default": true
          },
          "fetchChapters": {
            "title": "Fetch Podcasting 2.0 Chapters",
            "type": "boolean",
            "description": "Fetch and normalize JSON chapters referenced by <podcast:chapters> tags.",
            "default": true
          },
          "includeTranscriptSegments": {
            "title": "Include Timestamped Segments",
            "type": "boolean",
            "description": "Include per-cue timestamped segments alongside full_transcript in dataset records.",
            "default": true
          },
          "includeAppleReviews": {
            "title": "Include Apple Podcasts Customer Reviews",
            "type": "boolean",
            "description": "Fetch official public Apple Podcasts customer reviews JSON when an Apple Podcasts iTunes ID is available.",
            "default": false
          },
          "onlyWithTranscripts": {
            "title": "Only Episodes With Transcripts",
            "type": "boolean",
            "description": "Filter output to episodes that include a Podcasting 2.0 transcript (and successfully extracted transcript segments when fetchTranscripts is enabled).",
            "default": false
          },
          "publishedAfter": {
            "title": "Published After (ISO Date)",
            "type": "string",
            "description": "Optional ISO-8601 date or timestamp (e.g. '2026-01-01') to include only episodes published on or after that date."
          },
          "keywordFilter": {
            "title": "Keyword Filter (Optional)",
            "type": "string",
            "description": "Optional case-insensitive keyword filter matched against episode title, show notes, podcast title, and extracted transcript text."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}