{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Member Scraper: Public Community Leads",
    "description": "Find public Skool communities, owners, and member leads with profiles, contact links, lead scores, source URLs, and coverage labels. Export to CSV, JSON, or Excel for market research and authorized outreach.",
    "version": "0.1",
    "x-build-id": "UwTfz8v30ReAynu0R"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~skool-public-members-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-skool-public-members-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/getascraper~skool-public-members-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-skool-public-members-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/getascraper~skool-public-members-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-skool-public-members-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": {
          "startUrls": {
            "title": "Skool community or discovery URLs",
            "type": "array",
            "description": "Public Skool community, members, about, or discovery URLs. Community URLs return community, owner, and member leads. Discovery URLs use their q search term to find communities first.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Discovery search queries",
            "type": "array",
            "description": "Keywords to search on Skool Discovery, such as AI automation, fitness coaching, or real estate. Each query can find multiple public communities.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "leadTypes": {
            "title": "Lead types",
            "type": "array",
            "description": "Choose community opportunities, public community owners, member profiles, or any combination. Member coverage depends on whether valid cookies authorize the account for that community.",
            "items": {
              "type": "string",
              "enum": [
                "community",
                "owner",
                "member"
              ],
              "enumTitles": [
                "Communities",
                "Community owners",
                "Members"
              ]
            },
            "default": [
              "community",
              "owner",
              "member"
            ]
          },
          "skoolCookie": {
            "title": "Skool auth_token value (optional)",
            "type": "string",
            "description": "Paste only your Skool auth_token cookie value. The full auth_token=... pair or complete Cookie header also works. Apify encrypts this field and the Actor never logs or returns it."
          },
          "maxCommunities": {
            "title": "Maximum communities",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of unique communities to process across direct URLs and all discovery queries.",
            "default": 25
          },
          "maxDiscoveryPages": {
            "title": "Discovery pages per query",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of 30-community Skool Discovery pages to request for each search query.",
            "default": 5
          },
          "maxMembersPerCommunity": {
            "title": "Members per community",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum member profiles to scan from each community. Without valid group-member authentication, Skool currently exposes only a public sample of about 30 profiles.",
            "default": 1000
          },
          "maxItems": {
            "title": "Maximum lead records",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Global cap on community, owner, and member rows saved to the dataset. Increase it when exporting large authenticated groups.",
            "default": 1000
          },
          "minimumMemberCount": {
            "title": "Minimum community size",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Keep only communities with at least this many reported members. Set to 0 to accept every size.",
            "default": 0
          },
          "maximumMemberCount": {
            "title": "Maximum community size",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Keep communities at or below this reported member count. Set to 0 for no upper limit.",
            "default": 0
          },
          "minimumLeadScore": {
            "title": "Minimum lead score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep leads at or above this explainable 0 to 100 score. Scores reward genuine source fields such as bio, location, website, social profiles, community size, pricing, and activity.",
            "default": 0
          },
          "requireContactDetails": {
            "title": "Require contact details",
            "type": "boolean",
            "description": "Keep only people with an email, website, or public social profile. Community rows qualify when a public owner profile is available.",
            "default": false
          },
          "memberStartDate": {
            "title": "Member joined since",
            "type": "string",
            "description": "Keep member leads approved or joined on or after this date. Leave empty to include every available join date."
          },
          "includeAdmins": {
            "title": "Include admins and moderators",
            "type": "boolean",
            "description": "Include authenticated member rows whose role is not member, such as owners, admins, and moderators.",
            "default": true
          },
          "deduplicatePeople": {
            "title": "Deduplicate people across communities",
            "type": "boolean",
            "description": "When enabled, save a person only once even if they appear in multiple communities. Leave disabled to preserve every community membership as a separate lead context.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional network routing for transient AWS WAF or rate-limit failures. Direct requests are used by default.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}