{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Scraper",
    "description": "Find Skool communities by keyword or category and get members, posts, online count, price, owner, links and courses. Plus each public community's posts, comments and members.",
    "version": "0.1",
    "x-build-id": "CV2LbPDDK8offnRWk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automly~skool-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automly-skool-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/automly~skool-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automly-skool-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/automly~skool-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automly-skool-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": {
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Words to search Skool's community directory for, e.g. fitness or real estate. Each keyword gives up to the maximum number of communities below, in the order Skool ranks them.",
            "items": {
              "type": "string"
            }
          },
          "communityUrls": {
            "title": "Community links",
            "type": "array",
            "description": "Skool communities to read, e.g. https://www.skool.com/ai-automation-society or just ai-automation-society. Any page of a community works (its About page, a post).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Communities per keyword or category",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Most communities to take from each keyword or category, e.g. 100. Skool lists up to 1,000 per search.",
            "default": 100
          },
          "category": {
            "title": "Browse a category",
            "enum": [
              "none",
              "all",
              "ai_automation",
              "ai_video",
              "side_hustles",
              "ads__marketing",
              "ecom",
              "youtube__social",
              "trading",
              "business",
              "health__fitness",
              "peptides",
              "credit_repair__funding",
              "sales",
              "sports",
              "real_estate",
              "self_improvement",
              "spirituality",
              "faith",
              "arts__crafts",
              "home_service__trades",
              "job_search__careers",
              "education__test_prep",
              "fashion__beauty",
              "relationships",
              "languages",
              "music",
              "gaming",
              "personal_finance",
              "pets__animals",
              "parenting",
              "travel",
              "nature__outdoors"
            ],
            "type": "string",
            "description": "Get the communities of one directory category, e.g. Health & Fitness, or All categories. Read as its own list next to the keywords: Skool's keyword search does not filter by category.",
            "default": "none"
          },
          "discoverySort": {
            "title": "Category order",
            "enum": [
              "trending",
              "top"
            ],
            "type": "string",
            "description": "Order of a browsed category, e.g. Trending. Keyword searches always come in Skool's relevance order.",
            "default": "trending"
          },
          "price": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid",
              "free-trial"
            ],
            "type": "string",
            "description": "Only free communities, only paid ones, or only those with a free trial, e.g. Free.",
            "default": "any"
          },
          "communityType": {
            "title": "Public or private",
            "enum": [
              "any",
              "public",
              "private"
            ],
            "type": "string",
            "description": "Only public communities (anyone can read their posts) or only private ones, e.g. Public.",
            "default": "any"
          },
          "language": {
            "title": "Language",
            "enum": [
              "all",
              "english",
              "german",
              "spanish",
              "french",
              "chinese",
              "italian",
              "dutch",
              "vietnamese",
              "arabic",
              "hebrew",
              "danish",
              "romanian",
              "turkish",
              "polish",
              "czech",
              "hungarian",
              "swedish",
              "portuguese",
              "bulgarian",
              "norwegian",
              "finnish",
              "croatian",
              "latvian",
              "slovak",
              "serbian",
              "mongolian",
              "haitian",
              "thai",
              "slovenian",
              "russian",
              "lithuanian",
              "amharic",
              "malay",
              "estonian",
              "greek",
              "ukrainian",
              "swahili",
              "japanese",
              "filipino",
              "persian",
              "welsh",
              "korean",
              "cantonese",
              "indonesian",
              "latin",
              "bengali",
              "catalan",
              "hindi"
            ],
            "type": "string",
            "description": "Only communities in this language, e.g. English. All languages by default.",
            "default": "all"
          },
          "minMembers": {
            "title": "Minimum members",
            "minimum": 0,
            "type": "integer",
            "description": "Skip communities with fewer members than this, e.g. 1000. Skipped communities are not counted or charged.",
            "default": 0
          },
          "includePosts": {
            "title": "Get posts",
            "type": "boolean",
            "description": "Also save each public community's posts: title, text, author, likes, comment count, date and link.",
            "default": false
          },
          "postSort": {
            "title": "Post order",
            "enum": [
              "recent-activity",
              "newest",
              "top-day",
              "top-week",
              "top-month",
              "top-year"
            ],
            "type": "string",
            "description": "Which posts come first, e.g. Newest. Recent activity puts pinned posts first, then posts with new comments.",
            "default": "recent-activity"
          },
          "maxPostsPerCommunity": {
            "title": "Posts per community",
            "minimum": 1,
            "type": "integer",
            "description": "Most posts to save from each community, e.g. 200.",
            "default": 50
          },
          "includeComments": {
            "title": "Get comments",
            "type": "boolean",
            "description": "Also save the comments and replies of each post read, oldest first. Needs Get posts.",
            "default": false
          },
          "maxCommentsPerPost": {
            "title": "Comments per post",
            "minimum": 1,
            "type": "integer",
            "description": "Most comments (replies included) to save from each post, e.g. 50.",
            "default": 20
          },
          "includeMembers": {
            "title": "Get members",
            "type": "boolean",
            "description": "Also save each public community's most recently active members (up to 30, all Skool shows visitors): name, profile link, bio, location, level, points, join date, last active and their own links.",
            "default": false
          },
          "maxMembersPerCommunity": {
            "title": "Members per community",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Most members to save from each community, e.g. 30 (the most Skool shows visitors).",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The default works 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}