{
  "openapi": "3.0.1",
  "info": {
    "title": "Whop Content Rewards Scraper: Clipping Campaigns, CPM, Budget",
    "description": "Every active Whop Content Rewards clipping and UGC campaign: reward per 1K views, budget left, burn rate, days of budget left, platforms, creator and views. Filter by platform, CPM and budget; new-only mode. No login. $0.001 per campaign.",
    "version": "0.2",
    "x-build-id": "dKbrgUIR8diQ3Epfu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datagleaner~whop-content-rewards-campaigns/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datagleaner-whop-content-rewards-campaigns",
        "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/datagleaner~whop-content-rewards-campaigns/runs": {
      "post": {
        "operationId": "runs-sync-datagleaner-whop-content-rewards-campaigns",
        "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/datagleaner~whop-content-rewards-campaigns/run-sync": {
      "post": {
        "operationId": "run-sync-datagleaner-whop-content-rewards-campaigns",
        "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": {
          "maxItems": {
            "title": "Maximum campaigns",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many campaigns (100 when empty). You pay per campaign returned."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "budgetRemaining",
              "rewardPer1k",
              "views7d",
              "views",
              "daysOfBudgetLeft",
              "newest",
              "sitemap"
            ],
            "type": "string",
            "description": "Order of the results (budget left when empty). 'Site order' is the fastest (stops as soon as maxItems match); the others read every campaign page first, about two minutes."
          },
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Keep campaigns that pay for any of these: tiktok, instagram, youtube, x. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "minRewardPer1kViews": {
            "title": "Minimum reward per 1K views (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional. For example 2 keeps campaigns paying $2 or more per 1,000 views."
          },
          "maxRewardPer1kViews": {
            "title": "Maximum reward per 1K views (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional."
          },
          "minBudgetRemaining": {
            "title": "Minimum budget left (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional. Skips campaigns whose money is nearly spent."
          },
          "minBudget": {
            "title": "Minimum total budget (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional."
          },
          "searchText": {
            "title": "Search text",
            "type": "string",
            "description": "Optional. Words that must all appear in the campaign name, description or creator."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Optional. Content categories such as Streamer, Entertainment, Gaming, Music, Personal Brand. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "payoutType": {
            "title": "Payout type",
            "enum": [
              "",
              "cpm",
              "pool"
            ],
            "type": "string",
            "description": "cpm pays per 1,000 views; pool splits a fixed pool between creators. Empty keeps both."
          },
          "launchedWithinDays": {
            "title": "Launched within (days)",
            "minimum": 0,
            "type": "number",
            "description": "Optional. 2 keeps campaigns launched in the last two days."
          },
          "noApplicationOnly": {
            "title": "Open campaigns only",
            "type": "boolean",
            "description": "Skip campaigns where creators must apply or be pre-approved."
          },
          "creators": {
            "title": "Creators or brands",
            "type": "array",
            "description": "Optional. Only campaigns from these creator names or handles, for example reach.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Statuses",
            "type": "array",
            "description": "Campaign statuses to keep. The public sitemap lists active campaigns, which is the default.",
            "items": {
              "type": "string"
            }
          },
          "campaignUrls": {
            "title": "Campaign links",
            "type": "array",
            "description": "Optional. Read only these campaigns (links or ids) instead of listing everything.",
            "items": {
              "type": "string"
            }
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Return only campaigns that no earlier run of this mode has seen (state is kept in a named store on your account). Schedule it hourly to be alerted to new campaigns."
          },
          "maxCampaignsToScan": {
            "title": "Maximum pages to read",
            "minimum": 1,
            "type": "integer",
            "description": "Safety cap on campaign pages read in one run (1500 when empty)."
          },
          "requestDelaySeconds": {
            "title": "Delay between requests (seconds)",
            "minimum": 0,
            "type": "number",
            "description": "Pause before each page request (0.1 when empty)."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Off by 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}