{
  "openapi": "3.0.1",
  "info": {
    "title": "Keyword Search Volume Checker",
    "description": "Keyword search volume checker: monthly search volume, CPC, ad competition, top-of-page bids, keyword difficulty and search intent for your keywords, with Bing figures beside Google's. Or expand seeds into keyword ideas, or list the keywords a website ranks for.",
    "version": "0.1",
    "x-build-id": "w0we92dxfXex7hXIv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dami_studio~keyword-search-volume-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dami_studio-keyword-search-volume-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/dami_studio~keyword-search-volume-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dami_studio-keyword-search-volume-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/dami_studio~keyword-search-volume-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dami_studio-keyword-search-volume-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": {
          "mode": {
            "title": "What to get",
            "enum": [
              "metrics",
              "ideas",
              "both",
              "domain"
            ],
            "type": "string",
            "description": "Figures for your keywords (one row each, in the order you give them), new keyword ideas grown from your keywords, both in one run, or the keywords a website ranks for on Google.",
            "default": "metrics"
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "One keyword per line. In ideas mode these are the seeds. Capital letters and repeats are folded together, so they cost nothing extra. A keyword longer than 80 characters or 10 words gets a free row saying so.",
            "items": {
              "type": "string"
            }
          },
          "keywordsText": {
            "title": "Or paste a list",
            "type": "string",
            "description": "Paste keywords here instead, one per line or separated by commas. They are added to the list above."
          },
          "domain": {
            "title": "Website",
            "type": "string",
            "description": "Only for \"Keywords a website ranks for\". A domain such as example.com; https:// and paths are trimmed off."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "The market the figures are for. Pick one, or type a two-letter code, the country's name in English or its own language, a locale tag such as en-GB, or a Google location code such as 2840.",
            "default": "us"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "The language of the searches. Auto picks the main language of the country. You can also type a code or the language's name.",
            "default": "auto"
          },
          "location": {
            "title": "City or region (optional)",
            "type": "string",
            "description": "Narrow Google figures to a city or region of the country, written the way a map would, for example \"Austin, Texas\". Works for figures and for ideas from Google's ad planner. Difficulty, intent and Bing stay country-wide, so they are left empty."
          },
          "includeGoogle": {
            "title": "Google figures",
            "type": "boolean",
            "description": "On by default. Turn it off, with Bing on, for Bing figures alone (figures mode only).",
            "default": true
          },
          "includeBing": {
            "title": "Add Bing figures",
            "type": "boolean",
            "description": "Bing search volume, CPC and competition beside Google's on each row, in every mode. Bing covers the United States, the United Kingdom, Canada, Australia, Germany and France, in English, French or German. Adds one ad planner lookup fee per 200 keywords.",
            "default": false
          },
          "includeBingBids": {
            "title": "Add Bing top-of-page bids",
            "type": "boolean",
            "description": "The lowest and highest average bid, in US dollars, that put an ad above Bing's results last month, in every mode. Same countries and languages as the Bing figures, country level only (with a city set the two columns stay empty). Works with or without the Bing figures. Adds one ad planner lookup fee per 1,000 keywords.",
            "default": false
          },
          "includeAiVolume": {
            "title": "Add AI assistant search volume",
            "type": "boolean",
            "description": "How often each keyword is asked in AI assistants, with a monthly series, in every mode. Adds a lookup fee per 1,000 keywords and an add-on charge per keyword that comes back with a number.",
            "default": false
          },
          "includeIntentScores": {
            "title": "Add intent scores",
            "type": "boolean",
            "description": "How sure the intent label is (0 to 1), and the runner-up intent with its score, in every mode. Adds a lookup fee per 1,000 keywords and an add-on charge per keyword scored.",
            "default": false
          },
          "includeTrend": {
            "title": "Include the monthly series",
            "type": "boolean",
            "description": "On by default. Turn it off for lighter rows without the month-by-month lists; the trend columns stay.",
            "default": true
          },
          "bypassCache": {
            "title": "Bypass the cache",
            "type": "boolean",
            "description": "An identical lookup made in the last 30 days is answered from a small cache in your own Apify storage, without the lookup fee. Turn this on to ask again; the fresh answer replaces the cached one.",
            "default": false
          },
          "fillMissing": {
            "title": "Look harder for rare keywords",
            "type": "boolean",
            "description": "Keywords with very little search traffic sometimes come back without figures. With this on, those are checked once more in Google's ad planner, which adds one ad planner lookup fee per 1,000 such keywords.",
            "default": false
          },
          "ideasMethod": {
            "title": "Where ideas come from",
            "enum": [
              "ideas",
              "suggestions",
              "related",
              "autocomplete",
              "planner"
            ],
            "type": "string",
            "description": "Ideas mode only. Topic ideas take up to 200 seeds in one go; longer phrases, related searches and Google's search-box suggestions work seed by seed (up to 20); Google's ad planner takes up to 20 seeds and returns its whole list for one lookup fee.",
            "default": "ideas"
          },
          "maxIdeas": {
            "title": "Maximum ideas",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Ideas mode only. The most idea rows the run returns, across all seeds.",
            "default": 100
          },
          "maxIdeasPerSeed": {
            "title": "Maximum ideas per seed",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Optional. Caps each seed's ideas. Where seeds are expanded together (topic ideas, the ad planner) this times the number of seeds is the run's ceiling."
          },
          "maxIdeaSeeds": {
            "title": "Maximum seeds to expand",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Optional. How many of your keywords are expanded; the rest are left out, uncharged, with a note. Each source has its own ceiling (200 for topic ideas, 20 for the others)."
          },
          "maxSuggestions": {
            "title": "Maximum search-box suggestions per seed",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Search-box suggestions only. How many suggestions to collect for each seed before their figures are looked up. 0 takes everything the seed and the seed followed by a to z bring.",
            "default": 0
          },
          "maxDomainKeywords": {
            "title": "Maximum keywords for the website",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Website mode only. The most keywords returned, the ones bringing the most traffic first unless you sort otherwise.",
            "default": 100
          },
          "minVolume": {
            "title": "Minimum search volume",
            "minimum": 0,
            "type": "integer",
            "description": "Ideas (except search-box suggestions) and website modes. Leave out keywords with fewer monthly Google searches than this. They are never charged.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "search_volume",
              "cpc",
              "competition",
              "difficulty",
              "low_bid",
              "high_bid",
              "traffic"
            ],
            "type": "string",
            "description": "Ideas and website modes: which keywords come first, and so which ones make the cut when a maximum is set. Relevance means the source's own order for ideas, and estimated traffic for a website.",
            "default": "relevance"
          },
          "searchPartners": {
            "title": "Include search partners",
            "type": "boolean",
            "description": "Count searches on Google's partner sites as well as Google itself. Figures then come from Google's ad planner, without difficulty or intent.",
            "default": false
          },
          "includeAdultKeywords": {
            "title": "Include adult keywords",
            "type": "boolean",
            "description": "Let adult keywords through. Figures then come from Google's ad planner, without difficulty or intent.",
            "default": false
          },
          "dateFrom": {
            "title": "History from",
            "pattern": "^$|^\\d{4}-\\d{2}(-\\d{2})?$",
            "type": "string",
            "description": "Optional, as YYYY-MM. The monthly series starts here instead of 12 months back. Up to four years back."
          },
          "dateTo": {
            "title": "History to",
            "pattern": "^$|^\\d{4}-\\d{2}(-\\d{2})?$",
            "type": "string",
            "description": "Optional, as YYYY-MM. Last month at the latest: the current month has no figures yet."
          },
          "maxItems": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "A ceiling on rows with figures for the whole run, whatever the mode.",
            "default": 1000
          },
          "maxRunSeconds": {
            "title": "Stop after (seconds)",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Optional. The run stops cleanly by this time and keeps what it has, instead of being cut off by the run timeout."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}