{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Similar Channels Finder",
    "description": "Find public YouTube channels similar to a channel reference or topic. Get ranked matches with scores, discovery evidence, public channel data, audience metrics, and filters in an Apify dataset.",
    "version": "0.0",
    "x-build-id": "dEJw1TuZSMlP9CxIa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~youtube-similar-channels/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-youtube-similar-channels",
        "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/maximedupre~youtube-similar-channels/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-youtube-similar-channels",
        "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/maximedupre~youtube-similar-channels/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-youtube-similar-channels",
        "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": [
          "discoveryMethod"
        ],
        "properties": {
          "discoveryMethod": {
            "title": "Find similar channels by",
            "enum": [
              "channel",
              "topic"
            ],
            "type": "string",
            "description": "Choose Channel to start from public channel references, or Topic to search from a topic query."
          },
          "channelReferences": {
            "title": "Channel references",
            "minItems": 1,
            "type": "array",
            "description": "Enter one or more public YouTube channel URLs, @handles, or channel IDs. Use one reference per line. This option is used for Channel discovery.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "topicQuery": {
            "title": "Topic query",
            "minLength": 1,
            "type": "string",
            "description": "Enter a topic or phrase for finding relevant public YouTube channels. This option is used for Topic discovery."
          },
          "resultBreadth": {
            "title": "Result breadth",
            "enum": [
              "focused",
              "balanced",
              "broad"
            ],
            "type": "string",
            "description": "Choose how broadly to search for and return candidates. The available count depends on source coverage, so no choice guarantees a fixed number of results.",
            "default": "balanced"
          },
          "maxItems": {
            "title": "Maximum candidates",
            "minimum": 1,
            "type": "integer",
            "description": "Optional stop for the number of candidates returned. If omitted, the Actor returns all candidates found for the selected breadth until genuine source exhaustion."
          },
          "filters": {
            "title": "Candidate filters",
            "type": "object",
            "description": "Optional filters shared by Channel and Topic discovery. Leave a field empty to skip that filter. A selected filter only matches candidates with the needed public value.",
            "properties": {
              "minSubscribers": {
                "title": "Minimum subscribers",
                "type": "integer",
                "description": "Keep candidates with at least this many public subscribers. Leave empty to skip this filter.",
                "minimum": 0
              },
              "maxSubscribers": {
                "title": "Maximum subscribers",
                "type": "integer",
                "description": "Keep candidates with no more than this many public subscribers. Leave empty to skip this filter.",
                "minimum": 0
              },
              "minTotalViews": {
                "title": "Minimum total views",
                "type": "integer",
                "description": "Keep candidates with at least this many public total views. Leave empty to skip this filter.",
                "minimum": 0
              },
              "maxTotalViews": {
                "title": "Maximum total views",
                "type": "integer",
                "description": "Keep candidates with no more than this many public total views. Leave empty to skip this filter.",
                "minimum": 0
              },
              "minPublishedVideos": {
                "title": "Minimum published videos",
                "type": "integer",
                "description": "Keep candidates with at least this many published videos. Leave empty to skip this filter.",
                "minimum": 0
              },
              "maxPublishedVideos": {
                "title": "Maximum published videos",
                "type": "integer",
                "description": "Keep candidates with no more than this many published videos. Leave empty to skip this filter.",
                "minimum": 0
              },
              "minAverageVideoViews": {
                "title": "Minimum average video views",
                "type": "integer",
                "description": "Keep candidates whose average recent video views meet or exceed this value. Leave empty to skip this filter.",
                "minimum": 0
              },
              "maxAverageVideoViews": {
                "title": "Maximum average video views",
                "type": "integer",
                "description": "Keep candidates whose average recent video views are at or below this value. Leave empty to skip this filter.",
                "minimum": 0
              },
              "minAverageShortsViews": {
                "title": "Minimum average Shorts views",
                "type": "integer",
                "description": "Keep candidates whose average recent Shorts views meet or exceed this value. Leave empty to skip this filter.",
                "minimum": 0
              },
              "maxAverageShortsViews": {
                "title": "Maximum average Shorts views",
                "type": "integer",
                "description": "Keep candidates whose average recent Shorts views are at or below this value. Leave empty to skip this filter.",
                "minimum": 0
              },
              "countries": {
                "title": "Countries",
                "type": "array",
                "description": "Keep candidates from one or more countries. Enter country names or codes, one per line. Leave empty to skip this filter.",
                "editor": "stringList",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1
              },
              "languages": {
                "title": "Primary languages",
                "type": "array",
                "description": "Keep candidates with one of these primary languages. Enter language names or codes, one per line. Leave empty to skip this filter.",
                "editor": "stringList",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1
              },
              "verification": {
                "title": "Verification",
                "type": "string",
                "description": "Filter by the public verification signal. Any keeps this signal unrestricted.",
                "editor": "select",
                "enum": [
                  "any",
                  "verified"
                ],
                "enumTitles": [
                  "Any",
                  "Verified"
                ],
                "prefill": "any"
              },
              "familyFriendliness": {
                "title": "Family friendliness",
                "type": "string",
                "description": "Filter by the public family-friendliness signal. Any keeps this signal unrestricted.",
                "editor": "select",
                "enum": [
                  "any",
                  "familyFriendly"
                ],
                "enumTitles": [
                  "Any",
                  "Family friendly"
                ],
                "prefill": "any"
              },
              "creatorTypes": {
                "title": "Creator types",
                "type": "array",
                "description": "Keep candidates with one or more creator classifications, such as individual, organization, or brand. Enter one value per line. Leave empty to skip this filter.",
                "editor": "stringList",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1
              },
              "publicEmail": {
                "title": "Public email",
                "type": "string",
                "description": "Filter by whether a public email is reported for the channel. Any keeps this signal unrestricted.",
                "editor": "select",
                "enum": [
                  "any",
                  "hasEmail",
                  "noEmail"
                ],
                "enumTitles": [
                  "Any",
                  "Has a public email",
                  "No public email"
                ],
                "prefill": "any"
              },
              "monetization": {
                "title": "Monetization",
                "type": "string",
                "description": "Filter by the public monetization signal. Any keeps this signal unrestricted.",
                "editor": "select",
                "enum": [
                  "any",
                  "monetized"
                ],
                "enumTitles": [
                  "Any",
                  "Monetized"
                ],
                "prefill": "any"
              },
              "sponsorship": {
                "title": "Sponsorship",
                "type": "string",
                "description": "Filter by the public sponsorship signal. Any keeps this signal unrestricted.",
                "editor": "select",
                "enum": [
                  "any",
                  "hasSponsorship"
                ],
                "enumTitles": [
                  "Any",
                  "Has sponsorship"
                ],
                "prefill": "any"
              }
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}