{
  "openapi": "3.0.1",
  "info": {
    "title": "Whop Content Rewards Scraper",
    "description": "Whop Content Rewards Scraper extracts every Whop clipping and UGC campaign: reward per 1K views, budget left, spent, creators, views, burn rate, days left, top clips, rules and payout tiers.",
    "version": "1.0",
    "x-build-id": "cg2TuiJe8V0yYBhHR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~whop-content-rewards-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-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/neuro-scraper~whop-content-rewards-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-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/neuro-scraper~whop-content-rewards-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-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": {
          "findCampaignsBy": {
            "title": "Find campaigns by",
            "enum": [
              "directory",
              "campaignUrls"
            ],
            "type": "string",
            "description": "directory = the whole public campaign directory with the filters below; campaignUrls = only the campaign links you paste.",
            "default": "directory"
          },
          "maxItems": {
            "title": "Max campaigns",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "How many campaigns to return. The directory is paged to its end when filters or a computed sort need it.",
            "default": 100
          },
          "searchText": {
            "title": "Search text",
            "type": "string",
            "description": "Keep campaigns whose title, brand, description or category contains this text (case-insensitive)."
          },
          "brand": {
            "title": "Brand name",
            "type": "string",
            "description": "Keep campaigns of brands whose name or handle contains this text."
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Keep campaigns that accept at least one of these platforms.",
            "items": {
              "type": "string",
              "enum": [
                "tiktok",
                "instagram",
                "youtube",
                "x",
                "facebook"
              ],
              "enumTitles": [
                "TikTok",
                "Instagram",
                "YouTube",
                "X (Twitter)",
                "Facebook"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep campaigns in these categories (e.g. Music, Gaming, Entertainment, Personal Brand, Product, Technology, Finance, Education). Partial names work.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "campaignType": {
            "title": "Campaign type",
            "enum": [
              "all",
              "clipping",
              "ugc",
              "both"
            ],
            "type": "string",
            "description": "Clipping, UGC or all types.",
            "default": "all"
          },
          "campaignTypes": {
            "title": "Campaign types (several)",
            "type": "array",
            "description": "Several content types at once (e.g. clipping, ugc, slideshow, logo). Partial names work.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "payoutTypes": {
            "title": "Payout types",
            "type": "array",
            "description": "Keep campaigns that pay this way.",
            "items": {
              "type": "string",
              "enum": [
                "cpm",
                "perPost",
                "retainer",
                "pool",
                "hybrid",
                "placement",
                "bounty"
              ],
              "enumTitles": [
                "CPM (per 1K views)",
                "Per post",
                "Retainer",
                "Pool split",
                "Hybrid",
                "Placement",
                "Bounty"
              ]
            },
            "default": []
          },
          "status": {
            "title": "Campaign status",
            "enum": [
              "active",
              "paused",
              "activeAndPaused",
              "completed",
              "all"
            ],
            "type": "string",
            "description": "active = live campaigns (default); paused; completed = ended campaigns; all = live and ended.",
            "default": "active"
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "budgetLeft",
              "reward",
              "opportunity",
              "payoutPerCreator",
              "newest",
              "trending",
              "popular",
              "paidOut",
              "totalBudget",
              "progress",
              "competition",
              "daysLeft",
              "views",
              "payoutVelocity",
              "recency",
              "remainingBudget",
              "payout"
            ],
            "type": "string",
            "description": "Order of the results. Computed sorts read the whole directory first.",
            "default": "budgetLeft"
          },
          "minBudgetLeftUsd": {
            "title": "Min budget left (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep campaigns with at least this much budget left."
          },
          "minRewardPerThousand": {
            "title": "Min reward per 1K views (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep campaigns paying at least this much per 1,000 views (highest platform rate)."
          },
          "maxCreators": {
            "title": "Max creators already joined",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out crowded campaigns: keep those with at most this many participating creators."
          },
          "maxProgressPercentage": {
            "title": "Max budget spent (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Keep campaigns that have spent at most this share of their budget (0-100)."
          },
          "minEstimatedDaysLeft": {
            "title": "Min days of budget left",
            "minimum": 0,
            "type": "number",
            "description": "Keep campaigns whose budget lasts at least this many days at the current daily burn."
          },
          "minOpportunityScore": {
            "title": "Min opportunity score (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep campaigns with at least this opportunity score (reward rate, budget left and competition combined)."
          },
          "minPayoutPerCreatorUsd": {
            "title": "Min payout per creator (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep campaigns whose average payout per participating creator is at least this much."
          },
          "fundedAfter": {
            "title": "Funded on or after",
            "type": "string",
            "description": "Keep campaigns launched on or after this date (YYYY-MM-DD)."
          },
          "fundedBefore": {
            "title": "Funded on or before",
            "type": "string",
            "description": "Keep campaigns launched on or before this date (YYYY-MM-DD)."
          },
          "listedAfter": {
            "title": "Listed after (exact date)",
            "type": "string",
            "description": "Same as fundedAfter: campaigns listed on or after this date."
          },
          "maxAgeDays": {
            "title": "Max campaign age (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep campaigns launched at most this many days ago."
          },
          "noApplicationRequired": {
            "title": "Skip campaigns that require an application",
            "type": "boolean",
            "description": "Keep only campaigns you can join without applying.",
            "default": false
          },
          "verifiedOnly": {
            "title": "Verified brands only",
            "type": "boolean",
            "description": "Keep only campaigns of verified brands.",
            "default": false
          },
          "hasPublicResources": {
            "title": "Only campaigns with public resources",
            "type": "boolean",
            "description": "Keep only campaigns that share reference material links.",
            "default": false
          },
          "enrichDetails": {
            "title": "Enrich with campaign details",
            "type": "boolean",
            "description": "Add geo rate tiers, application rules, creator types and the fee schedule (one small extra read per returned campaign).",
            "default": true
          },
          "maxEnrich": {
            "title": "Max campaigns to enrich",
            "minimum": 0,
            "type": "integer",
            "description": "Enrich only the first N returned campaigns (0 = all).",
            "default": 0
          },
          "includeMetrics": {
            "title": "Fetch full metrics per campaign",
            "type": "boolean",
            "description": "Daily view history, top clips, top earners, 7-day trend and the content rules. Off = a lighter list without them.",
            "default": true
          },
          "includeHistorical": {
            "title": "Include ended campaigns",
            "type": "boolean",
            "description": "Also return campaigns that have ended (they are no longer in the live directory).",
            "default": false
          },
          "onlyNew": {
            "title": "Only new campaigns (monitor mode)",
            "type": "boolean",
            "description": "Return only campaigns not returned by an earlier run of this Actor (state kept between runs).",
            "default": false
          },
          "trackTrends": {
            "title": "Track trends between runs",
            "type": "boolean",
            "description": "Fill budgetSpentDeltaUsd / spendChange with the change since the previous run.",
            "default": false
          },
          "campaignUrls": {
            "title": "Campaign URLs",
            "type": "array",
            "description": "Campaign links (or ids) to read when findCampaignsBy = campaignUrls.",
            "items": {
              "type": "string"
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel requests for detail reads (1-20).",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed in normal use (runs connect directly). Switch on Apify Proxy if your runs get blocked.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}