{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Host Email & Lead Scraper",
    "description": "Scrape podcast host business emails + social links from Apple Podcasts & RSS feeds by keyword, Apple ID, or feed URL. No login. Pay only per email found. CSV/JSON.",
    "version": "1.0",
    "x-build-id": "oN3cX4ws7RCMdk3qy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/chilly_damask~podcast-host-email-lead-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-chilly_damask-podcast-host-email-lead-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/chilly_damask~podcast-host-email-lead-scraper/runs": {
      "post": {
        "operationId": "runs-sync-chilly_damask-podcast-host-email-lead-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/chilly_damask~podcast-host-email-lead-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-chilly_damask-podcast-host-email-lead-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 (discover shows by niche)",
            "type": "array",
            "description": "Optional. Each keyword runs an Apple Podcasts (public iTunes Search API) query and queues the discovered shows for email extraction. Billed per search query.",
            "items": {
              "type": "string"
            }
          },
          "applePodcastIds": {
            "title": "Apple Podcasts IDs",
            "type": "array",
            "description": "Apple Podcasts numeric show IDs. Find it in the Apple Podcasts URL: podcasts.apple.com/us/podcast/<name>/id<THIS_NUMBER>. Each ID is resolved to its RSS feed via the public iTunes Lookup API. Leave empty to use keywords / feed URLs only.",
            "items": {
              "type": "string"
            }
          },
          "rssFeedUrls": {
            "title": "RSS feed URLs",
            "type": "array",
            "description": "Direct podcast RSS feed URLs (e.g. https://feeds.megaphone.fm/… or a show's own feed). Skips iTunes resolution and parses the feed straight away. Leave empty to use keywords / Apple IDs only.",
            "items": {
              "type": "string"
            }
          },
          "maxShowsPerKeyword": {
            "title": "Max shows per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many shows to collect from each keyword search (the iTunes Search API returns up to 200 per query).",
            "default": 50
          },
          "country": {
            "title": "Country / storefront",
            "type": "string",
            "description": "ISO storefront code used for the iTunes Search & Lookup APIs (e.g. \"us\", \"gb\", \"de\"). Affects which shows a keyword search surfaces.",
            "default": "us"
          },
          "scanLinkedWebsites": {
            "title": "Scan linked websites (one hop)",
            "type": "boolean",
            "description": "When the feed exposes no host email, follow the show's linked website / Linktree / Beacons link one hop and regex-extract mailto: and plain-text emails.",
            "default": true
          },
          "includeSocialLinks": {
            "title": "Include social links",
            "type": "boolean",
            "description": "Return the show's linked social profiles (Instagram, TikTok, X, LinkedIn, Facebook, YouTube, Discord, Telegram, website) parsed from the feed.",
            "default": true
          },
          "activeWithinDays": {
            "title": "Active-within-days threshold",
            "minimum": 1,
            "type": "integer",
            "description": "A show is flagged isActive=true when its most recent episode is newer than this many days. Purely informational — it does not filter output.",
            "default": 90
          },
          "dedupeEmails": {
            "title": "Dedupe emails",
            "type": "boolean",
            "description": "One record per show with emails deduped across all sources.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}