{
  "openapi": "3.0.1",
  "info": {
    "title": "Brand Deal Finder: Who's Sponsoring Creators in Your Niche",
    "description": "YouTube creator channels in; one ranked lead per sponsoring brand out, with creators, recency, promo codes, affiliate network and deal value. From $0.03/lead.",
    "version": "1.0",
    "x-build-id": "KI3JDnGcAWeY4rSHC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apricot_blackberry~brand-deal-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apricot_blackberry-brand-deal-finder",
        "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/apricot_blackberry~brand-deal-finder/runs": {
      "post": {
        "operationId": "runs-sync-apricot_blackberry-brand-deal-finder",
        "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/apricot_blackberry~brand-deal-finder/run-sync": {
      "post": {
        "operationId": "run-sync-apricot_blackberry-brand-deal-finder",
        "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",
        "required": [
          "channels"
        ],
        "properties": {
          "channels": {
            "title": "Seed channels",
            "type": "array",
            "description": "YouTube creators in your niche, one per line: @handle, channel URL or UC... channel ID. The more similar creators you list, the better the brand ranking. Leave empty only when you use a Sponsorship Detector dataset ID. Example: @LinusTechTips",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Sponsorship Detector dataset ID",
            "type": "string",
            "description": "Optional ID of a dataset produced by the YouTube Sponsorship Detector (Sponsorship Tracker). Its video items are reused without scanning (no video-scanned charge); items with only a channelId or url are scanned as extra seed channels. Leave empty otherwise. Example: WkzbQMuFYuxGcmDup",
            "default": ""
          },
          "videosPerChannel": {
            "title": "Videos per channel",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many of each channel's latest videos to scan, an integer from 1 to 50. More than 15 needs your own YouTube Data API key; without a key the public feed offers the latest 15. Example: 15",
            "default": 15
          },
          "publishedAfter": {
            "title": "Ignore videos older than",
            "type": "string",
            "description": "Skip videos published before this date, format YYYY-MM-DD. Leave empty for the default window of 180 days before the run. Example: 2026-05-01",
            "default": ""
          },
          "minCreators": {
            "title": "Minimum creators per brand",
            "minimum": 1,
            "type": "integer",
            "description": "Only emit brands sponsoring at least this many of your seed creators, an integer of 1 or more. 1 keeps every brand; 2 or more keeps brands that buy across your niche. Example: 2",
            "default": 1
          },
          "niche": {
            "title": "Niche (for deal values)",
            "enum": [
              "finance",
              "tech",
              "business",
              "education",
              "health_fitness",
              "beauty_fashion",
              "food",
              "travel",
              "gaming",
              "entertainment",
              "general"
            ],
            "type": "string",
            "description": "Optional. Choose your niche to add an estimated deal value (low / mid / high USD for a YouTube integration) to each lead, from the Creator Fusion rate model. Planning ranges, not quotes. Leave empty for no deal values. Example: tech"
          },
          "includeSightings": {
            "title": "Include sightings",
            "type": "boolean",
            "description": "Also output one free row per brand sighting (type \"sighting\"): video, creator, matched text, link and codes. You are charged only for brand leads. Example: false",
            "default": false
          },
          "excludeDomains": {
            "title": "Domains to exclude",
            "type": "array",
            "description": "Brands to ignore, for example your own site or a competitor you already know, as domains one per line. Example: example.com",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "youtubeApiKey": {
            "title": "YouTube Data API key (optional)",
            "type": "string",
            "description": "Optional: your own YouTube Data API v3 key. Enables up to 50 videos per channel and the creator's official paid-promotion flag. Encrypted, never written to the dataset or logs. Example: AIzaSy... (39 characters)"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy used to fetch YouTube pages, in the standard proxy editor format. The default is Apify datacenter proxy (cheaper); residential gives the most reliable results. Example: {\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]}",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}