{
  "openapi": "3.0.1",
  "info": {
    "title": "🛍️ Whop Marketplace Data Scraper",
    "description": "Turn any Whop.com search, category, or listing into structured data: pricing, plans, company and owner profiles, growth metrics, affiliate terms, and reviews. Self-healing GraphQL scraper that keeps working through Whop backend changes.",
    "version": "1.1",
    "x-build-id": "DmLccSyo8tl8WFUG1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_minds~whop-marketplace-data-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_minds-whop-marketplace-data-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/data_minds~whop-marketplace-data-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data_minds-whop-marketplace-data-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/data_minds~whop-marketplace-data-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data_minds-whop-marketplace-data-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": {
          "queries": {
            "title": "🔎 Search keywords",
            "type": "array",
            "description": "Keywords to search on Whop, for example trading, ai agency or fitness coaching. Each keyword is searched separately and gets its own maximum.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "🔗 Whop links or IDs",
            "type": "array",
            "description": "Whop search, category, product or company links, one per line. Bare prod_ and biz_ IDs also work. Leave empty to use only keywords or browse the catalog.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max listings per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum listings (or companies in company mode) collected for each keyword, link or category. Product and company links return one row each. Keyword search shows about 250 results per keyword at most.",
            "default": 10
          },
          "scrapeCompanies": {
            "title": "🔧 Collect companies instead of listings",
            "type": "boolean",
            "description": "Turn on to get one row per company (with its profile and optional product list) instead of one row per listing. Works with keywords, links and catalog browsing.",
            "default": false
          },
          "sortBy": {
            "title": "🔃 Sort by",
            "enum": [
              "trending",
              "newest_arrivals",
              "most_money_made_24_hours",
              "average_review_rating",
              "most_reviews_7_days",
              "most_reviews_24_hours",
              "highest_bounties",
              "trending_3_hours",
              "created_at",
              "global_affiliate_percentage",
              "average_time_spent_24_hours",
              "most_affiliate_earnings_24_hours",
              "last_24_hours_total_seconds",
              "id"
            ],
            "type": "string",
            "description": "How catalog and category results are ordered.",
            "default": "trending"
          },
          "sortDirection": {
            "title": "🔃 Sort direction",
            "enum": [
              "",
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending or descending. Leave on default for Whop's own ordering. Pair Ascending with Date added to reach the oldest listings.",
            "default": ""
          },
          "categories": {
            "title": "🎯 Categories",
            "type": "array",
            "description": "Top-level Whop categories such as ai, trading or personal-development. Each category is collected as its own input with its own maximum, alongside any keywords and links.",
            "items": {
              "type": "string",
              "enum": [
                "agencies",
                "ai",
                "careers",
                "community",
                "computer-science",
                "dating",
                "french",
                "game-show",
                "games",
                "local-shop",
                "misc",
                "misc-services",
                "music",
                "newsletters",
                "night-life",
                "personal-development",
                "personal-finance",
                "podcasts",
                "real-estate",
                "recreation",
                "religion",
                "reselling",
                "saas",
                "social-media",
                "spirituality",
                "sports",
                "sports-picks",
                "students",
                "trading",
                "travel"
              ],
              "enumTitles": [
                "Agencies",
                "AI",
                "Careers",
                "Community",
                "Computer science",
                "Dating",
                "French",
                "Game Show",
                "Games",
                "Local Shop",
                "Miscellaneous",
                "Misc Services",
                "Music",
                "Newsletters",
                "Night Life",
                "Personal Development",
                "Personal Finance",
                "Podcasts",
                "Real Estate",
                "Recreation",
                "Religion",
                "Reselling",
                "SaaS",
                "Social Media",
                "Spirituality",
                "Sports",
                "Sports Betting",
                "Students",
                "Trading",
                "Travel"
              ]
            },
            "default": []
          },
          "catalogBrowse": {
            "title": "✅ Browse the whole catalog when nothing is entered",
            "type": "boolean",
            "description": "When no keyword, link or category is given, collect from the full marketplace catalog instead of stopping. Ignored when you enter keywords, links or categories.",
            "default": true
          },
          "priceMin": {
            "title": "🎯 Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest price to include, in the listing's own currency."
          },
          "priceMax": {
            "title": "🎯 Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Highest price to include, in the listing's own currency."
          },
          "freeOnly": {
            "title": "🎯 Free listings only",
            "type": "boolean",
            "description": "Keep only listings that cost nothing.",
            "default": false
          },
          "paidOnly": {
            "title": "🎯 Paid listings only",
            "type": "boolean",
            "description": "Keep only listings that charge something. If both free and paid are on, paid is turned off.",
            "default": false
          },
          "affiliateEnabledOnly": {
            "title": "🎯 Only listings with an affiliate program",
            "type": "boolean",
            "description": "Keep only listings that currently run an affiliate program.",
            "default": false
          },
          "affiliatePercentageMin": {
            "title": "🎯 Minimum affiliate commission %",
            "minimum": 0,
            "maximum": 10000,
            "type": "number",
            "description": "Keep only listings offering at least this affiliate commission."
          },
          "discoverableOnly": {
            "title": "🎯 Only listings published on Whop Discover",
            "type": "boolean",
            "description": "Keep only listings Whop shows in its public Discover feed.",
            "default": true
          },
          "minRating": {
            "title": "🎯 Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop listings rated below this value (0 to 5)."
          },
          "minReviews": {
            "title": "🎯 Minimum review count",
            "minimum": 0,
            "type": "integer",
            "description": "Drop listings with fewer published reviews than this."
          },
          "minMembers": {
            "title": "🎯 Minimum active members",
            "minimum": 0,
            "type": "integer",
            "description": "Drop listings with fewer active users than this."
          },
          "verifiedOnly": {
            "title": "🎯 Whop-verified listings only",
            "type": "boolean",
            "description": "Keep only listings that carry Whop's verified badge.",
            "default": false
          },
          "createdAfter": {
            "title": "📅 Created after",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only listings created after this date. Pick an exact date (for example 2025-01-31) or enter a look-back window (for example 30 days, 2 weeks, 3 months, 1 year). Leave empty for no limit."
          },
          "createdBefore": {
            "title": "📅 Created before",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only listings created before this date. Pick an exact date (for example 2025-01-31) or enter a look-back window (for example 30 days, 2 weeks, 3 months, 1 year). Leave empty for no limit."
          },
          "titleContains": {
            "title": "🎯 Title or description contains",
            "type": "string",
            "description": "Keep only listings whose title, headline or description contains this text."
          },
          "withSocialsOnly": {
            "title": "🎯 Only listings with a contact link",
            "type": "boolean",
            "description": "Lead-generation mode: drop listings that have no social or contact link at all.",
            "default": false
          },
          "includeSocials": {
            "title": "📦 Contact links and socials",
            "type": "boolean",
            "description": "Creator and company social handles and links.",
            "default": true
          },
          "includeOwner": {
            "title": "📦 Owner profile",
            "type": "boolean",
            "description": "Name, bio, city, country and follower count of the person behind the listing.",
            "default": true
          },
          "includeCompanyDetails": {
            "title": "📦 Company details",
            "type": "boolean",
            "description": "Company description, members, page views and review statistics.",
            "default": true
          },
          "includeGrowthMetrics": {
            "title": "📦 Growth metrics",
            "type": "boolean",
            "description": "New users (3 hours, 24 hours, 30 days), 24h revenue, impressions, clicks, likes and shares.",
            "default": true
          },
          "includeAffiliate": {
            "title": "📦 Affiliate terms",
            "type": "boolean",
            "description": "Commission percentage and program status. Turned on automatically when an affiliate filter is set.",
            "default": true
          },
          "includePlans": {
            "title": "📦 All pricing plans",
            "type": "boolean",
            "description": "Every visible pricing plan, not just the default one.",
            "default": true
          },
          "maxPlansPerProduct": {
            "title": "🔢 Max plans per listing",
            "minimum": 1,
            "maximum": 2500,
            "type": "integer",
            "description": "Cap on the number of pricing plans kept per listing. Only used when all pricing plans are on.",
            "default": 5
          },
          "includeImages": {
            "title": "📦 Gallery images and videos",
            "type": "boolean",
            "description": "The listing's gallery images and videos.",
            "default": true
          },
          "includeFaq": {
            "title": "📦 FAQ entries",
            "type": "boolean",
            "description": "The listing's published questions and answers.",
            "default": false
          },
          "includeExperiences": {
            "title": "📦 Bundled apps and experiences",
            "type": "boolean",
            "description": "The apps and experiences bundled inside the listing.",
            "default": false
          },
          "includeReviews": {
            "title": "📦 Full review text",
            "type": "boolean",
            "description": "Fetch the actual review text and star breakdown for each listing. Slower, and rows are saved once their reviews are read.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "🔢 Max reviews per listing",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Cap on reviews fetched per listing. Only used when full review text is on.",
            "default": 10
          },
          "includeCompanyProducts": {
            "title": "📦 Nest each company's product list",
            "type": "boolean",
            "description": "In company mode, add the company's own product list to its row.",
            "default": false
          },
          "concurrency": {
            "title": "⚡ Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests can run at the same time.",
            "default": 8
          },
          "maxRetries": {
            "title": "🔁 Retries per request",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times a failed request is tried again before it is skipped.",
            "default": 3
          },
          "requestDelay": {
            "title": "⏳ Delay between requests (seconds)",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "A small pause between requests keeps long runs steady.",
            "default": 0
          },
          "resumeOffset": {
            "title": "🔧 Skip first catalog rows",
            "minimum": 0,
            "type": "integer",
            "description": "Skip the first N catalog rows to continue an earlier catalog or category run.",
            "default": 0
          },
          "maxScanned": {
            "title": "🔧 Max listings to scan",
            "minimum": 0,
            "type": "integer",
            "description": "Give up after examining this many listings when your filters are very narrow. 0 means no cap.",
            "default": 50000
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Leave the default unless you need to choose your own connection.",
            "default": {}
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}