{
  "openapi": "3.0.1",
  "info": {
    "title": "Skool Group Community Infos Scraper: Top Members & Whos Online",
    "description": "Skool Group Community Infos Scraper extracts community data, including group details, top members, online members, member counts, profiles, and engagement insights. Ideal for community research, competitor analysis, audience discovery, and lead generation.",
    "version": "0.1",
    "x-build-id": "wngGHMgVbOxw6Cs7m"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simpleapi~skool-group-community-infos-scrape/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simpleapi-skool-group-community-infos-scrape",
        "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/simpleapi~skool-group-community-infos-scrape/runs": {
      "post": {
        "operationId": "runs-sync-simpleapi-skool-group-community-infos-scrape",
        "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/simpleapi~skool-group-community-infos-scrape/run-sync": {
      "post": {
        "operationId": "run-sync-simpleapi-skool-group-community-infos-scrape",
        "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",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "🔗 Community links to collect",
            "type": "array",
            "description": "📝 Paste **Skool community / group links** (one per line).\n\n**Examples:**\n• `https://www.skool.com/content-academy/about`\n• `your-group` (short name only)\n\n✅ **Bulk friendly** — add as many as you need; each one becomes its own row in the output table.",
            "items": {
              "type": "string"
            }
          },
          "includeTopMembers": {
            "title": "🏆 Include 30-day top-member leaderboard",
            "type": "boolean",
            "description": "Pulls Skool's own **30-day leaderboard** (`renderData['30D']`) — real member names, profile links and avatars, ranked by Skool. This is the only leaderboard window Skool ships on this page (no 7-day / all-time window exists here). Empty on communities without gamification switched on.",
            "default": true
          },
          "includeOnlineMembers": {
            "title": "🟢 Include who's online right now",
            "type": "boolean",
            "description": "Pulls the **live list of members currently online** (`currentGroup.onlineUsers`) — names, profile links and avatars, not just the headcount the standard snapshot already gives you in `total_online_members`.",
            "default": true
          },
          "includeLevels": {
            "title": "🪜 Include the level ladder",
            "type": "boolean",
            "description": "Pulls Skool's **9-level ladder** for the community — level number, name, title, and the **% of members at that level, exactly as Skool prints it** (never recomputed by this Actor). Empty on communities without gamification switched on.",
            "default": true
          },
          "maxMembersPerList": {
            "title": "🔢 Max people per list",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Caps how many people are written to `topMembers30d` and `onlineMembers` per community. This only trims what's **displayed** — it does not select a different leaderboard window (Skool only ever ships the 30-day one on this page) and does not change `total_online_members`, which is always Skool's real total.\n\nExample: `10` (default) → up to the top 10 leaderboard members and up to 10 online members per row.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy (optional)",
            "type": "object",
            "description": "🌐 **Only if the site is slow or picky** — turn this on for a smoother ride. Leave off for the simplest setup.\n\n🔁 When enabled, the actor tries the usual connection first, then extra options only if needed."
          },
          "retryLimit": {
            "title": "🔁 Retry attempts",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "⏱️ How many times to retry a single request when the network hiccups (not when data is missing). **Default is plenty for most runs.**",
            "default": 3
          },
          "maxRetries": {
            "title": "🔁 Retry attempts (base-compatible)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Same meaning as **Retry attempts** above. Kept so input JSON written for the standard Skool Group / Community Infos Scrape runs here unchanged.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}