{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Posts & Classroom Scraper: Lessons, Videos, Comments",
    "description": "Skool scraper and API, no login: every free classroom course and lesson with its text, video link or Skool video stream and captions; feed posts with full text, author, likes, files and comments; the community's search. Locked courses, private groups and lesson files: listed, not read. Misses free.",
    "version": "0.1",
    "x-build-id": "fCG13NSNOzck89MPR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~skool-posts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-skool-posts-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/hyperbach~skool-posts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-skool-posts-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/hyperbach~skool-posts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-skool-posts-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 links",
            "maxItems": 1000,
            "type": "array",
            "description": "One link a line: a community (https://www.skool.com/<community> or just its name), its classroom (/classroom), a course (/classroom/<course>), a lesson (a course link with ?md=<lesson id>), a post (/<community>/<post>), the about page (/about: the community's details) or the community's own post search (/-/search?q=<words>; its lesson search, t=courses, is not read). A community link reads what 'What to read' says. Private communities and links that are not Skool get a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "read": {
            "title": "What to read from a community link",
            "enum": [
              "both",
              "posts",
              "classroom"
            ],
            "type": "string",
            "description": "posts = the community's feed (or its search, when you give search terms); classroom = every free course and its lessons; both = the two (with search terms: the search only; give the /classroom link to read the lessons too). A classroom, course, lesson or post link reads only what it names.",
            "default": "both"
          },
          "searchTerms": {
            "title": "Search terms (posts)",
            "maxItems": 20,
            "type": "array",
            "description": "Words to find posts with, using each community's own search instead of reading its feed. Skool counts at most 1,000 posts a search: a larger match ends TRUNCATED with the count. Empty = read the feed.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category (posts)",
            "type": "string",
            "description": "Read only the posts of one category, by its name as the community shows it (case and emoji ignored) or its id: the feed's category, or each search's hits in that category (Skool's search has no category filter: the other hits are left out free). A name the community does not have gives a free row that lists its categories.",
            "default": ""
          },
          "sort": {
            "title": "Feed order",
            "enum": [
              "newest",
              "recent_activity",
              "top_day",
              "top_week",
              "top_month",
              "top_year",
              "top_all_time"
            ],
            "type": "string",
            "description": "The feed's order. newest = by creation time (reads every post once to the end); recent_activity = Skool's default, by the last comment (it moves while it is read: every post is still delivered once); top_* = the most liked posts of a day, week, month, year or all time.",
            "default": "newest"
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Only posts created on or after this date (2026-01-31) or this long ago (7 days). With a date window the feed is read newest first and stops at the first older post.",
            "default": ""
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Only posts created before this date or this long ago.",
            "default": ""
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Skip posts with fewer likes (skipped posts are not charged). 0 = no minimum.",
            "default": 0
          },
          "minComments": {
            "title": "Minimum comments",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Skip posts with fewer comments (skipped posts are not charged). 0 = no minimum.",
            "default": 0
          },
          "maxPostsPerCommunity": {
            "title": "Max posts per community",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most posts read from each community's feed, and from each search term. 0 = every post (a large community has tens of thousands).",
            "default": 100
          },
          "includeComments": {
            "title": "Include comments",
            "type": "boolean",
            "description": "Add every comment and reply of each post read, as their own rows (charged per comment). Comments that need a login are not read.",
            "default": false
          },
          "maxCommentsPerPost": {
            "title": "Max comments per post",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most comments and replies read for each post. 0 = all.",
            "default": 20
          },
          "includeReplies": {
            "title": "Include replies",
            "type": "boolean",
            "description": "With comments: their replies too. Off = top-level comments only.",
            "default": true
          },
          "maxLessonsPerCourse": {
            "title": "Max lessons per course",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "The most lessons read from each course, in the course's order. 0 = all.",
            "default": 0
          },
          "includeLessonText": {
            "title": "Include lesson text",
            "type": "boolean",
            "description": "Read each lesson's own page for its written text and its video. Off = faster and lighter rows from the course outline: titles, order, video links and streams, resources, no text.",
            "default": true
          },
          "includeCaptions": {
            "title": "Include captions",
            "type": "boolean",
            "description": "For Skool-hosted lesson videos: the caption track's text and timed cues (English first). A video with no track says so.",
            "default": false
          },
          "skipLockedCourses": {
            "title": "Skip locked courses",
            "type": "boolean",
            "description": "Locked courses (a member level or a purchase) are listed by title as free rows. On = leave them out.",
            "default": false
          },
          "includeGroupDetails": {
            "title": "Include community details",
            "type": "boolean",
            "description": "Add one row per community with its details: members, posts, courses, owner, levels, categories, links, its joining price and its membership tiers.",
            "default": false
          },
          "maxItems": {
            "title": "Max charged rows (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows (posts, lessons, comments, community details) of the whole run; 0 = no cap beyond your charge limit. Course rows and every row that says why a link gave nothing are free.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}