# Skool Community Directory Scraper (`ahmdshrif/skool-community-directory-scraper`) Actor

Extracts community name, URL, member count, price, and category from Skool's public discovery directory pages.

- **URL**: https://apify.com/ahmdshrif/skool-community-directory-scraper.md
- **Developed by:** [Ahmed](https://apify.com/ahmdshrif) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$1.00 / 1,000 per community records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Skool Community Directory Scraper

Extracts community name, URL, member count, price, and category from Skool's public discovery directory pages. Built for anyone running lead generation into course creators and community owners, or doing market research on the Skool ecosystem — agencies, growth marketers, and researchers who need a structured list instead of manually scrolling the discovery feed.

### Why this scraper

- Priced at $0.001 per community, matching the cheapest option available and beating every other per-result alternative on price.
- Includes a `rank` field capturing each community's position in the discovery listing at scrape time, so you can track how placement shifts across runs.
- Server-rendered HTML with no login wall — no personal member data is collected, only public directory listing fields.

### Output fields

| Field | Type | Description |
|---|---|---|
| community_name | string | Name of the Skool community |
| community_url | string | Full URL to the community's Skool page |
| description | string | Short community description shown on the discovery card |
| member_count | integer | Number of members reported for the community |
| price_type | string | Whether the community is 'free' or 'paid' |
| price_amount | number | Monthly price in USD if the community is paid, 0 if free |
| category | string | Discovery category/niche tag assigned to the community |
| rank | integer | Position of the community in the discovery listing at scrape time |

### Input

```json
{
  "startUrls": [{ "url": "https://www.skool.com/discovery" }],
  "maxItems": 1000
}
```

### Output

```json
{
  "community_name": "CapCut Creator Bootcamp Learn CapCut from beginner to advanced, create viral videos & start making money online 953 Members • $9/month",
  "community_url": "https://www.skool.com/capcutcreator/about?utm_source=skooldotcom&utm_medium=website&utm_campaign=discovery_browse_group_link",
  "description": "",
  "member_count": 953,
  "price_type": "paid",
  "price_amount": 9,
  "category": "",
  "rank": 1
}
```

### Pricing

$0.001 per community record returned. A run pulling 50 communities costs $0.05; a run pulling 500 communities costs $0.50.

### Use cases

- Building a prospect list of paid Skool community owners to pitch community management or growth services.
- Tracking how a specific niche's discovery rankings shift week over week using the `rank` field.
- Benchmarking pricing across free vs. paid communities in a category before launching a competing community.

# Actor input Schema

## `startUrls` (type: `array`):

Pages to export.

## `maxItems` (type: `integer`):

Stop after this many records in total, across all URLs. Each URL returns every record on its page, so leave this high to get complete results.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.skool.com/discovery"
    },
    {
      "url": "https://www.skool.com/discovery?p=2"
    },
    {
      "url": "https://www.skool.com/discovery?p=3"
    }
  ],
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

One structured record per input URL.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.skool.com/discovery"
        },
        {
            "url": "https://www.skool.com/discovery?p=2"
        },
        {
            "url": "https://www.skool.com/discovery?p=3"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmdshrif/skool-community-directory-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [
        { "url": "https://www.skool.com/discovery" },
        { "url": "https://www.skool.com/discovery?p=2" },
        { "url": "https://www.skool.com/discovery?p=3" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ahmdshrif/skool-community-directory-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.skool.com/discovery"
    },
    {
      "url": "https://www.skool.com/discovery?p=2"
    },
    {
      "url": "https://www.skool.com/discovery?p=3"
    }
  ]
}' |
apify call ahmdshrif/skool-community-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmdshrif/skool-community-directory-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KcKrPmVEAcVh2QVvp/builds/FgDDcmKcjbbh8PUYN/openapi.json
