{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast RSS Feed Scraper + Podcast Index (Podcasting 2.0)",
    "description": "Turn any podcast RSS feed, website or show name into clean show and episode records: audio URL, duration, dates, seasons, chapters and transcript links, funding, value-for-value, persons. Optional free Podcast Index key adds search, trending and recent feeds. Pay per row, hard spend caps.",
    "version": "1.1",
    "x-build-id": "geEMXbkhheT3S34vJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydrocore~podcast-rss-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydrocore-podcast-rss-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/hydrocore~podcast-rss-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hydrocore-podcast-rss-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/hydrocore~podcast-rss-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hydrocore-podcast-rss-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": {
          "feeds": {
            "title": "Podcasts",
            "type": "array",
            "description": "One podcast per line. Paste an RSS feed URL (https://feeds.npr.org/510289/podcast.xml), the show's website (the feed it advertises is used), a show name (Hardcore History), a Podcast Index feed ID (920666) or a podcast GUID. Names are looked up in Podcast Index when you add a key, otherwise in the free fyyd.de / gpodder.net directories; the run log shows which show was picked. Podcast Index IDs and GUIDs need the free key (see below). The same feed listed twice is collected once.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search podcasts by keyword",
            "type": "array",
            "description": "Find podcasts by topic (woodworking, true crime, bitcoin ...). With a Podcast Index key the 4+ million shows of Podcast Index are searched; without a key the free fyyd.de directory is used (smaller, max 50 results per search). Each podcast found is one show record.",
            "items": {
              "type": "string"
            }
          },
          "maxSearchResults": {
            "title": "Max podcasts per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many podcasts to keep from each search (and each Podcast Index list below).",
            "default": 10
          },
          "indexTrending": {
            "title": "Podcast Index: trending podcasts",
            "type": "boolean",
            "description": "Save the podcasts trending on Podcast Index right now, ranked (trendRank). Needs the free Podcast Index key and secret below; without them this is skipped with a note and nothing is charged.",
            "default": false
          },
          "indexRecentFeeds": {
            "title": "Podcast Index: recently updated podcasts",
            "type": "boolean",
            "description": "Save podcasts that published new episodes most recently, according to Podcast Index. Needs the free key.",
            "default": false
          },
          "indexListSize": {
            "title": "Podcasts per Podcast Index list",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many podcasts to keep from the trending / recently updated lists.",
            "default": 25
          },
          "indexLanguage": {
            "title": "List language",
            "type": "string",
            "description": "Optional language filter for the Podcast Index lists, for example en or de or en,es."
          },
          "indexCategories": {
            "title": "List categories",
            "type": "string",
            "description": "Optional category filter for the Podcast Index lists, names or IDs separated by commas, for example News,Technology."
          },
          "indexSinceHours": {
            "title": "Lists: only podcasts active in the last",
            "minimum": 0,
            "maximum": 8760,
            "type": "integer",
            "description": "Optional: only list podcasts updated within this many hours (0 = no limit).",
            "default": 0
          },
          "foundShowsDetail": {
            "title": "Detail for podcasts found by search or lists",
            "enum": [
              "feed",
              "index"
            ],
            "type": "string",
            "description": "\"Read each RSS feed\" opens the feed of every podcast found and saves the full show record (Podcasting 2.0 tags, publishing stats). \"Directory data only\" saves what Podcast Index / fyyd.de already returned, without opening the feeds. The price per show record is the same.",
            "default": "feed"
          },
          "episodesForFoundShows": {
            "title": "Also save episodes of podcasts found by search or lists",
            "type": "boolean",
            "description": "Off: podcasts found by search or lists give one show record each. On: their episodes are saved too (up to \"Max episodes per feed\").",
            "default": false
          },
          "saveShowRecords": {
            "title": "Save show records",
            "type": "boolean",
            "description": "One show record per podcast. Turn off if you only want episodes of the podcasts you listed.",
            "default": true
          },
          "maxEpisodesPerFeed": {
            "title": "Max episodes per feed",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Newest episodes first. 0 = show records only. Large feeds can have 3,000+ episodes; you pay per episode saved, so set what you need.",
            "default": 20
          },
          "since": {
            "title": "Only episodes published on or after",
            "type": "string",
            "description": "Optional date (YYYY-MM-DD). Older episodes are skipped and not charged."
          },
          "lastDays": {
            "title": "Only episodes from the last",
            "minimum": 0,
            "maximum": 36500,
            "type": "integer",
            "description": "Optional: only episodes published within this many days (0 = no limit). Handy for daily or weekly monitoring.",
            "default": 0
          },
          "includeEpisodeHtml": {
            "title": "Include episode HTML",
            "type": "boolean",
            "description": "Also save the original show notes as HTML (descriptionHtml). The plain-text description is always included.",
            "default": false
          },
          "indexFallback": {
            "title": "Use Podcast Index copy when a feed is down",
            "type": "boolean",
            "description": "With a key: if a feed is blocked, offline or broken, use the episodes Podcast Index stored for it (dataSource = podcast-index). Without a key this does nothing.",
            "default": true
          },
          "podcastIndexApiKey": {
            "title": "Podcast Index API key (optional, free)",
            "type": "string",
            "description": "Free from https://api.podcastindex.org/signup (you get an API key and an API secret by e-mail). Paste the API key here. Stored encrypted; never written to the output or log."
          },
          "podcastIndexApiSecret": {
            "title": "Podcast Index API secret (optional, free)",
            "type": "string",
            "description": "The API secret from the same e-mail. Both key and secret are needed."
          },
          "maxRowsTotal": {
            "title": "Max rows in total",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop after this many rows (shows + episodes). 0 = no limit.",
            "default": 0
          },
          "maxSpendUsd": {
            "title": "Max spend for this run (USD)",
            "type": "string",
            "description": "Optional hard cap in US dollars, for example 0.50. The run stops before going over it. The \"Maximum cost per run\" you set in Apify is respected too; the lower one wins."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}