{
  "title": "YouTube Search Scraper input",
  "description": "Search YouTube by keyword for ranked channels, videos, or native Shorts, then enrich selected results with public details. Start with the prefilled keyword and 3 results for a quick first run. Unofficial; not affiliated with YouTube.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "searchQueries": {
      "sectionCaption": "What to search",
      "title": "Search keywords",
      "type": "array",
      "description": "Add one keyword phrase per line. The result limit applies independently to each keyword.",
      "editor": "stringList",
      "items": {
        "type": "string",
        "minLength": 1
      },
      "prefill": [
        "AI automation"
      ],
      "default": [
        "AI automation"
      ],
      "minItems": 1,
      "maxItems": 20,
      "uniqueItems": true
    },
    "searchType": {
      "title": "Result type",
      "type": "string",
      "description": "Return one consistent result type per run.",
      "editor": "select",
      "default": "videos",
      "enum": [
        "channels",
        "videos",
        "shorts"
      ],
      "enumTitles": [
        "Channels",
        "Videos",
        "Shorts"
      ]
    },
    "maxResultsPerQuery": {
      "title": "Maximum results per keyword",
      "type": "integer",
      "description": "Maximum results returned for each keyword. The Actor attempts to enrich every selected result from its relevant detail page.",
      "default": 3,
      "minimum": 1,
      "maximum": 25,
      "unit": "results"
    },
    "sortBy": {
      "sectionCaption": "Search filters",
      "title": "Sort results by",
      "type": "string",
      "description": "Use YouTube's relevance or popularity ranking for channel and standard-video searches. Shorts automatically use Relevance.",
      "editor": "select",
      "default": "relevance",
      "enum": [
        "relevance",
        "popularity"
      ],
      "enumTitles": [
        "Relevance",
        "Popularity"
      ]
    },
    "uploadDate": {
      "title": "Upload date",
      "type": "string",
      "description": "Filter standard videos using YouTube's relative upload-date categories. Channel and Shorts searches automatically use Any time.",
      "editor": "select",
      "default": "any",
      "enum": [
        "any",
        "today",
        "thisWeek",
        "thisMonth",
        "thisYear"
      ],
      "enumTitles": [
        "Any time",
        "Today",
        "This week",
        "This month",
        "This year"
      ]
    },
    "duration": {
      "title": "Video duration",
      "type": "string",
      "description": "Filter standard videos using YouTube's duration categories. Channel and Shorts searches automatically use Any duration.",
      "editor": "select",
      "default": "any",
      "enum": [
        "any",
        "under3Minutes",
        "3To20Minutes",
        "over20Minutes"
      ],
      "enumTitles": [
        "Any duration",
        "Under 3 minutes",
        "3–20 minutes",
        "Over 20 minutes"
      ]
    },
    "searchCountry": {
      "sectionCaption": "Localized search",
      "title": "Search region",
      "type": "string",
      "description": "Select the YouTube content region used for localized search ranking. This is not a strict filter for a channel's country.",
      "editor": "select",
      "default": "US",
      "enum": [
        "US",
        "DZ",
        "AR",
        "AM",
        "AU",
        "AT",
        "AZ",
        "BH",
        "BD",
        "BY",
        "BE",
        "BO",
        "BA",
        "BR",
        "BG",
        "KH",
        "CA",
        "CL",
        "CO",
        "CR",
        "HR",
        "CY",
        "CZ",
        "DK",
        "DO",
        "EC",
        "EG",
        "SV",
        "EE",
        "FI",
        "FR",
        "GE",
        "DE",
        "GH",
        "GR",
        "GT",
        "HN",
        "HK",
        "HU",
        "IS",
        "IN",
        "ID",
        "IQ",
        "IE",
        "IL",
        "IT",
        "JM",
        "JP",
        "JO",
        "KZ",
        "KE",
        "KW",
        "LA",
        "LV",
        "LB",
        "LY",
        "LI",
        "LT",
        "LU",
        "MY",
        "MT",
        "MX",
        "MD",
        "ME",
        "MA",
        "NP",
        "NL",
        "NZ",
        "NI",
        "NG",
        "MK",
        "NO",
        "OM",
        "PK",
        "PA",
        "PG",
        "PY",
        "PE",
        "PH",
        "PL",
        "PT",
        "PR",
        "QA",
        "RO",
        "RU",
        "SA",
        "SN",
        "RS",
        "SG",
        "SK",
        "SI",
        "ZA",
        "KR",
        "ES",
        "LK",
        "SE",
        "CH",
        "TW",
        "TZ",
        "TH",
        "TN",
        "TR",
        "UG",
        "UA",
        "AE",
        "GB",
        "UY",
        "VE",
        "VN",
        "YE",
        "ZW"
      ],
      "enumTitles": [
        "United States (US)",
        "Algeria (DZ)",
        "Argentina (AR)",
        "Armenia (AM)",
        "Australia (AU)",
        "Austria (AT)",
        "Azerbaijan (AZ)",
        "Bahrain (BH)",
        "Bangladesh (BD)",
        "Belarus (BY)",
        "Belgium (BE)",
        "Bolivia (BO)",
        "Bosnia and Herzegovina (BA)",
        "Brazil (BR)",
        "Bulgaria (BG)",
        "Cambodia (KH)",
        "Canada (CA)",
        "Chile (CL)",
        "Colombia (CO)",
        "Costa Rica (CR)",
        "Croatia (HR)",
        "Cyprus (CY)",
        "Czechia (CZ)",
        "Denmark (DK)",
        "Dominican Republic (DO)",
        "Ecuador (EC)",
        "Egypt (EG)",
        "El Salvador (SV)",
        "Estonia (EE)",
        "Finland (FI)",
        "France (FR)",
        "Georgia (GE)",
        "Germany (DE)",
        "Ghana (GH)",
        "Greece (GR)",
        "Guatemala (GT)",
        "Honduras (HN)",
        "Hong Kong (HK)",
        "Hungary (HU)",
        "Iceland (IS)",
        "India (IN)",
        "Indonesia (ID)",
        "Iraq (IQ)",
        "Ireland (IE)",
        "Israel (IL)",
        "Italy (IT)",
        "Jamaica (JM)",
        "Japan (JP)",
        "Jordan (JO)",
        "Kazakhstan (KZ)",
        "Kenya (KE)",
        "Kuwait (KW)",
        "Laos (LA)",
        "Latvia (LV)",
        "Lebanon (LB)",
        "Libya (LY)",
        "Liechtenstein (LI)",
        "Lithuania (LT)",
        "Luxembourg (LU)",
        "Malaysia (MY)",
        "Malta (MT)",
        "Mexico (MX)",
        "Moldova (MD)",
        "Montenegro (ME)",
        "Morocco (MA)",
        "Nepal (NP)",
        "Netherlands (NL)",
        "New Zealand (NZ)",
        "Nicaragua (NI)",
        "Nigeria (NG)",
        "North Macedonia (MK)",
        "Norway (NO)",
        "Oman (OM)",
        "Pakistan (PK)",
        "Panama (PA)",
        "Papua New Guinea (PG)",
        "Paraguay (PY)",
        "Peru (PE)",
        "Philippines (PH)",
        "Poland (PL)",
        "Portugal (PT)",
        "Puerto Rico (PR)",
        "Qatar (QA)",
        "Romania (RO)",
        "Russia (RU)",
        "Saudi Arabia (SA)",
        "Senegal (SN)",
        "Serbia (RS)",
        "Singapore (SG)",
        "Slovakia (SK)",
        "Slovenia (SI)",
        "South Africa (ZA)",
        "South Korea (KR)",
        "Spain (ES)",
        "Sri Lanka (LK)",
        "Sweden (SE)",
        "Switzerland (CH)",
        "Taiwan (TW)",
        "Tanzania (TZ)",
        "Thailand (TH)",
        "Tunisia (TN)",
        "Turkey (TR)",
        "Uganda (UG)",
        "Ukraine (UA)",
        "United Arab Emirates (AE)",
        "United Kingdom (GB)",
        "Uruguay (UY)",
        "Venezuela (VE)",
        "Vietnam (VN)",
        "Yemen (YE)",
        "Zimbabwe (ZW)"
      ]
    },
    "searchLanguage": {
      "title": "YouTube interface language",
      "type": "string",
      "description": "Select the YouTube interface and localized metadata language used during search. This is not a strict filter for a video's spoken language.",
      "editor": "select",
      "default": "en",
      "enum": [
        "en",
        "af",
        "az",
        "id",
        "ms",
        "bs",
        "ca",
        "cs",
        "da",
        "de",
        "et",
        "en-IN",
        "en-GB",
        "es",
        "es-419",
        "es-US",
        "eu",
        "fil",
        "fr",
        "fr-CA",
        "gl",
        "hr",
        "zu",
        "is",
        "it",
        "sw",
        "lv",
        "lt",
        "hu",
        "nl",
        "no",
        "uz",
        "pl",
        "pt-PT",
        "pt",
        "ro",
        "sq",
        "sk",
        "sl",
        "sr-Latn",
        "fi",
        "sv",
        "vi",
        "tr",
        "be",
        "bg",
        "ky",
        "kk",
        "mk",
        "mn",
        "ru",
        "sr",
        "uk",
        "el",
        "hy",
        "iw",
        "ur",
        "ar",
        "fa",
        "ne",
        "mr",
        "hi",
        "as",
        "bn",
        "pa",
        "gu",
        "or",
        "ta",
        "te",
        "kn",
        "ml",
        "si",
        "th",
        "lo",
        "my",
        "ka",
        "am",
        "km",
        "zh-CN",
        "zh-TW",
        "zh-HK",
        "ja",
        "ko"
      ],
      "enumTitles": [
        "English (US) (en)",
        "Afrikaans (af)",
        "Azərbaycan (az)",
        "Bahasa Indonesia (id)",
        "Bahasa Malaysia (ms)",
        "Bosanski (bs)",
        "Català (ca)",
        "Čeština (cs)",
        "Dansk (da)",
        "Deutsch (de)",
        "Eesti (et)",
        "English (India) (en-IN)",
        "English (UK) (en-GB)",
        "Español (España) (es)",
        "Español (Latinoamérica) (es-419)",
        "Español (US) (es-US)",
        "Euskara (eu)",
        "Filipino (fil)",
        "Français (fr)",
        "Français (Canada) (fr-CA)",
        "Galego (gl)",
        "Hrvatski (hr)",
        "IsiZulu (zu)",
        "Íslenska (is)",
        "Italiano (it)",
        "Kiswahili (sw)",
        "Latviešu valoda (lv)",
        "Lietuvių (lt)",
        "Magyar (hu)",
        "Nederlands (nl)",
        "Norsk (no)",
        "O‘zbek (uz)",
        "Polski (pl)",
        "Português (Portugal) (pt-PT)",
        "Português (Brasil) (pt)",
        "Română (ro)",
        "Shqip (sq)",
        "Slovenčina (sk)",
        "Slovenščina (sl)",
        "Srpski — Latin (sr-Latn)",
        "Suomi (fi)",
        "Svenska (sv)",
        "Tiếng Việt (vi)",
        "Türkçe (tr)",
        "Беларуская (be)",
        "Български (bg)",
        "Кыргызча (ky)",
        "Қазақ Тілі (kk)",
        "Македонски (mk)",
        "Монгол (mn)",
        "Русский (ru)",
        "Српски (sr)",
        "Українська (uk)",
        "Ελληνικά (el)",
        "Հայերեն (hy)",
        "עברית (iw)",
        "اردو (ur)",
        "العربية (ar)",
        "فارسی (fa)",
        "नेपाली (ne)",
        "मराठी (mr)",
        "हिन्दी (hi)",
        "অসমীয়া (as)",
        "বাংলা (bn)",
        "ਪੰਜਾਬੀ (pa)",
        "ગુજરાતી (gu)",
        "ଓଡ଼ିଆ (or)",
        "தமிழ் (ta)",
        "తెలుగు (te)",
        "ಕನ್ನಡ (kn)",
        "മലയാളം (ml)",
        "සිංහල (si)",
        "ภาษาไทย (th)",
        "ລາວ (lo)",
        "ဗမာ (my)",
        "ქართული (ka)",
        "አማርኛ (am)",
        "ខ្មែរ (km)",
        "中文（简体）(zh-CN)",
        "中文（繁體）(zh-TW)",
        "中文（香港）(zh-HK)",
        "日本語 (ja)",
        "한국어 (ko)"
      ]
    }
  },
  "required": [
    "searchQueries",
    "searchType",
    "maxResultsPerQuery",
    "searchCountry",
    "searchLanguage"
  ]
}
