{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Scraper: Search, Charts, RSS, Host Contacts",
    "description": "Find podcasts by keyword, Apple Podcasts link or top chart, then read each public RSS feed: owner name and email as published, website, category, language, episode count, last episode date, publishing frequency and optional episodes. No login.",
    "version": "1.0",
    "x-build-id": "DhIWhFLnLOiv7dU8P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhtech~podcast-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhtech-podcast-scraper",
        "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/zhtech~podcast-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zhtech-podcast-scraper",
        "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/zhtech~podcast-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zhtech-podcast-scraper",
        "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": {
          "searchTerms": {
            "title": "Search podcasts by keyword",
            "type": "array",
            "description": "One keyword per line, searched in Apple Podcasts (the iTunes Search API), for example marketing, true crime, gta 6, real estate investing. Each show found is then read from its public RSS feed.",
            "items": {
              "type": "string"
            }
          },
          "maxShowsPerSearch": {
            "title": "Max shows per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many shows to save for each keyword. Apple returns at most 200 per keyword. With filters on, the actor checks up to 200 candidates and keeps the first ones that pass, until this number is reached.",
            "default": 20
          },
          "podcasts": {
            "title": "Podcasts by link, Apple ID or RSS feed",
            "type": "array",
            "description": "Apple Podcasts links (https://podcasts.apple.com/us/podcast/the-daily/id1200361736), Apple IDs (1200361736) or RSS feed URLs of any show, including shows that are not on Apple Podcasts. Spotify and YouTube links are not supported (they do not publish the RSS feed).",
            "items": {
              "type": "string"
            }
          },
          "chartGenres": {
            "title": "Apple Podcasts top charts",
            "type": "array",
            "description": "Read the Apple Podcasts top chart of these categories, one per line: All (the overall chart), or a category or subcategory name such as Business, Marketing, Comedy, True Crime, Technology, Sports, Video Games, Health & Fitness, News. A category ID (for example 1509) also works.",
            "items": {
              "type": "string"
            }
          },
          "chartLimit": {
            "title": "Shows per chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many shows to save from each chart, in chart order. Apple publishes up to 200 per chart.",
            "default": 50
          },
          "country": {
            "title": "Country (Apple store)",
            "type": "string",
            "description": "Two letter Apple store country used for search, lookups and charts, for example us, gb, ca, au, de, fr, es, br, in.",
            "default": "us"
          },
          "activeWithinDays": {
            "title": "Active in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only shows whose latest episode is at most this many days old. 0 turns the filter off. 30 or 60 is a good value for guest booking and sponsorship lists.",
            "default": 0
          },
          "minEpisodes": {
            "title": "Minimum episodes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only shows with at least this many episodes in their feed. 0 turns the filter off.",
            "default": 0
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Keep only shows whose feed language matches one of these codes, for example en, es, de, pt-br. en also matches en-us and en-gb. Shows without a language in their feed are dropped when this is set.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep only shows listed in one of these categories (from the feed and from Apple), for example Business, Marketing, Technology, Video Games. Exact category names, not case sensitive.",
            "items": {
              "type": "string"
            }
          },
          "requireEmail": {
            "title": "Only shows with a contact email",
            "type": "boolean",
            "description": "Keep only shows whose feed publishes an owner email (the itunes:owner tag that directories use for contact).",
            "default": false
          },
          "explicitFilter": {
            "title": "Explicit content",
            "enum": [
              "all",
              "clean",
              "explicit"
            ],
            "type": "string",
            "description": "All shows, only clean shows, or only shows marked explicit.",
            "default": "all"
          },
          "includeEpisodes": {
            "title": "Also save episodes",
            "type": "boolean",
            "description": "Adds episode rows (title, date, duration, description, audio URL, episode and season numbers, guid, link, transcript URL) for every saved show. Each episode is charged as an episode.",
            "default": false
          },
          "maxEpisodesPerShow": {
            "title": "Episodes per show",
            "minimum": 1,
            "type": "integer",
            "description": "The newest N episodes of each show. Use a large number (for example 100000) for the whole archive.",
            "default": 10
          },
          "episodesSince": {
            "title": "Episodes published since",
            "type": "string",
            "description": "Only save episodes published on or after this date. A date (2026-01-31) or a relative value (30 days, 6 months, 1 year). Does not affect show rows."
          },
          "episodeDescriptionMaxChars": {
            "title": "Max episode description length",
            "minimum": 0,
            "type": "integer",
            "description": "Episode descriptions (show notes) are converted to plain text and cut at this many characters. 0 keeps the full text.",
            "default": 2000
          },
          "onlyNewShows": {
            "title": "Only shows not delivered before",
            "type": "boolean",
            "description": "Remembers every show this task delivered (under the state key) and skips it on later runs, so a scheduled run only returns and charges new shows. Useful for growing a prospect list day by day.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Name of the memory used by the option above. Use a different key for each separate list.",
            "default": "default"
          },
          "maxShows": {
            "title": "Max shows (whole run)",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on show rows for the whole run, a safety limit on cost. 0 means no cap besides your max charge per run.",
            "default": 0
          },
          "maxFeedSizeMb": {
            "title": "Max feed size (MB)",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Feeds are read as a stream and cut at this size. Only a few very old daily shows have bigger feeds; for those the episode count is marked as incomplete.",
            "default": 25
          },
          "maxConcurrency": {
            "title": "Feeds read in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many RSS feeds are downloaded at the same time.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Usually not needed: Apple's public APIs and RSS feeds are open. Turn on Apify Proxy only if Apple rate limits your runs (HTTP 429 or 403 errors in the log).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}