{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Creator Finder: Lookalikes, Niches & Sponsors",
    "description": "Find public YouTube creators by content, niche or sponsor, with explained scores, separate long-video and Shorts reach, activity and video-linked brand evidence. $0.05 per creator, $0.02 per seed analysis and $0.01 per nonempty discovery page.",
    "version": "0.1",
    "x-build-id": "5PYvL2155LajhXcoG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zaiq~youtube-creator-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zaiq-youtube-creator-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/zaiq~youtube-creator-finder/runs": {
      "post": {
        "operationId": "runs-sync-zaiq-youtube-creator-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/zaiq~youtube-creator-finder/run-sync": {
      "post": {
        "operationId": "run-sync-zaiq-youtube-creator-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",
        "properties": {
          "mode": {
            "title": "Discovery mode",
            "enum": [
              "lookalike",
              "niche",
              "sponsors"
            ],
            "type": "string",
            "description": "Lookalike matches seed content; niche ranks publishing relevance; sponsors verifies brand links or disclosures in recent descriptions.",
            "default": "niche"
          },
          "seeds": {
            "title": "Seed channels",
            "type": "array",
            "description": "One to ten channel URLs, @handles or UC channel IDs. Each completed seed analysis costs $0.02. Seeds are excluded from creator matches.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "queries": {
            "title": "Niches or topics",
            "type": "array",
            "description": "Up to ten searches about what creators publish. Empty niche inputs use a small espresso-review example. Filters below are explicit; natural-language filter instructions are not automatically interpreted. Each nonempty discovery page costs $0.01, even if no creator passes the filters.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "brands": {
            "title": "Brand names or websites",
            "type": "array",
            "description": "In sponsors mode, up to five brand names or websites. Results need a matching domain or explicit brand wording with sponsorship, promo or affiliate evidence in recent descriptions. Unverified link destinations are labelled.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxCreators": {
            "title": "Maximum delivered creators",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Total unique delivered creators across all inputs, $0.05 each. Seed analyses and nonempty discovery pages have separate charges. Rejected candidates are free.",
            "default": 1
          },
          "descriptionsPerCreator": {
            "title": "Recent descriptions to check",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Check up to this many most recent long-video and Shorts descriptions for sponsors, affiliate links and engagement. Defaults to 30. Fewer checks are faster but can miss sponsors.",
            "default": 30
          },
          "recentVideos": {
            "title": "Recent videos in each output row",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Number of recent videos to include in the output, separate from the description audit. Set 0 to omit the sample. Reach metrics use up to 30 videos per format.",
            "default": 10
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "minimum": 0,
            "maximum": 3000000000,
            "type": "integer",
            "description": "Minimum public subscriber count. Zero disables this filter. Hidden counts fail an active subscriber filter.",
            "default": 0
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "minimum": 0,
            "maximum": 3000000000,
            "type": "integer",
            "description": "Maximum public subscriber count. Zero means no maximum.",
            "default": 0
          },
          "minMedianViews": {
            "title": "Minimum median views",
            "minimum": 0,
            "maximum": 3000000000,
            "type": "integer",
            "description": "Minimum median recent long-video views, or Shorts views when the format is Shorts. Uses up to 30 public uploads per format; includes recent uploads still gathering views.",
            "default": 0
          },
          "countries": {
            "title": "Channel countries",
            "type": "array",
            "description": "Match the country shown on the public channel About panel. Use a country name or common two-letter code. Missing country is excluded when this filter is active. This is not audience geography.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "languages": {
            "title": "Content languages",
            "type": "array",
            "description": "Estimated from public titles and channel text. Supported estimates: en, es, pt, fr, de, it, ja, ko, ru, ar, hi. Unknown estimates are excluded by an active filter.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "es",
                "pt",
                "fr",
                "de",
                "it",
                "ja",
                "ko",
                "ru",
                "ar",
                "hi"
              ],
              "enumTitles": [
                "English",
                "Spanish",
                "Portuguese",
                "French",
                "German",
                "Italian",
                "Japanese",
                "Korean",
                "Russian",
                "Arabic",
                "Hindi"
              ]
            },
            "default": []
          },
          "uploadedWithinDays": {
            "title": "Uploaded within days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Require a public long video or Short within this many days. Zero disables the filter. Dates from upload lists are approximate.",
            "default": 0
          },
          "contentFormat": {
            "title": "Content format",
            "enum": [
              "any",
              "long-form",
              "shorts",
              "mixed"
            ],
            "type": "string",
            "description": "Based on the latest 30 sampled uploads: long-form, Shorts, or a mixture. Live streams are not included in these samples.",
            "default": "any"
          },
          "excludeChannels": {
            "title": "Channels to exclude",
            "type": "array",
            "description": "Up to 200 channel URLs, @handles or IDs. An unresolved exclusion stops the run with a free note so the exclusion is not silently ignored.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minScore": {
            "title": "Minimum match score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum explained content score for lookalike and niche results. Sponsor mode uses verified brand evidence instead. Zero permits weak matches.",
            "default": 55
          },
          "maxCandidates": {
            "title": "Maximum candidates to inspect",
            "minimum": 0,
            "maximum": 220,
            "type": "integer",
            "description": "Zero selects three times the affordable creator count plus one, capped at 220. Explicit values are bounded by six times the affordable creator count (minimum four), to keep rejected-candidate costs bounded.",
            "default": 0
          },
          "searchPages": {
            "title": "Search pages per discovery query",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum pages per discovery query. Each nonempty page costs $0.01, including generated lookalike-topic and sponsor queries. One page per query is the default. Empty and failed pages are free.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}