{
  "openapi": "3.0.1",
  "info": {
    "title": "Content Rewards Campaigns: Clipping Rates & Budgets",
    "description": "Every live clipping and UGC campaign listed on contentrewards.com in one clean schema: pay per 1,000 views, per-platform and country rates, budget left, platforms, brand, public rules and counts. Monitor mode returns only new and changed campaigns, plus free ended rows.",
    "version": "1.0",
    "x-build-id": "lhCWJltoLT3WxCcC4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rivetfinch~content-rewards-campaigns/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rivetfinch-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/rivetfinch~content-rewards-campaigns/runs": {
      "post": {
        "operationId": "runs-sync-rivetfinch-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/rivetfinch~content-rewards-campaigns/run-sync": {
      "post": {
        "operationId": "run-sync-rivetfinch-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": {
          "platforms": {
            "title": "Platforms",
            "type": "array",
            "description": "Keep campaigns that pay for posts on any of these platforms. Empty keeps all.",
            "items": {
              "type": "string",
              "enum": [
                "tiktok",
                "instagram",
                "youtube",
                "x",
                "facebook"
              ],
              "enumTitles": [
                "TikTok",
                "Instagram",
                "YouTube",
                "X (Twitter)",
                "Facebook"
              ]
            }
          },
          "campaignTypes": {
            "title": "Campaign types",
            "type": "array",
            "description": "cpm pays a rate per 1,000 views; pool splits a fixed prize pool between the top clips; perpost pays a fixed amount per accepted post. Empty keeps all.",
            "items": {
              "type": "string",
              "enum": [
                "cpm",
                "pool",
                "perpost"
              ],
              "enumTitles": [
                "Pay per 1,000 views (CPM)",
                "Prize pool",
                "Fixed pay per post"
              ]
            }
          },
          "minRatePer1k": {
            "title": "Minimum rate per 1,000 views (USD)",
            "type": "string",
            "description": "Keep CPM campaigns whose top rate per 1,000 views is at least this, e.g. 1 or 0.5. Pool and per-post campaigns have no such rate and are dropped when this is set."
          },
          "minAvailableBudget": {
            "title": "Minimum budget left (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep campaigns with at least this much budget not yet spent, e.g. 500. 0 keeps all."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep campaigns whose category or content type contains any of these words, as the site labels them (e.g. Gaming, Streamer, Music, Podcast, UGC). Case-insensitive. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep campaigns whose title, brand, description or group name contains any of these words. Words match from their start: gam matches game and gaming. Put a word in double quotes to match it whole. Empty keeps all.",
            "items": {
              "type": "string"
            }
          },
          "listedSince": {
            "title": "Listed since",
            "type": "string",
            "description": "Keep campaigns listed on or after this date: a date such as 2026-11-01, or relative such as 7 days. Decided from the sitemap before any page is read, so this makes runs much faster."
          },
          "noApplicationOnly": {
            "title": "Only campaigns without an application",
            "type": "boolean",
            "description": "Keep only campaigns any creator can join straight away (no application to approve).",
            "default": false
          },
          "onlyActive": {
            "title": "Only active campaigns",
            "type": "boolean",
            "description": "On (default): campaigns whose status is not active (paused, ended ...) are left out. Off: every listed campaign, with its status.",
            "default": true
          },
          "maxCampaigns": {
            "title": "Maximum campaigns",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after delivering this many campaigns (newest listed first). 0 means no limit. Ended rows in monitor mode do not count.",
            "default": 0
          },
          "monitorMode": {
            "title": "Monitor mode",
            "enum": [
              "off",
              "new",
              "newAndChanged"
            ],
            "type": "string",
            "description": "New: each run returns only campaigns this monitor has not delivered before. New and changed: also campaigns whose budget, rates, platforms or status changed (see changedFields). Both add a free row (changeType ended) for a delivered campaign that is no longer active. Schedule the Actor daily for a feed.",
            "default": "off"
          },
          "recheckPerRun": {
            "title": "Known campaigns re-read per monitor run",
            "minimum": 0,
            "type": "integer",
            "description": "Monitor mode reads every new campaign, then re-reads this many known ones (least recently checked first) to catch budget, rate and status changes. 100 adds about 3.5 minutes per run; 0 reads new campaigns only.",
            "default": 100
          },
          "stateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name for this monitor's memory. Each saved task gets its own by default; give a new name to start fresh, or the same name to share one memory between tasks."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}