{
  "openapi": "3.0.1",
  "info": {
    "title": "Whop Content Rewards Scraper",
    "description": "Scrape public Whop Content Rewards clipping and UGC campaigns. Export CPM, budget left, platforms, 30-day views, top clips, and posting rules as JSON.",
    "version": "0.1",
    "x-build-id": "wmekexAP8nejKb2Va"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawloop~whop-content-rewards-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawloop-whop-content-rewards-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/crawloop~whop-content-rewards-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawloop-whop-content-rewards-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/crawloop~whop-content-rewards-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawloop-whop-content-rewards-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": {
          "searchText": {
            "title": "Search text",
            "type": "string",
            "description": "Match campaign name, brand, and description. Example: valorant."
          },
          "startUrls": {
            "title": "Campaign URLs",
            "type": "array",
            "description": "Public Content Rewards campaign URLs. When set, only these campaigns are fetched.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "campaignTypes": {
            "title": "Campaign types",
            "type": "array",
            "description": "clipping, ugc, slideshows, logo, sound, reposting, or youtube-long-form. Leave empty for every type.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Category ids such as gaming, music, personal-brand, finance. Leave empty for every category.",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Keep campaigns that pay on at least one of these: tiktok, instagram, youtube, x, facebook.",
            "items": {
              "type": "string"
            }
          },
          "payoutTypes": {
            "title": "Payout models",
            "type": "array",
            "description": "cpm (per 1,000 views) or perPost. Leave empty for both.",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "title": "Campaign status",
            "enum": [
              "active",
              "all"
            ],
            "type": "string",
            "description": "active keeps campaigns that are still paying. all keeps every listed campaign.",
            "default": "active"
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "featured",
              "newest",
              "budget",
              "trending",
              "paidOut",
              "cpm",
              "budgetLeft",
              "opportunity",
              "payoutPerCreator",
              "burn",
              "daysLeft",
              "fewestCreators",
              "progress"
            ],
            "type": "string",
            "description": "featured, newest, budget, trending, paidOut, cpm, budgetLeft, opportunity, payoutPerCreator, burn, daysLeft, fewestCreators, or progress.",
            "default": "featured"
          },
          "minRewardPerThousand": {
            "title": "Min reward per 1,000 views (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Drop campaigns paying less than this per 1,000 views."
          },
          "minBudgetLeftUsd": {
            "title": "Min budget left (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Drop campaigns with less than this much unspent budget."
          },
          "maxProgressPercentage": {
            "title": "Max budget spent (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Drop campaigns that have already spent more than this percent of the budget."
          },
          "maxCreators": {
            "title": "Max creators",
            "minimum": 0,
            "type": "integer",
            "description": "Drop campaigns with more creators than this."
          },
          "minPayoutPerCreatorUsd": {
            "title": "Min payout per creator (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Budget already spent divided by creator count. Campaigns with no creators are dropped."
          },
          "minEstimatedDaysLeft": {
            "title": "Min days of budget left",
            "minimum": 0,
            "type": "number",
            "description": "Estimated from spend since the campaign was listed. Campaigns with no spend yet are dropped."
          },
          "minOpportunityScore": {
            "title": "Min opportunity score (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Score from reward rate, budget left, creator count, and estimated runway."
          },
          "maxAgeDays": {
            "title": "Max campaign age (days)",
            "minimum": 0,
            "type": "number",
            "description": "Drop campaigns listed more than this many days ago."
          },
          "listedAfter": {
            "title": "Listed after",
            "type": "string",
            "description": "ISO date, for example 2026-09-01. Drops campaigns listed before this."
          },
          "onlyNew": {
            "title": "Only new campaigns",
            "type": "boolean",
            "description": "First run saves up to Max campaigns and marks the rest of the directory as already seen. Later runs save only campaigns that were not on that baseline.",
            "default": false
          },
          "trackTrends": {
            "title": "Track trends between runs",
            "type": "boolean",
            "description": "Compare budget, creators, and views with the previous run and add a trend signal.",
            "default": false
          },
          "includeDetails": {
            "title": "Include posting rules",
            "type": "boolean",
            "description": "Fetch each saved campaign's rules: guidelines, face-on-camera, link in bio, pre-approval, and content type. Extra requests, still one charge per saved campaign.",
            "default": true
          },
          "maxItems": {
            "title": "Max campaigns",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum campaigns to save. You are charged only for saved rows. The public directory is a few hundred campaigns.",
            "default": 100
          },
          "resetMonitorState": {
            "title": "Reset monitor memory",
            "type": "boolean",
            "description": "Forget campaigns remembered by Only new campaigns and Track trends.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Named key-value store for seen campaigns and trend snapshots.",
            "default": "whop-content-rewards-seen"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave proxy off. The public directory answers without one. Turn on Apify Proxy only if a run starts returning zero campaigns.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}