{
  "openapi": "3.0.1",
  "info": {
    "title": "Keyword Suggestions - Google, YouTube, Amazon",
    "description": "Keyword research from real autocomplete data on Google, YouTube, Amazon, Bing, DuckDuckGo, Google Play and eBay in one run. Alphabet soup, question, preposition and buyer-intent expansion, 20 Amazon marketplaces, any country and language.",
    "version": "1.0",
    "x-build-id": "tyGDt1mQPiw7Su6CL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sharkinho~keyword-suggestions/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sharkinho-keyword-suggestions",
        "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/sharkinho~keyword-suggestions/runs": {
      "post": {
        "operationId": "runs-sync-sharkinho-keyword-suggestions",
        "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/sharkinho~keyword-suggestions/run-sync": {
      "post": {
        "operationId": "run-sync-sharkinho-keyword-suggestions",
        "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": {
          "keywords": {
            "title": "Seed keywords",
            "type": "array",
            "description": "One or more seed keywords. Each seed is expanded into many autocomplete queries (alphabet, questions, prepositions...) on every selected source. Default: coffee maker.",
            "default": [
              "coffee maker"
            ],
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Autocomplete sources to query. Each returns what real users type on that platform.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "youtube",
                "amazon",
                "bing",
                "duckduckgo",
                "googlePlay",
                "ebay"
              ],
              "enumTitles": [
                "Google",
                "YouTube",
                "Amazon",
                "Bing",
                "DuckDuckGo",
                "Google Play (apps)",
                "eBay"
              ]
            },
            "default": [
              "google",
              "youtube",
              "amazon",
              "bing"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "2-letter country code (us, gb, de, fr, es, it, br, mx, ca, au, in, jp, nl, pl...). Sets the Google/YouTube/Bing/DuckDuckGo market, the Amazon marketplace and the eBay site.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "2-letter language code (en, pt, es, de, fr, it...). Also picks the question words and prepositions used for expansion (built in for en, pt, es, de, fr, it; other languages use English modifiers, so add your own with custom prefixes/suffixes).",
            "default": "en"
          },
          "expansions": {
            "title": "Expansions",
            "type": "array",
            "description": "How each seed is expanded. alphabet: 'seed a' ... 'seed z'. numbers: 'seed 0' ... 'seed 9'. questions: 'how seed', 'what seed', 'why seed', 'can seed'... prepositions: 'seed for', 'seed with', 'seed without', 'seed near'... intent: 'best seed', 'top seed', 'seed vs', 'seed alternative', 'seed near me', 'seed price'... The plain seed is always queried. Leave empty to query only the seed.",
            "items": {
              "type": "string",
              "enum": [
                "alphabet",
                "numbers",
                "questions",
                "prepositions",
                "intent"
              ],
              "enumTitles": [
                "Alphabet soup (a-z)",
                "Numbers (0-9)",
                "Question words (how, what, why, can...)",
                "Prepositions (for, with, without, near...)",
                "Buyer intent & comparisons (best, vs, alternative, near me...)"
              ]
            },
            "default": [
              "alphabet",
              "questions",
              "prepositions",
              "intent"
            ]
          },
          "customPrefixes": {
            "title": "Custom prefixes",
            "type": "array",
            "description": "Extra words put before each seed, e.g. 'diy', 'cheap', 'handmade'.",
            "items": {
              "type": "string"
            }
          },
          "customSuffixes": {
            "title": "Custom suffixes",
            "type": "array",
            "description": "Extra words put after each seed, e.g. 'for beginners', '2026', 'gift'.",
            "items": {
              "type": "string"
            }
          },
          "recursionDepth": {
            "title": "Recursion depth",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "0 = query only the seed and its expansions. 1 = also query every suggestion found (on the same source), which finds long-tail keywords. 2-3 go deeper but multiply requests. Bounded by Max keywords.",
            "default": 0
          },
          "maxKeywords": {
            "title": "Max keywords",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many keyword rows (you pay per row).",
            "default": 500
          },
          "dedupe": {
            "title": "De-duplication",
            "enum": [
              "source",
              "global",
              "none"
            ],
            "type": "string",
            "description": "source: each keyword once per source (keeps cross-source signal). global: each keyword once in the whole run (first source wins). none: keep every occurrence.",
            "default": "source"
          },
          "mustContainSeed": {
            "title": "Only keywords containing the seed words",
            "type": "boolean",
            "description": "Drop suggestions that do not contain every word of the seed (e.g. Amazon often suggests related brands).",
            "default": false
          },
          "excludeTerms": {
            "title": "Exclude terms",
            "type": "array",
            "description": "Drop suggestions that contain any of these terms (case-insensitive), e.g. competitor brands or 'free'.",
            "items": {
              "type": "string"
            }
          },
          "minWordCount": {
            "title": "Minimum word count",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Drop suggestions with fewer words, e.g. 3 to keep only long-tail keywords.",
            "default": 1
          },
          "maxConcurrency": {
            "title": "Parallel requests per source",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Requests in flight per source. Requests are also spaced out per source to stay friendly with rate limits. Lower it if you see many retries.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Usually not needed: the suggest endpoints are public. Enable Apify Proxy for very large runs if you see repeated 429/403 errors.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}