{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Autocomplete Scraper — Question & A–Z Keyword Ideas",
    "description": "Turn seed keywords into Google autocomplete suggestions with question (how, why, can…), a–z and 0–9 expansions for any language and country. Long-tail and FAQ ideas for SEO, content and PPC. $1 per 1,000 Google queries (up to 10 suggestions each), platform usage included.",
    "version": "0.1",
    "x-build-id": "qHh0xhsHH7chvDBmP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~google-autocomplete-keyword-discovery/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-google-autocomplete-keyword-discovery",
        "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/peerless_columbine~google-autocomplete-keyword-discovery/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-google-autocomplete-keyword-discovery",
        "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/peerless_columbine~google-autocomplete-keyword-discovery/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-google-autocomplete-keyword-discovery",
        "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": "Seed keywords or phrases to get Google autocomplete suggestions for, one per item (non-blank; duplicates are merged). Each seed is queried as-is plus any expansions you enable. Example: `[\"coffee grinder\", \"espresso machine\"]`.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language (hl parameter) as a 2-3 letter language code, optionally with region. Influences the language of suggestions. Example: `es` or `pt-BR`. It does not change the proxy/IP location.",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code (Google gl parameter), e.g. `us`, `gb`, `de`. Biases suggestions toward that country; it does not change the physical IP location.",
            "default": "us"
          },
          "maxDepth": {
            "title": "Expansion levels",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "How many levels to expand. 1 = only direct suggestions for the seeds (and their expansions); 2 or 3 = also query each returned suggestion again, multiplying the number of Google queries (and cost). Allowed range: 1–3.",
            "default": 1
          },
          "maxSuggestionsPerKeyword": {
            "title": "Suggestions per query",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Keep at most this many unique suggestions from each Google query (Google returns up to 10). Lower values reduce rows and, with maxDepth > 1, the number of follow-up queries. Allowed range: 1–10.",
            "default": 10
          },
          "appendAlphabet": {
            "title": "Append a to z",
            "type": "boolean",
            "description": "When true, also queries each seed followed by a letter a to z (`seed a`, `seed b`, ...): 26 extra queries per seed for long-tail ideas. Applies to seeds only, not to deeper levels.",
            "default": false
          },
          "expansionPatterns": {
            "title": "Extra query patterns",
            "type": "array",
            "description": "Optional extra query patterns applied to seeds only. Accepted values: `questionPrefixes` (who, what, when, where, why, how, can, is, are, should + seed: 10 extra queries per seed), `numbers` (0-9 + seed: 10 extra queries per seed). Leave empty for none.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxRequests": {
            "title": "Maximum source requests",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of Google requests in total, including retries and failed attempts; useful as a cost cap (billing is per successful query). 0 = no limit. Minimum: 0. Example: `500`.",
            "default": 0
          },
          "maxResults": {
            "title": "Maximum suggestion rows",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of suggestion rows to save; the run stops once reached. 0 = no limit (maxRequests still applies). Minimum: 0. Example: `1000`.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Retries per query",
            "minimum": 0,
            "type": "integer",
            "description": "Leave at default unless tuning: retries per query after a failed request (timeouts, HTTP 429/5xx, invalid responses). HTTP 400/401/403/404/410 are not retried. Minimum: 0.",
            "default": 3
          },
          "requestDelayMillis": {
            "title": "Delay between queries",
            "minimum": 0,
            "type": "integer",
            "description": "Leave at default unless tuning: minimum pause between Google requests, in milliseconds. Minimum: 0.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}