# Whop Leaderboards Scraper (`powerbox/whop-leaderboards-scraper`) Actor

Scrape Whop marketplace leaderboards — ranks, products, members, reviews, GMV signals, pricing, and company links.

- **URL**: https://apify.com/powerbox/whop-leaderboards-scraper.md
- **Developed by:** [PowerBox](https://apify.com/powerbox) (community)
- **Categories:** Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

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

## Whop Leaderboards Scraper

Extract public marketplace rankings and product cards from **Whop** — digital products, communities, and memberships. Point the Actor at leaderboard filter URLs, product pages, or an explicit sort order and get structured Dataset rows for market research, competitor tracking, and lead gen.

### Features

- **Leaderboard catalogs** — sort by reviews, money made, trending, newest, ratings, affiliate earnings, and more
- **Pagination** — walks the public catalog until `maxItems` is reached
- **Product detail** — resolve `prod_` / `pass_` IDs or product page URLs for a single listing
- **Rich metrics** — members, reviews, ratings, 24h GMV / new users (when published), plan pricing, company, category
- **Proxy-ready** — optional Apify Proxy via `proxyConfiguration`

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `startUrls` | array | — | Leaderboard URLs, product URLs / IDs, or keywords |
| `order` | string | `trending` | Catalog sort when the URL has no `/f/{order}/` segment |
| `direction` | string | `desc` | `asc` or `desc` |
| `maxItems` | integer | `100` | Cap saved rows (1–5000) |
| `proxyConfiguration` | object | Apify Proxy on | Residential proxies recommended for production |

#### Leaderboard URL examples

```text
https://whop.com/discover/leaderboards/f/most_reviews_24_hours/
https://whop.com/discover/leaderboards/f/most_money_made_24_hours/
https://whop.com/discover/leaderboards/f/trending/
https://whop.com/discover/leaderboards/f/newest_arrivals/
```

#### Supported `order` values

`trending`, `trending_3_hours`, `newest_arrivals`, `most_reviews_24_hours`, `most_reviews_7_days`, `most_money_made_24_hours`, `most_affiliate_earnings_24_hours`, `average_review_rating`, `average_time_spent_24_hours`, `last_24_hours_total_seconds`, `highest_bounties`, `global_affiliate_percentage`, `created_at`, `id`

#### Example — most reviews (24h)

```json
{
  "startUrls": [
    { "url": "https://whop.com/discover/leaderboards/f/most_reviews_24_hours/" }
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

#### Example — explicit order

```json
{
  "order": "most_money_made_24_hours",
  "direction": "desc",
  "maxItems": 25
}
```

### Output

Each Dataset item is a marketplace product / access-pass row, including:

| Field | Description |
| --- | --- |
| `rank` | 1-based position in this run’s ranking page |
| `title` / `headline` / `url` | Product name, tagline, and Whop link |
| `activeUsersCount` | Public member count when shown |
| `publishedReviewsCount` / `reviewsAverage` | Review stats |
| `last24HoursGmv` / `last24HoursNewUsers` | Public activity signals when available |
| `businessType` / `industryType` / `category` | Category labels |
| `defaultPlan` | Price, billing period, checkout link |
| `companyTitle` / `companyUrl` | Seller / community company |
| `verified` | Verified badge |
| `order` | Sort key used for leaderboard rows |

### Notes

- Uses Whop’s public GraphQL catalog endpoints (no login).
- Keyword search depends on Whop’s discovery search feed; prefer leaderboard URLs or `order` for reliable rankings.
- Respect Whop’s Terms of Service and applicable data-protection laws when using the data.

# Actor input Schema

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

Leaderboard URLs (e.g. /discover/leaderboards/f/most_reviews_24_hours/), product pages, prod\_/pass\_ IDs, or search keywords. Accepts URL strings or { "url": "..." } objects.

## `order` (type: `string`):

Marketplace ranking used when no filter is present in the URL (or as a default). Maps to Whop catalog order.

## `direction` (type: `string`):

Ascending or descending order for the catalog ranking.

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

Maximum marketplace rows to save (1–5000).

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy settings. Residential proxies recommended for production.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://whop.com/discover/leaderboards/f/most_reviews_24_hours/"
    },
    {
      "url": "https://whop.com/discover/leaderboards/f/trending/"
    }
  ],
  "order": "most_reviews_24_hours",
  "direction": "desc",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of ranked products and communities.

## `rawResults` (type: `string`):

All dataset items without a specific view.

# 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://whop.com/discover/leaderboards/f/most_reviews_24_hours/"
        },
        {
            "url": "https://whop.com/discover/leaderboards/f/trending/"
        }
    ],
    "order": "most_reviews_24_hours",
    "direction": "desc",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerbox/whop-leaderboards-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://whop.com/discover/leaderboards/f/most_reviews_24_hours/" },
        { "url": "https://whop.com/discover/leaderboards/f/trending/" },
    ],
    "order": "most_reviews_24_hours",
    "direction": "desc",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("powerbox/whop-leaderboards-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://whop.com/discover/leaderboards/f/most_reviews_24_hours/"
    },
    {
      "url": "https://whop.com/discover/leaderboards/f/trending/"
    }
  ],
  "order": "most_reviews_24_hours",
  "direction": "desc",
  "maxItems": 100
}' |
apify call powerbox/whop-leaderboards-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerbox/whop-leaderboards-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/SxkdBPfDarIqQAL8S/builds/osPy7ZHJOuF8mb0CJ/openapi.json
