{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Scraper – Apple Podcasts Search, Charts & RSS Episodes",
    "description": "Find podcasts by keyword or Apple Podcasts top charts, then enrich each show from its public RSS feed: owner name & email, website, socials, language, categories, episode count, last episode date, activity, plus episodes with audio URLs and transcripts. $1 per 1,000 podcasts.",
    "version": "0.1",
    "x-build-id": "Rhpy99fg8jqeSeG8c"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~podcast-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-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/gazidev~podcast-scraper/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-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/gazidev~podcast-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-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 (keywords)",
            "type": "array",
            "description": "Find podcasts in the Apple Podcasts directory by keyword (title, author, topic), e.g. `marketing`, `true crime`, `startup founders`. Up to 200 results per keyword.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max podcasts per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "1–200 (Apple's limit per search).",
            "default": 20
          },
          "chartGenres": {
            "title": "Top charts: categories",
            "type": "array",
            "description": "Also take the Apple Podcasts **top chart** of these categories (rank is added as `chartRank`). Use `all` for the overall chart.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "arts",
                "business",
                "comedy",
                "education",
                "fiction",
                "government",
                "health-fitness",
                "history",
                "kids-family",
                "leisure",
                "music",
                "news",
                "religion-spirituality",
                "science",
                "society-culture",
                "sports",
                "technology",
                "true-crime",
                "tv-film"
              ],
              "enumTitles": [
                "All podcasts",
                "Arts",
                "Business",
                "Comedy",
                "Education",
                "Fiction",
                "Government",
                "Health & Fitness",
                "History",
                "Kids & Family",
                "Leisure",
                "Music",
                "News",
                "Religion & Spirituality",
                "Science",
                "Society & Culture",
                "Sports",
                "Technology",
                "True Crime",
                "TV & Film"
              ]
            }
          },
          "chartCountries": {
            "title": "Top charts: countries",
            "type": "array",
            "description": "Two-letter country codes for the charts (default: the country below), e.g. `us`, `gb`, `de`, `br`.",
            "items": {
              "type": "string"
            }
          },
          "chartLimit": {
            "title": "Top charts: podcasts per chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "1–200.",
            "default": 100
          },
          "podcastUrls": {
            "title": "Apple Podcasts URLs or IDs",
            "type": "array",
            "description": "Specific shows: `https://podcasts.apple.com/us/podcast/the-daily/id1200361736` or just `1200361736`.",
            "items": {
              "type": "string"
            }
          },
          "feedUrls": {
            "title": "RSS feed URLs",
            "type": "array",
            "description": "Any public podcast RSS feed (Spotify-for-Podcasters/Anchor, Buzzsprout, Libsyn, Megaphone, Simplecast, Transistor, Podbean…). Works for shows that are not on Apple Podcasts.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Store country",
            "type": "string",
            "description": "Two-letter Apple storefront code for search and lookups (`us`, `gb`, `de`, `fr`, `br`, `in`, `tr`…).",
            "default": "us"
          },
          "fetchFeeds": {
            "title": "Read each podcast's RSS feed",
            "type": "boolean",
            "description": "Adds description, website, language, categories, **owner name & email** (as published in the feed for directories), social and funding links, hosts, episode count, first/last episode date, **days since last episode**, episodes in the last 30/90 days, publishing frequency, typical length and transcript availability. Same price.",
            "default": true
          },
          "includeEpisodes": {
            "title": "Include episodes",
            "type": "boolean",
            "description": "Output the newest episodes of each podcast as extra rows (`type: episode`): title, date, duration, audio URL, episode/season number, transcript & chapter links, description. Charged per episode.",
            "default": false
          },
          "maxEpisodesPerPodcast": {
            "title": "Max episodes per podcast",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Newest first (feed order).",
            "default": 10
          },
          "episodeDescriptionChars": {
            "title": "Episode description length",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Characters of plain-text show notes per episode (0 = no description).",
            "default": 500
          },
          "minEpisodes": {
            "title": "Only podcasts with at least N episodes",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no filter. Filtered podcasts are not charged.",
            "default": 0
          },
          "activeWithinDays": {
            "title": "Only podcasts active in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep shows whose newest episode is at most N days old (e.g. 30). 0 = no filter.",
            "default": 0
          },
          "languages": {
            "title": "Only these feed languages",
            "type": "array",
            "description": "Language codes from the feed, e.g. `en`, `de`, `es` (prefix match: `en` matches `en-us`).",
            "items": {
              "type": "string"
            }
          },
          "onlyWithEmail": {
            "title": "Only podcasts with a contact email",
            "type": "boolean",
            "description": "Keep podcasts whose feed lists an owner email or an email in the description.",
            "default": false
          },
          "includeExplicit": {
            "title": "Include explicit podcasts in search",
            "type": "boolean",
            "description": "Passed to Apple's search.",
            "default": true
          },
          "maxPodcasts": {
            "title": "Max podcasts (total)",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Feeds in parallel",
            "minimum": 1,
            "maximum": 32,
            "type": "integer",
            "description": "RSS feeds fetched at the same time.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}