{
  "openapi": "3.0.1",
  "info": {
    "title": "Youtube Auto Complete And Query Suggestion",
    "description": "「 𝙊𝙉𝙇𝙔 $𝟬.𝟭/𝟭𝟬𝟬𝟬 𝙧𝙚𝙨𝙪𝙡𝙩𝙨 」Extract YouTube autocomplete suggestions for SEO keyword research and content ideation. 🌍 Supports 50+ languages & 100+ countries. 🎉",
    "version": "1.0",
    "x-build-id": "3BvxWoxqwbICeylBr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~youtube-auto-complete-and-query-suggestion/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-youtube-auto-complete-and-query-suggestion",
        "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/sian.agency~youtube-auto-complete-and-query-suggestion/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-youtube-auto-complete-and-query-suggestion",
        "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/sian.agency~youtube-auto-complete-and-query-suggestion/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-youtube-auto-complete-and-query-suggestion",
        "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": {
          "query": {
            "title": "🔍 Search Query",
            "minLength": 1,
            "maxLength": 500,
            "type": "string",
            "description": "🔍 **Enter a search term** to get YouTube autocomplete suggestions.\n\n📊 **RETURNS MAX 14 SUGGESTIONS** - Each query generates 10-14 suggestion rows (one result per suggestion), charged individually.\n\n💡 **EXAMPLE:** Query \"javascript\" → 14 separate dataset rows with suggestions like \"javascript tutorial\", \"javascript for beginners\", etc.",
            "default": "tokyo"
          },
          "bulkQueries": {
            "title": "📦 Bulk Queries (PAID only)",
            "type": "array",
            "description": "💎 **PAID TIER FEATURE** - Process multiple search queries at once.\n\n📊 **EACH QUERY = MAX 14 SUGGESTIONS** - Every keyword generates 10-14 suggestion rows (one result per suggestion), charged individually.\n\n🔒 **Requires PAID subscription** - Upgrade at https://console.apify.com/billing",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "🌍 Location",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "IN",
              "DE",
              "FR",
              "BR",
              "KR",
              "RU",
              "JP",
              "IT",
              "ES",
              "MX",
              "ID",
              "PH",
              "TR",
              "SA",
              "AE",
              "NL",
              "TH",
              "ZA",
              "NG",
              "BD",
              "EG",
              "PK",
              "VN",
              "IR",
              "MY",
              "CO",
              "AR",
              "CL",
              "PE",
              "VE",
              "SG",
              "PL",
              "UA",
              "BE",
              "SE",
              "AT",
              "CH",
              "NO",
              "DK",
              "FI",
              "CZ",
              "GR",
              "PT",
              "HU",
              "RO",
              "IE",
              "IL",
              "HK",
              "NZ",
              "TW",
              "KW",
              "QA",
              "OM",
              "JO",
              "DZ",
              "MA",
              "TN",
              "KE",
              "GH",
              "ET",
              "TZ",
              "UG",
              "ZM",
              "ZW",
              "AO",
              "CM",
              "CI",
              "SN",
              "ML",
              "BF",
              "NE",
              "MG",
              "MU",
              "LR",
              "SL",
              "GW",
              "CG",
              "CD",
              "NA",
              "BW",
              "SZ",
              "LS",
              "SC",
              "CV",
              "ST",
              "GN",
              "MR",
              "TD",
              "CF",
              "DJ",
              "ER",
              "SO",
              "SD",
              "LY",
              "YE",
              "SY",
              "IQ",
              "AF",
              "KZ",
              "UZ",
              "KG",
              "TJ",
              "TM",
              "MN",
              "NP",
              "BT",
              "LK",
              "MV",
              "MM",
              "KH",
              "LA",
              "KP",
              "FJ",
              "PG",
              "SB",
              "VU",
              "WS",
              "TO",
              "KI",
              "TV",
              "NR",
              "PW",
              "FM",
              "MH",
              "MP",
              "GU",
              "AS",
              "CK",
              "NU",
              "PF",
              "WF",
              "PN",
              "TK",
              "GL",
              "FO",
              "AX",
              "SJ",
              "BV",
              "HM",
              "NF",
              "CX",
              "CC",
              "MS",
              "TC",
              "VG",
              "KY",
              "BM",
              "AI",
              "BB",
              "GD",
              "AG",
              "KN",
              "LC",
              "VC",
              "TT",
              "DM",
              "JM",
              "HT",
              "DO",
              "PR",
              "CU",
              "PA",
              "CR",
              "NI",
              "HN",
              "SV",
              "GT",
              "BZ",
              "GY",
              "SR",
              "GF",
              "BO",
              "PY",
              "UY",
              "EC",
              "FK",
              "GS",
              "SH",
              "IO",
              "TF",
              "YT",
              "RE",
              "BL",
              "MF",
              "PM",
              "NC",
              "UM"
            ],
            "type": "string",
            "description": "🌍 **LOCATION FILTER:** Set the geographic location for personalized YouTube autocomplete suggestions.\n\n📝 **WHAT THIS DOES:**\n• YouTube returns different autocomplete suggestions based on geographic location\n• Influences trending searches and regional content\n• Affects search rankings and recommendations\n\n🌎 **SUPPORTS 100+ COUNTRIES:**\n• All major global markets covered\n• Uses ISO 3166-1 alpha-2 country codes (matching YouTube API)\n\n✅ **DEFAULT:** US (United States)",
            "default": "US"
          },
          "language": {
            "title": "🗣️ Language",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "zh",
              "ja",
              "ko",
              "ar",
              "hi",
              "tr",
              "pl",
              "nl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "el",
              "he",
              "th",
              "vi",
              "id",
              "ms",
              "tl",
              "uk",
              "ro",
              "hr",
              "sr",
              "bg",
              "sk",
              "sl",
              "et",
              "lv",
              "lt",
              "mt",
              "is",
              "mk",
              "sq",
              "bs",
              "cy",
              "ga",
              "fa",
              "ur",
              "ps",
              "az",
              "ka",
              "hy",
              "bn",
              "ta",
              "te",
              "kn",
              "ml",
              "mr",
              "gu",
              "sw",
              "af",
              "yo",
              "ig",
              "ha",
              "zu",
              "am",
              "so"
            ],
            "type": "string",
            "description": "🗣️ **LANGUAGE FILTER:** Set the language preference for YouTube autocomplete suggestions.\n\n📝 **WHAT THIS DOES:**\n• Influences autocomplete suggestions and search predictions\n• Affects localized search results\n• Changes interface language context\n\n🌍 **SUPPORTS 50+ LANGUAGES:**\n• Uses ISO 639-1 language codes (matching YouTube API)\n• Covers all major world languages\n\n✅ **DEFAULT:** en (English)",
            "default": "en"
          },
          "fastProcessing": {
            "title": "⚡ Fast Processing",
            "type": "boolean",
            "description": "Enable priority processing mode for faster results.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}