{
  "openapi": "3.0.1",
  "info": {
    "title": "Keyword Research Scraper - Google, YouTube, Amazon & More",
    "description": "Multi-platform keyword research from autocomplete. One seed explodes into hundreds of long-tail keywords across Google, YouTube, Bing, Amazon, eBay, DuckDuckGo & Wikipedia — each scored for search intent, word count and cross-platform demand. Monitor mode returns only new keywords.",
    "version": "1.0",
    "x-build-id": "0eZ6fejkWLL27PWmy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~keyword-research-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-keyword-research-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/scrapesage~keyword-research-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-keyword-research-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/scrapesage~keyword-research-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-keyword-research-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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Seed keywords",
            "type": "array",
            "description": "One or more seed keywords or phrases to research. Each seed is expanded into hundreds of real autocomplete suggestions across every selected platform. Example: `coffee maker`, `crm software`, `running shoes`.",
            "items": {
              "type": "string"
            }
          },
          "platforms": {
            "title": "Platforms / search engines",
            "type": "array",
            "description": "Which autocomplete sources to query. Each platform reflects what real users type there: Google/Bing/DuckDuckGo = web SEO, YouTube = video SEO, Amazon/eBay = e-commerce & product research, Wikipedia = entities/topics, Google Images/News/Shopping = vertical intent. Add several to see cross-platform demand for the same keyword.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "youtube",
                "bing",
                "amazon",
                "ebay",
                "duckduckgo",
                "wikipedia",
                "google_images",
                "google_news",
                "google_shopping"
              ],
              "enumTitles": [
                "Google (web search)",
                "YouTube",
                "Bing",
                "Amazon",
                "eBay",
                "DuckDuckGo",
                "Wikipedia",
                "Google Images",
                "Google News",
                "Google Shopping"
              ]
            },
            "default": [
              "google"
            ]
          },
          "expansions": {
            "title": "Keyword expansion strategies",
            "type": "array",
            "description": "How aggressively to multiply each seed before querying. `alphabet` appends a–z, `numbers` appends 0–9, `questions` prepends who/what/why/how…, `prepositions` appends for/with/near…, `comparisons` appends vs/alternative…, `commercial` adds best/buy/price/review… Leave empty to only query the bare seed. More strategies = more long-tail keywords (and more autocomplete requests).",
            "items": {
              "type": "string",
              "enum": [
                "alphabet",
                "numbers",
                "questions",
                "prepositions",
                "comparisons",
                "commercial"
              ],
              "enumTitles": [
                "Alphabet (a–z)",
                "Numbers (0–9)",
                "Questions (how/what/why…)",
                "Prepositions (for/with/near…)",
                "Comparisons (vs/alternative…)",
                "Commercial (best/buy/price…)"
              ]
            },
            "default": [
              "alphabet",
              "questions",
              "prepositions"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code that localises the suggestions, e.g. `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `IN`. Controls Google `gl`, the Amazon/eBay marketplace and the Bing/DuckDuckGo region.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code, e.g. `en`, `es`, `fr`, `de`, `pt`, `hi`. Controls Google `hl`, the Bing market and the Wikipedia edition.",
            "default": "en"
          },
          "recursiveDepth": {
            "title": "Recursive depth",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "How many extra levels to dig: at depth 1+, the keywords discovered at the previous level are re-queried to surface even deeper long-tail terms. 0 = seeds only. Use 1 for a big jump in coverage; higher values multiply requests fast (bounded by Max keywords).",
            "default": 0
          },
          "recursionMaxTermsPerLevel": {
            "title": "Max terms to expand per recursion level",
            "minimum": 1,
            "type": "integer",
            "description": "When recursive depth > 0, cap how many newly discovered keywords are expanded at each deeper level (cost control).",
            "default": 50
          },
          "maxResults": {
            "title": "Max keywords",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of unique keyword records output across the whole run (controls cost). The run stops collecting once this is reached.",
            "default": 1000
          },
          "maxKeywordsPerSeed": {
            "title": "Max keywords per seed",
            "minimum": 0,
            "type": "integer",
            "description": "Optional per-seed cap on unique keywords (0 = no per-seed cap). Useful when researching many seeds at once to keep each one balanced.",
            "default": 0
          },
          "dedupeAcrossPlatforms": {
            "title": "Merge the same keyword across platforms",
            "type": "boolean",
            "description": "ON (recommended): output one row per unique keyword, with a `platforms`/`platformCount` field and a `sources` array showing every platform + rank it surfaced on — a strong demand signal. OFF: output one row per keyword PER platform.",
            "default": true
          },
          "includeQuestionsOnly": {
            "title": "Only question keywords",
            "type": "boolean",
            "description": "Keep only question-style keywords (how/what/why/where… or containing `?`) — perfect for FAQ pages, People-Also-Ask content and informational SEO.",
            "default": false
          },
          "minWordCount": {
            "title": "Minimum word count",
            "minimum": 0,
            "type": "integer",
            "description": "Drop keywords shorter than this many words. Set to 3+ to keep only long-tail keywords.",
            "default": 0
          },
          "mustIncludeTerms": {
            "title": "Must include any of these terms",
            "type": "array",
            "description": "Keep only keywords containing at least one of these words/phrases (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "excludeTerms": {
            "title": "Exclude these terms",
            "type": "array",
            "description": "Drop keywords containing any of these words/phrases (case-insensitive) — e.g. brand names, `free`, `jobs`.",
            "items": {
              "type": "string"
            }
          },
          "monitorMode": {
            "title": "Monitor mode — only new keywords",
            "type": "boolean",
            "description": "Remember which keywords were emitted in previous runs (in a named key-value store) and return ONLY keywords not seen before — ideal for tracking emerging long-tail terms and trends. Works with Apify Schedules: the schedule starts the run, monitor mode deduplicates against prior runs.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Names the monitor store so you can keep separate watch-lists (e.g. one per topic or market). Lowercase letters, numbers and hyphens.",
            "default": "default"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Maximum number of autocomplete requests fetched in parallel.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy settings. The autocomplete endpoints are lightweight and work well through the default Apify proxy; rotating IPs spreads any per-IP rate limit.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}