{
  "openapi": "3.0.1",
  "info": {
    "title": "Google, YouTube & Amazon Autocomplete Scraper ($0.35/1k)",
    "description": "Scrape Google, YouTube, Google Shopping, Amazon, Bing & DuckDuckGo autocomplete keyword suggestions in one run. Includes Google internal relevance score, buyer-intent & BOFU/MOFU/TOFU classification, A-Z/question/buyer-intent fan-out & $0 start fee ($0.35/1k keywords).",
    "version": "1.0",
    "x-build-id": "8FJlnKfr2H3A1bpCs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aimtomisbehave~google-autocomplete-keyword-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aimtomisbehave-google-autocomplete-keyword-scraper",
        "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/aimtomisbehave~google-autocomplete-keyword-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aimtomisbehave-google-autocomplete-keyword-scraper",
        "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/aimtomisbehave~google-autocomplete-keyword-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aimtomisbehave-google-autocomplete-keyword-scraper",
        "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",
        "properties": {
          "seeds": {
            "title": "Seed Keywords",
            "type": "array",
            "description": "One or more seed keywords or phrases to expand (e.g. 'crm software', 'running shoes', 'emergency plumber').",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Search Engines",
            "type": "array",
            "description": "Select which autocomplete engines to query concurrently (`google`, `youtube`, `google_shopping`, `amazon`, `bing`, `duckduckgo`).",
            "default": [
              "google",
              "youtube",
              "bing"
            ],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country Code (ISO 2-Letter)",
            "type": "string",
            "description": "2-letter ISO country code for geo-targeted suggestions & Amazon marketplace (e.g. `US`, `GB`, `DE`, `IN`, `CA`, `AU`, `FR`, `ES`, `IT`, `BR`, `JP`).",
            "default": "US"
          },
          "language": {
            "title": "Language Code",
            "type": "string",
            "description": "2-letter ISO language code (e.g. `en`, `de`, `es`, `fr`, `pt`, `hi`, `ja`).",
            "default": "en"
          },
          "expandBuyerIntent": {
            "title": "Expand Buyer-Intent Modifiers (BOFU/MOFU)",
            "type": "boolean",
            "description": "Automatically query commercial & transactional modifiers (`best *`, `* vs`, `* alternatives`, `* pricing`, `* software`, `* near me`).",
            "default": true
          },
          "expandQuestions": {
            "title": "Expand Question Prefixes (AEO / People Ask)",
            "type": "boolean",
            "description": "Automatically query question modifiers (`how to *`, `what is *`, `why *`, `which *`, `can *`, `* vs`). Ideal for SEO & AI Overview / GEO content.",
            "default": true
          },
          "expandAlphabet": {
            "title": "Expand A–Z Alphabet (`seed a` ... `seed z`)",
            "type": "boolean",
            "description": "Append all 26 letters (`a` through `z`) to every seed keyword to uncover hundreds of hidden long-tail variations.",
            "default": false
          },
          "expandPrepositions": {
            "title": "Expand Prepositions (`for`, `with`, `without`, `like`, `near`)",
            "type": "boolean",
            "description": "Append niche audience/use-case prepositions (`* for`, `* with`, `* without`, `* like`, `* near`) to surface specific buyer segments.",
            "default": false
          },
          "expandNumbers": {
            "title": "Expand Numbers (`0–9`)",
            "type": "boolean",
            "description": "Append digits `0` through `9` to each seed keyword.",
            "default": false
          },
          "wildcardPrefix": {
            "title": "Include Before-Seed Wildcard (`_ seed`)",
            "type": "boolean",
            "description": "Query Google with a leading wildcard (`_ seed`) to discover words users type *before* your seed keyword.",
            "default": false
          },
          "maxDepth": {
            "title": "Recursive Depth (1 or 2)",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "Depth `1` expands your seed keywords; Depth `2` recursively feeds top Level-1 discoveries back into Google Autocomplete.",
            "default": 1
          },
          "maxResultsPerSeed": {
            "title": "Max Keywords per Seed",
            "minimum": 5,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap total unique keyword suggestions emitted per seed keyword so spend stays 100% predictable.",
            "default": 100
          },
          "minIntentFilter": {
            "title": "Filter by Intent (Optional)",
            "enum": [
              "all",
              "buyer_only",
              "questions_only"
            ],
            "type": "string",
            "description": "Keep `all` suggestions, or filter strictly to `buyer_only` (`transactional` + `commercial` + `comparison` + `local`) or `questions_only`.",
            "default": "all"
          },
          "deduplicateAcrossEngines": {
            "title": "Merge & Deduplicate Across Engines",
            "type": "boolean",
            "description": "Merge identical suggestions found across Google, YouTube, Amazon & Bing into a single enriched row with `engines` list and `engineCount`.",
            "default": true
          },
          "datasetId": {
            "title": "Upstream Apify Dataset ID",
            "type": "string",
            "description": "Select or paste an Apify Dataset ID to enrich rows with autocomplete keyword ideas."
          },
          "csvUrl": {
            "title": "Public CSV / Google Sheet Export URL",
            "type": "string",
            "description": "Optional public HTTP(S) CSV URL containing seed keywords."
          },
          "seedColumn": {
            "title": "Seed Column Name (Optional)",
            "type": "string",
            "description": "Column/field name in the upstream Dataset or CSV (auto-detects `keyword`, `seed`, `query`, `topic`, `category`, `title` if left blank)."
          },
          "preserveDatasetFields": {
            "title": "Preserve Upstream Dataset Columns",
            "type": "boolean",
            "description": "Keep upstream Dataset/CSV fields attached to each generated keyword row.",
            "default": true
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Parallel HTTPS workers (1–25).",
            "default": 12
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}