{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Keywords Suggest Scraper Pro",
    "description": "Scrape Google Suggest autocomplete keywords for any seed term. Pro modes: exact, all (related), questions (who/what/why), prepositions (with/for/vs), comparisons, alphabet expansion (a-z). Multi-keyword + multi-language + 200+ Google country codes.",
    "version": "1.0",
    "x-build-id": "aBiev17hnl2xGONaR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~google-keywords-suggest-scraper-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-google-keywords-suggest-scraper-pro",
        "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/crawlerbros~google-keywords-suggest-scraper-pro/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-google-keywords-suggest-scraper-pro",
        "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/crawlerbros~google-keywords-suggest-scraper-pro/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-google-keywords-suggest-scraper-pro",
        "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",
            "type": "array",
            "description": "One or more seed keywords. Each is expanded according to `mode`.",
            "default": [
              "python tutorial"
            ],
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Expansion mode",
            "enum": [
              "exact",
              "all",
              "questions",
              "prepositions",
              "comparisons",
              "alphabet"
            ],
            "type": "string",
            "description": "How each seed keyword is expanded. `exact` = no expansion. `all` = Google's related suggestions. `questions` = adds who/what/when/where/why/how prefixes. `prepositions` = adds for/with/vs/like/near. `comparisons` = adds vs/or/versus. `alphabet` = appends each letter a-z to surface long-tail.",
            "default": "all"
          },
          "country": {
            "title": "Country (gl=)",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "AT",
              "CH",
              "PT",
              "GR",
              "CZ",
              "PL",
              "SE",
              "NO",
              "DK",
              "FI",
              "HU",
              "RO",
              "BG",
              "HR",
              "SK",
              "SI",
              "EE",
              "LV",
              "LT",
              "LU",
              "MT",
              "CY",
              "IS",
              "LI",
              "MC",
              "AD",
              "SM",
              "JP",
              "KR",
              "CN",
              "TW",
              "HK",
              "MO",
              "IN",
              "PK",
              "BD",
              "LK",
              "NP",
              "AF",
              "ID",
              "TH",
              "VN",
              "PH",
              "MY",
              "SG",
              "BN",
              "MM",
              "KH",
              "LA",
              "TL",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "PE",
              "VE",
              "EC",
              "BO",
              "PY",
              "UY",
              "GT",
              "CR",
              "PA",
              "DO",
              "PR",
              "CU",
              "SV",
              "HN",
              "NI",
              "JM",
              "TT",
              "BB",
              "RU",
              "TR",
              "UA",
              "BY",
              "KZ",
              "UZ",
              "AZ",
              "AM",
              "GE",
              "MD",
              "RS",
              "BA",
              "MK",
              "AL",
              "ME",
              "XK",
              "ZA",
              "NG",
              "EG",
              "MA",
              "DZ",
              "TN",
              "KE",
              "GH",
              "ET",
              "UG",
              "TZ",
              "RW",
              "ZW",
              "SN",
              "CI",
              "CM",
              "MZ",
              "AO",
              "ZM",
              "AE",
              "SA",
              "IL",
              "QA",
              "KW",
              "BH",
              "OM",
              "JO",
              "LB",
              "SY",
              "IQ",
              "IR",
              "YE",
              "PS",
              "ALL"
            ],
            "type": "string",
            "description": "Two-letter Google country code (e.g. `US`, `GB`, `IN`, `DE`, `BR`). Affects suggestion ranking by region.",
            "default": "US"
          },
          "language": {
            "title": "Language (hl=)",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "nl",
              "pl",
              "sv",
              "no",
              "da",
              "fi",
              "cs",
              "el",
              "hu",
              "ro",
              "bg",
              "hr",
              "sk",
              "sl",
              "et",
              "lv",
              "lt",
              "ga",
              "is",
              "mt",
              "ru",
              "uk",
              "be",
              "sr",
              "bs",
              "mk",
              "sq",
              "ar",
              "tr",
              "he",
              "fa",
              "ur",
              "ku",
              "ja",
              "ko",
              "zh-CN",
              "zh-TW",
              "hi",
              "bn",
              "ta",
              "te",
              "ml",
              "mr",
              "gu",
              "kn",
              "pa",
              "ne",
              "si",
              "my",
              "id",
              "th",
              "vi",
              "ms",
              "tl",
              "km",
              "lo",
              "sw",
              "am",
              "ha",
              "yo",
              "ig",
              "zu",
              "xh",
              "af",
              "az",
              "kk",
              "uz",
              "ky",
              "tg",
              "mn",
              "ka",
              "hy"
            ],
            "type": "string",
            "description": "Two-letter language code (e.g. `en`, `es`, `fr`, `de`).",
            "default": "en"
          },
          "maxItemsPerKeyword": {
            "title": "Max suggestions per seed keyword",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on how many suggestions are emitted per seed keyword (across the whole expansion).",
            "default": 200
          },
          "minLength": {
            "title": "Min characters per suggestion",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Drop suggestions shorter than this many characters."
          },
          "maxLength": {
            "title": "Max characters per suggestion",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Drop suggestions longer than this many characters."
          },
          "containsKeyword": {
            "title": "Must contain (substring filter)",
            "type": "string",
            "description": "Only emit suggestions that contain this substring (case-insensitive). Prefix with `!` to invert (drop matches)."
          },
          "outputFormat": {
            "title": "Output shape",
            "enum": [
              "flat",
              "tree"
            ],
            "type": "string",
            "description": "`flat` (one record per suggestion) or `tree` (one record per seed with nested suggestion list).",
            "default": "flat"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}