{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Scraper Goat",
    "description": "Powerful Skool.com scraper that extracts comprehensive group data including member counts, courses, and community insights. Search by keywords or direct URLs with advanced proxy support and configurable concurrency.",
    "version": "0.0",
    "x-build-id": "UR1maewDno6EhVjcG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goat255~skool-scraper-goat/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goat255-skool-scraper-goat",
        "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/goat255~skool-scraper-goat/runs": {
      "post": {
        "operationId": "runs-sync-goat255-skool-scraper-goat",
        "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/goat255~skool-scraper-goat/run-sync": {
      "post": {
        "operationId": "run-sync-goat255-skool-scraper-goat",
        "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",
        "required": [
          "scrapeMode"
        ],
        "properties": {
          "scrapeMode": {
            "title": "Scrape Mode",
            "enum": [
              "SCRAPE_GROUPS",
              "SCRAPE_MEMBERS"
            ],
            "type": "string",
            "description": "SCRAPE_GROUPS: Extract groups with full metadata including pricing, MRR, engagement metrics. SCRAPE_MEMBERS: Get member profiles from specific groups.",
            "default": "SCRAPE_GROUPS"
          },
          "keywords": {
            "title": "Search Keywords",
            "uniqueItems": true,
            "type": "array",
            "description": "Keywords to discover Skool groups. Groups are automatically deduplicated across keywords.",
            "items": {
              "type": "string"
            }
          },
          "groupUrls": {
            "title": "Group URLs",
            "uniqueItems": true,
            "type": "array",
            "description": "Direct Skool group URLs (e.g. https://www.skool.com/groupname/about). Works in both modes.",
            "items": {
              "type": "string"
            }
          },
          "maxGroupsPerKeyword": {
            "title": "Max Groups Per Keyword",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum groups to collect per keyword. Skool returns up to ~33 pages (990 groups) per keyword. Set higher to get all available.",
            "default": 100
          },
          "membersPerGroup": {
            "title": "Members Per Group",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum members to collect per group in SCRAPE_MEMBERS mode.",
            "default": 100
          },
          "paidOnly": {
            "title": "Paid Communities Only",
            "type": "boolean",
            "description": "Only return communities that charge a monthly/yearly fee. Filters out all free groups.",
            "default": false
          },
          "minMonthlyPrice": {
            "title": "Min Monthly Price ($)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum monthly price in USD. Example: 29 = only groups charging $29+/month."
          },
          "maxMonthlyPrice": {
            "title": "Max Monthly Price ($)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum monthly price in USD. Example: 99 = exclude groups charging over $99/month."
          },
          "minMRR": {
            "title": "Min Estimated MRR ($)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum estimated Monthly Recurring Revenue (monthly price x total members). Example: 10000 = only groups with $10k+ MRR."
          },
          "maxMRR": {
            "title": "Max Estimated MRR ($)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum estimated MRR. Useful to filter out mega-communities."
          },
          "minMembers": {
            "title": "Min Members",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum total members. Example: 100 = only groups with 100+ members."
          },
          "maxMembers": {
            "title": "Max Members",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum total members. Useful to target mid-size communities."
          },
          "minPosts": {
            "title": "Min Posts",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum total posts. Filters out inactive/new communities."
          },
          "minCourses": {
            "title": "Min Courses",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum number of courses. Ensures the group offers educational content."
          },
          "hasFreeTrial": {
            "title": "Has Free Trial",
            "type": "boolean",
            "description": "Only return groups that offer a free trial period.",
            "default": false
          },
          "hasAffiliateProgram": {
            "title": "Has Affiliate Program",
            "type": "boolean",
            "description": "Only return groups with an active affiliate program (affiliate % > 0).",
            "default": false
          },
          "privacyType": {
            "title": "Privacy Type",
            "enum": [
              "public",
              "private"
            ],
            "type": "string",
            "description": "Filter by group privacy setting. Leave empty for all."
          },
          "batchSize": {
            "title": "Batch Size",
            "minimum": 30,
            "maximum": 100,
            "type": "integer",
            "description": "Number of groups processed per batch before saving to dataset. Recommended 50-75."
          },
          "maxConcurrency": {
            "title": "Max Concurrent Requests",
            "minimum": 5,
            "maximum": 30,
            "type": "integer",
            "description": "Parallel requests. Default 10 is reliable. Values above 15 may trigger rate limits on Skool. Max 30.",
            "default": 10
          },
          "maxRetries": {
            "title": "Max Retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Retry attempts per failed request. Each retry uses a new proxy session with exponential backoff.",
            "default": 4
          },
          "cookies": {
            "title": "Skool Cookies",
            "type": "array",
            "description": "Cookies from Skool.com for authenticated access (required for SCRAPE_MEMBERS). Export using Cookie-Editor extension.",
            "default": []
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings. Residential proxies are required — Skool blocks datacenter IPs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}