{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Communities Scraper - Directory, Prices, Members",
    "description": "[💰$0.02/1K] Scrape the whole Skool community directory with prices and audience. Returns name, slug, URL, monthly price, total and online members, admins, posts, course and module counts, reviews, owner profile and social links. Thirty-four requests sweep all 1,000 communities. No login.",
    "version": "0.9",
    "x-build-id": "8zp6GKjavBvcbuLBb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ai-lead-gen-tools~skool-communities/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ai-lead-gen-tools-skool-communities",
        "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/ai-lead-gen-tools~skool-communities/runs": {
      "post": {
        "operationId": "runs-sync-ai-lead-gen-tools-skool-communities",
        "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/ai-lead-gen-tools~skool-communities/run-sync": {
      "post": {
        "operationId": "run-sync-ai-lead-gen-tools-skool-communities",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "catalog",
              "details",
              "both"
            ],
            "type": "string",
            "description": "`catalog` sweeps the whole Skool directory in 34 requests and returns up to 1,000 communities with price and member counts. `details` enriches only the communities listed in `communityUrls` with activity metrics, owner profile, structure and social links. `both` sweeps the catalog and then enriches every community it found.",
            "default": "both"
          },
          "communityUrls": {
            "title": "Communities",
            "type": "array",
            "description": "Skool communities to enrich when `mode` is `details`: slugs like `claudecodeclub` or full links like `https://www.skool.com/claudecodeclub`. In `both` mode these are enriched instead of the catalog result.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "searchQuery": {
            "title": "Search text",
            "type": "string",
            "description": "Keep only communities whose slug, display name or short description contain this text. Case insensitive. Applied locally after collection."
          },
          "minMembers": {
            "title": "Min members",
            "minimum": 0,
            "type": "integer",
            "description": "Keep communities with at least this many members. Empty means no lower bound."
          },
          "maxMembers": {
            "title": "Max members",
            "minimum": 0,
            "type": "integer",
            "description": "Keep communities with at most this many members. Empty means no upper bound."
          },
          "minPrice": {
            "title": "Min price, USD",
            "minimum": 0,
            "type": "number",
            "description": "Keep communities whose monthly or one time price is at least this many US dollars. Free communities count as 0. Empty means no lower bound."
          },
          "maxPrice": {
            "title": "Max price, USD",
            "minimum": 0,
            "type": "number",
            "description": "Keep communities whose price is at most this many US dollars. Set 0 to keep only free communities. Empty means no upper bound."
          },
          "pricing": {
            "title": "Pricing",
            "enum": [
              "all",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "`all` keeps every community, `free` keeps communities without a price, `paid` keeps communities that charge.",
            "default": "all"
          },
          "intervals": {
            "title": "Billing interval",
            "type": "array",
            "description": "Keep communities billed on one of these intervals. `month` is a recurring monthly charge, `year` a recurring yearly charge, `one_time` a single payment. Empty means any interval, including free communities.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "membershipModels": {
            "title": "Membership models",
            "type": "array",
            "description": "Keep communities with one of these Skool membership model codes. Skool reports 2 and 4 in the catalog; empty means any model.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Sweep only the directory slices of these categories instead of the whole catalog, by slug (`ai_automation`, `ai_video`, `side_hustles`) or by name (`AI Automation`). Empty means the plain catalog sweep. Each category costs up to `maxPagesPerCategory` requests, and the sweep also keeps only rows from these categories. Needs `mode` `catalog` or `both`.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Sweep only the directory slices of these languages instead of the whole catalog, by language name as Skool spells it (`english`, `german`, `spanish`) or by code (`EN`, `DE`, `ES`). Empty means the plain catalog sweep. Each language costs up to `maxPagesPerLanguage` requests, so a list of several languages needs a proxy.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxPagesPerLanguage": {
            "title": "Pages per language",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Page cap for each language slice of `languages`. Skool returns 30 communities per page; one language fills 34 pages and then an empty page. Ignored when `languages` is empty.",
            "default": 34
          },
          "maxPagesPerCategory": {
            "title": "Pages per category",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Page cap for each category slice of `categories`. The real depth of a category is not measured and `hasMore` is always `false`, so the cap is the only stop besides an empty page. Ignored when `categories` is empty.",
            "default": 2
          },
          "minReviews": {
            "title": "Min reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep communities with at least this many reviews. Empty means no lower bound."
          },
          "minPosts": {
            "title": "Min posts",
            "minimum": 0,
            "type": "integer",
            "description": "Keep communities with at least this many posts. The post count comes from the community details endpoint, so this needs `mode` `details` or `both`; in `catalog` mode the filter drops every row."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "members",
              "price",
              "reviews",
              "createdAt",
              "language"
            ],
            "type": "string",
            "description": "Order of the dataset. `members` is largest first, `price` most expensive first, `reviews` most reviewed first, `createdAt` newest first, `language` groups rows by their first language slice name.",
            "default": "members"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on rows in the dataset. Set 0 for no cap.",
            "default": 0
          },
          "includeRaw": {
            "title": "Include raw metadata",
            "type": "boolean",
            "description": "Add the untouched `metadata` object of the community details endpoint to every row, so fields this actor does not map stay available. Makes rows several times larger.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel detail requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many communities are enriched at the same time when `mode` is `details` or `both`. One request per community.",
            "default": 4
          },
          "sameDomainDelaySecs": {
            "title": "Delay between requests",
            "minimum": 0,
            "maximum": 60,
            "type": "number",
            "description": "Pause in seconds before each request to skool.com. Raising it lowers the chance of a temporary block on a busy schedule.",
            "default": 0.3
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "Timeout of one HTTP request in seconds.",
            "default": 30
          },
          "runBudgetSecs": {
            "title": "Run budget",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Soft time budget for the whole run, in seconds. The run stops before the platform timeout and marks the summary as budget exhausted. A sorted sweep of the whole directory needs the full default: `sortBy` is applied after the sweep, so a budget that runs out mid-catalog returns the top of a partial set."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for the requests to skool.com. Optional: a catalog sweep fits inside the free limit of one address, but enriching all 1,000 communities needs a proxy because Skool blocks an address after about 500 requests. When a page comes back blocked, the run warns and asks you to retry with an Apify residential proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}