{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Scraper — Podcaster Emails, Ratings & Leads",
    "description": "Find podcasts by keyword or Apple Podcasts category (top charts) in any country, or look up any show: owner emails, ratings, episodes per month, last episode, website and Instagram, X, YouTube and LinkedIn links. Filter before you pay. Podcast guest and sponsor leads.",
    "version": "0.1",
    "x-build-id": "Kh8dTB4tiDySct3iC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cleandata~podcast-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cleandata-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/cleandata~podcast-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cleandata-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/cleandata~podcast-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cleandata-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": {
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Find podcasts matching these words with Apple Podcasts search, e.g. <code>marketing</code>, <code>true crime</code>, <code>startup founders</code>. Up to 200 shows per keyword and country.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories (top charts)",
            "type": "array",
            "description": "Get Apple's top 200 podcasts in these categories, e.g. <code>Business</code>, <code>Marketing</code>, <code>Entrepreneurship</code>, <code>True Crime</code>, <code>Health &amp; Fitness</code>, <code>Technology</code>. Subcategories work too. The chart position is in <code>chartRank</code>.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Apple Podcasts stores to search, as 2-letter codes: <code>US</code>, <code>GB</code>, <code>CA</code>, <code>AU</code>, <code>DE</code>, <code>FR</code>, <code>ES</code>, <code>BR</code>… Each country is searched separately, which also finds more shows. Ratings come from the store the show was found in.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "podcasts": {
            "title": "Podcasts to look up",
            "type": "array",
            "description": "Apple Podcasts links or ids (e.g. <code>https://podcasts.apple.com/us/podcast/the-daily/id1200361736</code>) or RSS feed URLs.",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Only shows in these languages (from the show's feed), as 2-letter codes: <code>EN</code>, <code>ES</code>, <code>PT</code>, <code>DE</code>, <code>FR</code>…",
            "items": {
              "type": "string"
            }
          },
          "minEpisodes": {
            "title": "Min episodes",
            "minimum": 0,
            "type": "integer",
            "description": "Skip shows with fewer episodes (0 = no minimum).",
            "default": 0
          },
          "activeWithinDays": {
            "title": "Active within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only shows that published an episode in the last N days (0 = any). Use 30 to skip abandoned podcasts.",
            "default": 0
          },
          "minRatings": {
            "title": "Min Apple ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Skip shows with fewer ratings on Apple Podcasts (0 = no minimum). The number of ratings is the best public sign of a show's audience size (they are ratings, not listener numbers).",
            "default": 0
          },
          "onlyWithEmail": {
            "title": "Only podcasts with an email",
            "type": "boolean",
            "description": "Skip shows that don't publish a contact email (forwarding addresses from Acast or Spotify don't count).",
            "default": false
          },
          "emailTypes": {
            "title": "Email types",
            "type": "array",
            "description": "Keep only shows whose emails are of these types (leave empty for any): <b>company</b> = on their own or their network's domain, like ads@show.com; <b>free provider</b> = Gmail, Outlook, Yahoo or similar; <b>both</b> = one of each. Shows without an email are skipped when this is set.",
            "items": {
              "type": "string",
              "enum": [
                "company",
                "free provider",
                "both"
              ],
              "enumTitles": [
                "Company domain",
                "Free provider (Gmail, Outlook…)",
                "Both"
              ]
            }
          },
          "includeRatings": {
            "title": "Include Apple ratings",
            "type": "boolean",
            "description": "Add the star rating and number of ratings from each show's Apple Podcasts page. Turn off for a faster run.",
            "default": true
          },
          "maxResults": {
            "title": "Max podcasts",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many podcasts (0 = no limit). You only pay for podcasts you get.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Used for Apple Podcasts. The default (Apify datacenter proxy) works well; feeds are read directly from each podcast host.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}