{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Autocomplete Keyword Expander – A-Z & Questions",
    "description": "Expand seed keywords with Google Autocomplete suggestions: a-z, 0-9, question words, prepositions and custom modifiers, chosen language/country (hl/gl), optional recursion. One row per keyword or per suggestion, plus CSV. US$0.002 per keyword with results, no start fee. Unofficial; no proxy needed.",
    "version": "0.2",
    "x-build-id": "Z6GGx0NIHbnXhGPiL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/raspberry_rondel~google-autocomplete-keywords/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-raspberry_rondel-google-autocomplete-keywords",
        "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/raspberry_rondel~google-autocomplete-keywords/runs": {
      "post": {
        "operationId": "runs-sync-raspberry_rondel-google-autocomplete-keywords",
        "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/raspberry_rondel~google-autocomplete-keywords/run-sync": {
      "post": {
        "operationId": "run-sync-raspberry_rondel-google-autocomplete-keywords",
        "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": [
          "seeds"
        ],
        "properties": {
          "seeds": {
            "title": "Seed keywords",
            "type": "array",
            "description": "Keywords to expand. Blank entries and duplicates are dropped (seeds are lower-cased).",
            "items": {
              "type": "string"
            }
          },
          "includeBase": {
            "title": "Plain seed query",
            "type": "boolean",
            "description": "Query the seed itself (Google's top suggestions for the seed).",
            "default": true
          },
          "alphabet": {
            "title": "A–Z suffixes",
            "type": "boolean",
            "description": "'seed a' … 'seed z' (26 queries per keyword).",
            "default": true
          },
          "numbers": {
            "title": "0–9 suffixes",
            "type": "boolean",
            "description": "'seed 0' … 'seed 9' (10 queries per keyword).",
            "default": false
          },
          "questions": {
            "title": "Question prefixes",
            "type": "boolean",
            "description": "how, what, why, when, where, which, who, can, is, are, does, will + seed (12 queries).",
            "default": true
          },
          "prepositions": {
            "title": "Preposition / comparison suffixes",
            "type": "boolean",
            "description": "seed + for, with, without, to, near, vs, like, versus, and, or, is, can (12 queries).",
            "default": false
          },
          "customModifiers": {
            "title": "Custom modifiers",
            "type": "array",
            "description": "Your own words, e.g. 'best', 'cheap', '2026'. One query each per position.",
            "items": {
              "type": "string"
            }
          },
          "customPosition": {
            "title": "Custom modifier position",
            "enum": [
              "suffix",
              "prefix",
              "both"
            ],
            "type": "string",
            "description": "Put custom modifiers after the keyword, before it, or both.",
            "default": "suffix"
          },
          "hl": {
            "title": "Language (hl)",
            "type": "string",
            "description": "Interface language code, e.g. en, de, ja, zh-TW. Checked before any request: an unknown code stops the run with a clear message, nothing charged.",
            "default": "en"
          },
          "gl": {
            "title": "Country (gl)",
            "type": "string",
            "description": "Two-letter country code, e.g. us, gb, de, jp, tw. Empty = not set. Checked before any request: an unknown code stops the run with a clear message, nothing charged.",
            "default": "us"
          },
          "maxDepth": {
            "title": "Recursion depth",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "0 = expand seeds only. 1–2 = also expand the top suggestions of each keyword with the same modes. Hard cap 2.",
            "default": 0
          },
          "recursionTopN": {
            "title": "Children per keyword (recursion)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many of a keyword's plain-query suggestions are expanded at the next depth.",
            "default": 5
          },
          "maxKeywords": {
            "title": "Max keywords expanded per run",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard limit on seeds + recursive keywords expanded (each one is a billable event if it returns suggestions). Leave empty for the default: 100, or the number of seeds if you enter more than 100. Seeds beyond the limit get a free row with status skipped-max-keywords."
          },
          "dedupAcrossSeeds": {
            "title": "Deduplicate across seeds",
            "type": "boolean",
            "description": "Off: each suggestion appears once per seed. On: once per run.",
            "default": false
          },
          "outputLayout": {
            "title": "Dataset layout",
            "enum": [
              "keyword",
              "flat"
            ],
            "type": "string",
            "description": "Apify bills dataset writes per item, so 'keyword' is much cheaper to run. OUTPUT.csv in the key-value store is always flat (one row per suggestion).",
            "default": "keyword"
          },
          "client": {
            "title": "Suggest client",
            "enum": [
              "firefox",
              "chrome"
            ],
            "type": "string",
            "description": "Which public suggest format to request. Both returned the same lists in our tests.",
            "default": "firefox"
          },
          "delayBetweenRequestsMs": {
            "title": "Delay between requests (ms)",
            "minimum": 100,
            "type": "integer",
            "description": "Polite pause after every successful request.",
            "default": 400
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "For 408/429/5xx/network errors only. Exponential backoff, honours Retry-After.",
            "default": 4
          },
          "baseDelayMs": {
            "title": "Backoff base delay (ms)",
            "minimum": 100,
            "type": "integer",
            "description": "Doubles on each retry, plus jitter.",
            "default": 3000
          },
          "maxDelayMs": {
            "title": "Max backoff delay (ms)",
            "minimum": 1000,
            "type": "integer",
            "description": "Upper limit on any single wait.",
            "default": 60000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}