# Skool Course Search: Find Courses by Keyword

**Use case:** 

Keep only the Skool courses whose title or description matches a keyword, so one topic can be located in a long classroom.

## Input

```json
{
  "mode": "courses",
  "communityUrls": [
    "ai-automation-agency"
  ],
  "maxDepth": 5,
  "includeLessons": true,
  "includeInaccessible": true,
  "includeDescription": true,
  "flattenTree": true,
  "searchQuery": "sales",
  "maxCoursesPerCommunity": 0,
  "maxResults": 100,
  "includeRaw": false,
  "sameDomainDelaySecs": 0.3,
  "requestTimeoutSecs": 30,
  "runBudgetSecs": 180,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type",
    "format": "string"
  },
  "id": {
    "label": "Id",
    "format": "string"
  },
  "slug": {
    "label": "Slug",
    "format": "string"
  },
  "groupId": {
    "label": "Group id",
    "format": "string"
  },
  "groupSlug": {
    "label": "Group slug",
    "format": "string"
  },
  "groupName": {
    "label": "Group name",
    "format": "string"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "unitType": {
    "label": "Unit type",
    "format": "string"
  },
  "parentId": {
    "label": "Parent id",
    "format": "string"
  },
  "rootId": {
    "label": "Root id",
    "format": "string"
  },
  "depth": {
    "label": "Depth",
    "format": "integer"
  },
  "path": {
    "label": "Path",
    "format": "array"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "desc": {
    "label": "Desc",
    "format": "string"
  },
  "descPlain": {
    "label": "Desc plain",
    "format": "string"
  },
  "coverImage": {
    "label": "Cover image",
    "format": "string"
  },
  "videoId": {
    "label": "Video id",
    "format": "string"
  },
  "videoUrl": {
    "label": "Video url",
    "format": "string"
  },
  "videoThumbnail": {
    "label": "Video thumbnail",
    "format": "string"
  },
  "videoLenMs": {
    "label": "Video len ms",
    "format": "integer"
  },
  "attachments": {
    "label": "Attachments",
    "format": "array"
  },
  "numModules": {
    "label": "Num modules",
    "format": "integer"
  },
  "privacy": {
    "label": "Privacy",
    "format": "integer"
  },
  "hasAccess": {
    "label": "Has access",
    "format": "integer"
  },
  "minAccessLevel": {
    "label": "Min access level",
    "format": "integer"
  },
  "state": {
    "label": "State",
    "format": "integer"
  },
  "isPublic": {
    "label": "Is public",
    "format": "boolean"
  },
  "author": {
    "label": "Author",
    "format": "object"
  },
  "selectedModule": {
    "label": "Selected module",
    "format": "string"
  },
  "hasChildren": {
    "label": "Has children",
    "format": "boolean"
  },
  "childCount": {
    "label": "Child count",
    "format": "integer"
  },
  "children": {
    "label": "Children",
    "format": "array"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Source url",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Skool Classroom Scraper - Course Tree, Events, Leaderboard Actor is ready to run with the inputs already set for "Skool Course Search: Find Courses by Keyword". [Sign up or log in](https://console.apify.com/create-task-from-example/69X8pRdCeYYI2Fbm3) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Skool Course Search: Find Courses by Keyword" task

The Skool Classroom Scraper - Course Tree, Events, Leaderboard Actor will start running based on the input automatically. You can also change all the input fields, like mode, communities, and more, to match your specific use case.

### 3. Receive the "Skool Course Search: Find Courses by Keyword" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, id, slug, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Skool Course Search: Find Courses by Keyword" task via API](https://apify.com/ai-lead-gen-tools/skool-classroom.md).

## FAQ

### What does the keyword match against?

Course title, description, community name, community slug and course slug, case-insensitive substring match.

### Why do I get many rows for a short keyword?

The community slug is part of the matched text, so a keyword contained in the slug matches every course of that community.

### How do I search several communities?

Add more slugs to communityUrls. Each one is read in turn until maxResults or runBudgetSecs is reached.

## About this Actor

This example demonstrates how to use [Skool Classroom Scraper - Course Tree, Events, Leaderboard](https://apify.com/ai-lead-gen-tools/skool-classroom.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ai-lead-gen-tools/skool-classroom.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/ai-lead-gen-tools/skool-classroom.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
