{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Communities Scraper | MRR, Owners & Emails (No Login)",
    "description": "Scrape Skool.com communities, discovery search, owner profiles, social links, estimated MRR & website emails with zero login. Filter by paid/free, members, price & MRR. Export to JSON, CSV, Excel, or API.",
    "version": "1.0",
    "x-build-id": "3hfv9plXGHSCAa9GK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fascinated_outlet~skool-pro-communities-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fascinated_outlet-skool-pro-communities-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/fascinated_outlet~skool-pro-communities-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fascinated_outlet-skool-pro-communities-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/fascinated_outlet~skool-pro-communities-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fascinated_outlet-skool-pro-communities-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": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Keywords to search on Skool Discovery (e.g., 'marketing', 'AI automation', 'real estate', 'fitness'). Leave empty to browse categories.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Skool Discovery Categories (Optional)",
            "type": "array",
            "description": "Optional categories to scan: all, money, tech, health, self-improvement, relationships, hobbies, music, sports, spirituality.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Direct Skool URLs or Slugs (Optional)",
            "type": "array",
            "description": "Optional Skool Discovery URLs (https://www.skool.com/discovery?q=ai) or specific community URLs (https://www.skool.com/skoolers/about).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "language": {
            "title": "Discovery Language",
            "enum": [
              "",
              "english",
              "spanish",
              "french",
              "german",
              "portuguese"
            ],
            "type": "string",
            "description": "Optional language filter for Skool Discovery pages.",
            "default": "english"
          },
          "maxItems": {
            "title": "Maximum Communities to Collect (0 = Unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap on unique communities saved to the dataset. Start with 25-50 for a quick test.",
            "default": 50
          },
          "maxPagesPerQuery": {
            "title": "Max Discovery Pages per Keyword/Category",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum pagination depth per keyword or category (stops automatically if no new communities appear).",
            "default": 10
          },
          "paidOnly": {
            "title": "Filter: Paid Communities Only",
            "type": "boolean",
            "description": "Keep only communities with a monthly or annual subscription price > 0.",
            "default": false
          },
          "freeOnly": {
            "title": "Filter: Free Communities Only",
            "type": "boolean",
            "description": "Keep only free-to-join communities.",
            "default": false
          },
          "minMembers": {
            "title": "Filter: Minimum Members",
            "minimum": 0,
            "type": "integer",
            "description": "Skip communities with fewer than this many members (0 = no minimum).",
            "default": 0
          },
          "minPrice": {
            "title": "Filter: Minimum Monthly Price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip communities charging less than this monthly price in USD/currency units (0 = no minimum).",
            "default": 0
          },
          "minMRR": {
            "title": "Filter: Minimum Estimated MRR ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip communities whose estimated monthly recurring revenue (members × monthly price) is below this amount.",
            "default": 0
          },
          "includeOwnerDetails": {
            "title": "Scrape Full About Page & Owner Profile",
            "type": "boolean",
            "description": "Visit each community's /about page to extract owner name, bio, social links, support email, courses, modules, reviews, and full landing page copy.",
            "default": true
          },
          "enrichWebsiteEmails": {
            "title": "Live Owner-Website Email Enrichment",
            "type": "boolean",
            "description": "Crawl the owner's linked external website (homepage + contact page) to extract published business emails when Skool supportEmail is missing.",
            "default": false
          },
          "onlyWithEmails": {
            "title": "Only Keep Communities With an Email",
            "type": "boolean",
            "description": "Skip communities that have neither a Skool supportEmail nor a discovered owner-website email.",
            "default": false
          },
          "excludeIds": {
            "title": "Exclude Community IDs or Slugs",
            "type": "array",
            "description": "List of community IDs or slugs from previous runs to skip so you never pay twice.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "monitoringMode": {
            "title": "Monitoring Mode (Only Return NEW Communities)",
            "type": "boolean",
            "description": "Remember previously scraped communities in your Apify account Key-Value Store and deliver only newly discovered communities on repeat runs.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitoring Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used when Monitoring Mode is enabled (use different names for separate clients/niches).",
            "default": "skool-pro-monitor"
          },
          "maxConcurrency": {
            "title": "Max Parallel Requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of parallel HTTP requests (keep 3-8 for fast, reliable runs).",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Standard Apify Proxy works out of the box (no expensive residential proxy required for most runs).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}