{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Communities Scraper | Rankings, Pricing & Member Counts",
    "description": "The entire Skool Discovery directory as ranked data: member counts, prices, billing and revenue potential for the top 1,000 communities per category, plus a monitor mode that catches NEW communities the moment they appear. HTTP-only, pay per result, MCP-ready.",
    "version": "0.0",
    "x-build-id": "8SucpkuMomCFsUWIG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tactful_anvil~skool-communities-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tactful_anvil-skool-communities-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/tactful_anvil~skool-communities-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tactful_anvil-skool-communities-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/tactful_anvil~skool-communities-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tactful_anvil-skool-communities-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": {
          "searchQuery": {
            "title": "Search keyword",
            "type": "string",
            "description": "Optional keyword — same as the search box on skool.com/discovery (matches community name and description; e.g. <code>yoga</code>, <code>ai agents</code>, <code>day trading</code>). Combines with <b>categories</b>. Leave empty to browse the ranking. A keyword with no matches returns 0 rows and is not charged."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Which Skool Discovery categories to scrape: 'all' (global top ranking) and/or slugs like money, tech, health, hobbies, music, spirituality, sports, self_improvement, relationships.",
            "default": [
              "all"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Pages per category",
            "type": "integer",
            "description": "30 communities per page, up to 34 pages (top 1,000) per category.",
            "default": 5
          },
          "maxCommunities": {
            "title": "Max communities (charged rows)",
            "type": "integer",
            "description": "Stop after this many rows across all categories (max 2000).",
            "default": 200
          },
          "minMembers": {
            "title": "Min members",
            "type": "integer",
            "description": "Skip communities smaller than this. Skipped rows are never charged.",
            "default": 0
          },
          "paidOnly": {
            "title": "Paid communities only",
            "type": "boolean",
            "description": "Only output communities with a paid membership. Free ones are skipped and never charged.",
            "default": false
          },
          "minPriceUsd": {
            "title": "Min price (USD/month)",
            "minimum": 0,
            "type": "integer",
            "description": "Only paid communities charging at least this much. Free and cheaper communities are skipped and never charged."
          },
          "maxPriceUsd": {
            "title": "Max price (USD/month)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip communities charging more than this (free communities always pass). Skipped rows are never charged."
          },
          "onlyNew": {
            "title": "Monitor mode (only new since last run)",
            "type": "boolean",
            "description": "Remember seen communities between runs and only output (and charge) NEW entries — catch new communities the moment they enter Discovery. Perfect for schedules.",
            "default": false
          },
          "trackTrends": {
            "title": "Track growth between runs",
            "type": "boolean",
            "description": "Remembers every community’s member count, rank and price in a small key-value store and on the next run adds membersChange, membersPerDay, membersChangePct, rankChange, priceChangeUsd and growthSignal (surging / growing / flat / shrinking / new). First run = baseline. Free — schedule the actor daily to see which communities are actually growing.",
            "default": false
          },
          "enrichDetails": {
            "title": "Enrich each community (owner, socials, MRR badge, posts, courses, reviews)",
            "type": "boolean",
            "description": "Opens each community's public <code>/about</code> page and adds: owner name/handle/bio/location, owner Instagram/YouTube/LinkedIn/X/Facebook/website, owner MRR badge, total posts, admins, online members, courses & modules, review rating & count, affiliate %, enabled plugins and the 5 latest reviews. One extra request per community (~0.3 s); charged per enriched row as <b>community-enriched</b>, failed lookups are free. Capped by <b>maxEnrich</b>.",
            "default": false
          },
          "maxEnrich": {
            "title": "Max communities to enrich",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Upper bound on /about lookups per run when <b>enrichDetails</b> is on (1–1000).",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}