{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Host Email, Apple Podcasts & RSS Scraper [$2/1K]",
    "description": "[$2.00/1K] Fast, pure-HTTP Podcast Host & Sponsor Email Leads Scraper. Discovers 1,000+ shows via Apple Podcasts + 768KB streaming RSS XML + host website enrichment for verified host emails, guest pitch URLs & socials.",
    "version": "1.0",
    "x-build-id": "p6GBaDPgV2xvp5Y8Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/appropriate_ideal_ksi~podcast-host-email-leads-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-appropriate_ideal_ksi-podcast-host-email-leads-pro",
        "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/appropriate_ideal_ksi~podcast-host-email-leads-pro/runs": {
      "post": {
        "operationId": "runs-sync-appropriate_ideal_ksi-podcast-host-email-leads-pro",
        "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/appropriate_ideal_ksi~podcast-host-email-leads-pro/run-sync": {
      "post": {
        "operationId": "run-sync-appropriate_ideal_ksi-podcast-host-email-leads-pro",
        "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": {
          "searchQueries": {
            "title": "Podcast Niche / Topic Search Queries",
            "type": "array",
            "description": "Podcast topics, niches, industries, or buyer personas (e.g. 'b2b sales', 'saas founder', 'ecommerce marketing', 'cybersecurity', 'ai startups').",
            "items": {
              "type": "string"
            }
          },
          "bulkQueriesText": {
            "title": "Bulk Queries or URLs Paste (One Per Line — Optional)",
            "type": "string",
            "description": "Paste 50–500 podcast search keywords, Apple Podcasts URLs, or RSS feed URLs (one per line) directly from Clay, Google Sheets, or CSV."
          },
          "topics": {
            "title": "Topics Cross-Product Helper (Optional)",
            "type": "array",
            "description": "Combine with 'Audiences' to automatically generate every 'topic audience' search query (e.g. ['saas', 'ai', 'revops', 'fintech']).",
            "items": {
              "type": "string"
            }
          },
          "audiences": {
            "title": "Audiences Cross-Product Helper (Optional)",
            "type": "array",
            "description": "Target listener/host personas combined with 'Topics' (e.g. ['founders', 'cmos', 'sales leaders']).",
            "items": {
              "type": "string"
            }
          },
          "rssFeedUrls": {
            "title": "Direct RSS Feed URLs (Optional)",
            "type": "array",
            "description": "Enrich specific podcast RSS XML feeds directly (e.g. ['https://feeds.captivate.fm/the-b2b-sales-podcast/']).",
            "items": {
              "type": "string"
            }
          },
          "applePodcastUrls": {
            "title": "Apple Podcasts URLs or Collection IDs (Optional)",
            "type": "array",
            "description": "Apple Podcasts show URLs ('https://podcasts.apple.com/us/podcast/.../id1492309252') or numeric collectionIds resolved via Apple Lookup API.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Apple Podcasts Country Store (ISO-2)",
            "type": "string",
            "description": "2-letter ISO country code for Apple Podcasts storefront discovery (e.g. 'us', 'gb', 'ca', 'au', 'de', 'fr', 'in', 'ae').",
            "default": "us"
          },
          "maxLeadsPerQuery": {
            "title": "Max Qualified Podcast Leads per Query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of qualified podcast leads per search query. When > 180 (or when strict filters narrow a 200-show page), automatic modifier expansion ('<query> podcast', 'show', 'founder', 'interview', 'business') unlocks 500–1,000+ unique shows per niche.",
            "default": 25
          },
          "maxTotalLeads": {
            "title": "Global Max Podcast Leads Cap (Entire Run — Optional)",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard ceiling on total podcast leads emitted across all queries and URLs for strict budget predictability. Leave empty for no global cap."
          },
          "enrichHostWebsite": {
            "title": "Enrich Host Website (Emails, Socials & Guest/Sponsor Links)",
            "type": "boolean",
            "description": "Crawls the podcast's website homepage + internal /contact, /sponsor, /advertise, or /be-a-guest pages via pure HTTP/2 to decode Cloudflare-protected emails, extract social profiles, and locate guest/sponsorship application pages at zero extra add-on cost.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Pre-Charge Filter: Only Podcasts With Verified Email",
            "type": "boolean",
            "description": "Only output (and charge for) podcasts where at least 1 valid host, producer, or sponsorship email was found.",
            "default": false
          },
          "excludeRelayEmails": {
            "title": "Pre-Charge Filter: Exclude Platform Relay Emails (@anchor.fm, @substack.com)",
            "type": "boolean",
            "description": "Strip masked platform relay addresses (e.g. podcasts60+...@anchor.fm, *@substack.com) so only direct custom-domain or personal host emails qualify.",
            "default": false
          },
          "activeWithinDays": {
            "title": "Pre-Charge Filter: Active Within Last N Days (Optional — e.g. 90)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only include active podcasts that published a new episode within the last N days (e.g. 90 or 30). Automatically skips inactive 'podfaded' shows."
          },
          "minEpisodes": {
            "title": "Pre-Charge Filter: Minimum Episode Count (Optional — e.g. 10)",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Only include established podcasts with at least this many published episodes (e.g. 10 or 25)."
          },
          "maxEpisodes": {
            "title": "Pre-Charge Filter: Maximum Episode Count (Optional — Mid-Tier Targeting)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Optional upper bound on episode count (e.g. 300) to target accessible indie and mid-market B2B hosts."
          },
          "excludeExplicit": {
            "title": "Pre-Charge Filter: Brand-Safe Only (Skip Explicit Shows)",
            "type": "boolean",
            "description": "Exclude podcasts flagged as explicit on Apple Podcasts or in <itunes:explicit>.",
            "default": false
          },
          "onlyNewPodcasts": {
            "title": "Deduplicate Across Runs: Only New Podcasts",
            "type": "boolean",
            "description": "Remembers seen podcast_ids and RSS feed URLs in a named Key-Value Store across runs and skips previously exported shows free of charge.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Seen Podcasts Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used when 'Only New Podcasts' is enabled.",
            "default": "podcasts-seen-ids"
          },
          "concurrency": {
            "title": "RSS & Website Enrichment Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of podcast RSS feeds and host websites enriched in parallel via HTTP/2.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Optional proxy settings. Direct HTTP/2 Chrome-150 TLS works out-of-the-box with zero residential proxy cost.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}