{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Autocomplete Keyword Tool + Content Gap Finder",
    "description": "Long-tail keywords from the autocomplete of Google, YouTube, Bing, Amazon, eBay, DuckDuckGo, Yahoo, Google Shopping, TikTok and Baidu, ranked by how many engines suggest them, plus a content gap: which ones your site has no page for. Optional AI topics. No login.",
    "version": "0.1",
    "x-build-id": "KZlUmFGi5b80b0tFz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bossless~autocomplete-keyword-expander/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bossless-autocomplete-keyword-expander",
        "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/bossless~autocomplete-keyword-expander/runs": {
      "post": {
        "operationId": "runs-sync-bossless-autocomplete-keyword-expander",
        "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/bossless~autocomplete-keyword-expander/run-sync": {
      "post": {
        "operationId": "run-sync-bossless-autocomplete-keyword-expander",
        "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": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Seed keywords",
            "minItems": 1,
            "type": "array",
            "description": "One or more seed keywords. Each is expanded on every selected engine; a keyword found from several seeds is delivered (and charged) once.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Autocomplete engines",
            "type": "array",
            "description": "Where to collect suggestions. A keyword suggested by more engines ranks higher (engineCount).",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "youtube",
                "bing",
                "amazon",
                "ebay",
                "duckduckgo",
                "yahoo",
                "google-shopping",
                "tiktok",
                "baidu"
              ],
              "enumTitles": [
                "Google",
                "YouTube",
                "Bing",
                "Amazon",
                "eBay",
                "DuckDuckGo",
                "Yahoo",
                "Google Shopping",
                "TikTok",
                "Baidu (百度)"
              ]
            },
            "default": [
              "google",
              "youtube",
              "bing",
              "amazon"
            ]
          },
          "expansions": {
            "title": "Expansions",
            "type": "array",
            "description": "How each seed is varied before asking the engines. The seed itself is always asked. Questions exist for English, German, French, Spanish, Italian, Portuguese and Dutch; prepositions and buying words for English.",
            "items": {
              "type": "string",
              "enum": [
                "alphabet",
                "numbers",
                "questions",
                "prepositions",
                "commercial"
              ],
              "enumTitles": [
                "Alphabet: seed + a…z",
                "Numbers: seed + 0…9",
                "Questions: how/what/why… + seed",
                "Prepositions: seed + for/with/vs/near… (English)",
                "Buying words: best/cheap/buy + seed, seed + review/price/alternative (English)"
              ]
            },
            "default": [
              "alphabet",
              "questions"
            ]
          },
          "maxKeywordsPerSeed": {
            "title": "Max keywords per seed",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The strongest N keywords per seed (most engines first). Alphabet + questions on 4 engines found 660–1,220 per seed in our tests; the default keeps the best 200.",
            "default": 200
          },
          "deeper": {
            "title": "Go deeper (expand the top 25 suggestions again)",
            "type": "boolean",
            "description": "Also asks every engine for the 25 strongest suggestions themselves, for more long-tail variants.",
            "default": false
          },
          "country": {
            "title": "Country",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Two-letter country code (us, gb, de, fr, es, it, ca, au, in, jp …). Localises Google, Bing, DuckDuckGo, Amazon and eBay; requests go out from a residential IP in that country.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "pattern": "^[A-Za-z]{2}$",
            "type": "string",
            "description": "Two-letter language code (en, de, fr, es …) for the engines and the question words.",
            "default": "en"
          },
          "siteUrl": {
            "title": "Your website or sitemap URL (content gap)",
            "type": "string",
            "description": "Optional. Your site (https://example.com, or https://example.com/blog for one section) or its sitemap URL. Every keyword then says whether a page of yours already targets it (covered), how much of it (coverage) and the closest page."
          },
          "aiInsights": {
            "title": "AI topic and content idea per keyword",
            "type": "boolean",
            "description": "Groups keywords into topics and suggests a title for the page or video that would answer each one. Charged as an AI keyword instead of a keyword. Free-plan runs include a 3-keyword trial.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}