{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Autocomplete & Suggest Scraper: Keyword Ideas",
    "description": "Google Autocomplete (Google Suggest) scraper: turn one seed keyword into hundreds of real search suggestions from Google, YouTube, Google Shopping, Bing and DuckDuckGo. Finds the questions people ask, comparisons and long-tail keywords, labelled by type. Any country and language.",
    "version": "0.1",
    "x-build-id": "tqbtLeuDGCi9XLmBb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crunchy_galaxy_qcr~google-autocomplete-keyword-ideas/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crunchy_galaxy_qcr-google-autocomplete-keyword-ideas",
        "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/crunchy_galaxy_qcr~google-autocomplete-keyword-ideas/runs": {
      "post": {
        "operationId": "runs-sync-crunchy_galaxy_qcr-google-autocomplete-keyword-ideas",
        "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/crunchy_galaxy_qcr~google-autocomplete-keyword-ideas/run-sync": {
      "post": {
        "operationId": "run-sync-crunchy_galaxy_qcr-google-autocomplete-keyword-ideas",
        "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": "One keyword or phrase per line. Each seed is expanded into many autocomplete lookups (questions, comparisons, prepositions and a to z).",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Where to get suggestions",
            "type": "array",
            "description": "Each source is read separately and returns its own ideas. Google Search alone gives roughly 300 to 500 ideas per seed.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "youtube",
                "google-shopping",
                "bing",
                "duckduckgo"
              ],
              "enumTitles": [
                "Google Search",
                "YouTube",
                "Google Shopping",
                "Bing",
                "DuckDuckGo"
              ]
            },
            "default": [
              "google"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code, for example us, gb, de or br. Suggestions differ by country.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code, for example en, es, de, fr, pt or it. Question words and prepositions are built in for those six languages; other languages use the English set.",
            "default": "en"
          },
          "expansions": {
            "title": "Ways to expand each seed",
            "type": "array",
            "description": "Questions adds how, what, why and so on. Prepositions adds for, with, near. Comparisons adds vs, or, alternative, and also best, cheap and top. A to z adds each letter after the seed. 0 to 9 adds each digit.",
            "items": {
              "type": "string",
              "enum": [
                "questions",
                "prepositions",
                "comparisons",
                "alphabet",
                "numbers"
              ],
              "enumTitles": [
                "Questions",
                "Prepositions",
                "Comparisons",
                "A to z",
                "0 to 9"
              ]
            },
            "default": [
              "questions",
              "prepositions",
              "comparisons",
              "alphabet"
            ]
          },
          "expandTopSuggestions": {
            "title": "Go one level deeper on the first N suggestions",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Looks up the first N suggestions themselves to find longer phrases. 0 turns this off. Maximum 25.",
            "default": 0
          },
          "questionsOnly": {
            "title": "Questions only",
            "type": "boolean",
            "description": "Keep only suggestions phrased as questions. Useful for FAQ and content ideas.",
            "default": false
          },
          "mustInclude": {
            "title": "Must contain (any of)",
            "type": "array",
            "description": "Keep only ideas containing at least one of these words or phrases.",
            "items": {
              "type": "string"
            }
          },
          "exclude": {
            "title": "Must not contain",
            "type": "array",
            "description": "Drop ideas containing any of these words, for example brand names or \"free\".",
            "items": {
              "type": "string"
            }
          },
          "minWords": {
            "title": "Minimum number of words",
            "minimum": 1,
            "type": "integer",
            "description": "Set to 3 or 4 to keep only long-tail phrases.",
            "default": 1
          },
          "maxIdeasPerSeed": {
            "title": "Maximum ideas per seed and source",
            "minimum": 0,
            "type": "integer",
            "description": "0 means no limit.",
            "default": 0
          },
          "includeSeedSummary": {
            "title": "Add a summary row per seed",
            "type": "boolean",
            "description": "Add one free row per seed: counts by source and type, sample questions, and the ideas that more than one search engine suggests.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Runs without a proxy by default. Turn one on only if a very large run gets rate-limited."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}