{
  "openapi": "3.0.1",
  "info": {
    "title": "Keyword Autocomplete Scraper — Google, YouTube, Bing & Yahoo",
    "description": "Get autocomplete keyword suggestions from Google, YouTube, Google Shopping, Bing and Yahoo in one run: alphabet soup, questions, prepositions, comparisons, custom modifiers and recursive depth, for any country and language. One row per suggestion. No login.",
    "version": "0.1",
    "x-build-id": "YSbJOh9SwYyjpkSTA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~keyword-autocomplete-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-keyword-autocomplete-scraper",
        "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/yugenox~keyword-autocomplete-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-keyword-autocomplete-scraper",
        "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/yugenox~keyword-autocomplete-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-keyword-autocomplete-scraper",
        "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": {
          "seeds": {
            "title": "Seed keywords",
            "type": "array",
            "description": "The keywords to expand, one per line, e.g. \"coffee maker\", \"how to learn python\", \"running shoes\". Each seed is asked on every engine and market you pick.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Engines",
            "type": "array",
            "description": "Where the suggestions come from. Google = Google Search autocomplete; YouTube = YouTube search box; Google Shopping = Shopping search box; Bing; Yahoo (Yahoo follows its regional site: US, Canada, UK, Germany, France, Spain, Italy, Australia, India, Brazil, Mexico).",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "youtube",
                "google_shopping",
                "bing",
                "yahoo"
              ],
              "enumTitles": [
                "Google",
                "YouTube",
                "Google Shopping",
                "Bing",
                "Yahoo"
              ]
            },
            "default": [
              "google"
            ]
          },
          "expansions": {
            "title": "Expansions",
            "type": "array",
            "description": "Extra queries per seed for long-tail keywords. Questions: \"how coffee maker\", \"what coffee maker\" …; Prepositions: \"coffee maker for\", \"… with\", \"… without\" …; Comparisons: \"coffee maker vs\", \"… or\" …; Alphabet: \"coffee maker a\" … \"coffee maker z\" (26 queries); Numbers: \"coffee maker 0\" … \"9\". Question/preposition/comparison words are built in for English, German, French, Spanish, Portuguese, Italian and Dutch. Empty = the seed only.",
            "items": {
              "type": "string",
              "enum": [
                "questions",
                "prepositions",
                "comparisons",
                "alphabet",
                "numbers"
              ],
              "enumTitles": [
                "Questions (how, what, why …)",
                "Prepositions (for, with, without …)",
                "Comparisons (vs, or …)",
                "Alphabet soup (a–z)",
                "Numbers (0–9)"
              ]
            },
            "default": []
          },
          "customModifiers": {
            "title": "Custom modifiers",
            "type": "array",
            "description": "Your own words to combine with every seed. A modifier is added after the seed (\"near me\" → \"coffee maker near me\"); put {seed} where the seed should go to place it anywhere (\"best {seed} for\" → \"best coffee maker for\").",
            "items": {
              "type": "string"
            }
          },
          "depth": {
            "title": "Depth",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "1 = the seed and its expansions. 2 = every suggestion found is asked again for longer phrases (much more long-tail). 3 = once more. Each level multiplies the number of queries, so set Max suggestions accordingly.",
            "default": 1
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "2-letter country codes, e.g. us, gb, ca, de, fr, in, au. Each country is a separate market (Google's gl, Bing's market, Yahoo's regional site).",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Language codes, e.g. en, de, fr, es, pt-BR, ja. Combined with every country (us + en, de + de …). Yahoo ignores the language (its regional site decides).",
            "default": [
              "en"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxSuggestionsPerSeed": {
            "title": "Max suggestions per seed",
            "minimum": 0,
            "type": "integer",
            "description": "Most suggestions to save for one seed on one engine and market. 0 = no limit (only Max suggestions applies).",
            "default": 0
          },
          "maxItems": {
            "title": "Max suggestions",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of suggestions (rows) for the whole run, shared fairly between your seeds, engines and markets. 0 = up to 100,000.",
            "default": 500
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan. If an engine keeps refusing datacenter IPs, the run switches to residential proxies when your account has them.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}