# Find keywords your competitors rank for and you don't

**Use case:** 

A keyword gap: the Google keywords your competitors rank for and your site doesn't, with search volume, difficulty, and the best-ranking competitor and URL for each.

## Input

```json
{
  "mode": "gap",
  "domains": [
    "seriouseats.com",
    "thekitchn.com"
  ],
  "yourDomain": "budgetbytes.com",
  "location": "2840",
  "language": "auto",
  "maxResults": 200,
  "maxCompetitors": 10,
  "maxPosition": 20,
  "minSearchVolume": 0,
  "includeCloseVariants": false,
  "excludeBigSites": true,
  "includeNavigational": false
}
```

## Output

```json
{
  "yourDomain": {
    "label": "Your domain",
    "format": "string"
  },
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "searchVolume": {
    "label": "Monthly searches",
    "format": "integer"
  },
  "keywordDifficulty": {
    "label": "Difficulty",
    "format": "integer"
  },
  "intent": {
    "label": "Intent",
    "format": "string"
  },
  "competitorCount": {
    "label": "Competitors ranking",
    "format": "integer"
  },
  "bestPosition": {
    "label": "Best position",
    "format": "integer"
  },
  "bestCompetitor": {
    "label": "Best competitor",
    "format": "string"
  },
  "bestUrl": {
    "label": "Their page",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Competitor Keywords, Ranked Keywords & Keyword Gap Actor is ready to run with the inputs already set for "Find keywords your competitors rank for and you don't". [Sign up or log in](https://console.apify.com/create-task-from-example/L0ltxEPO074YcrudC) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find keywords your competitors rank for and you don't" task

The Competitor Keywords, Ranked Keywords & Keyword Gap Actor will start running based on the input automatically. You can also change all the input fields, like what to find, domains, and more, to match your specific use case.

### 3. Receive the "Find keywords your competitors rank for and you don't" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as your domain, keyword, monthly searches, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find keywords your competitors rank for and you don't" task via API](https://apify.com/precisionlabs/competitor-keywords.md).

## FAQ

### What is a keyword gap?

A keyword gap is the set of keywords competitors rank for and you don't. The keyword gap task lists them with how many competitors rank and the best one's position.

### Do I have to name competitors in the keyword gap task?

No. Leave the competitor list empty and the keyword gap task finds your top organic competitors first.

### What does the keyword gap task cost?

The keyword gap task costs about $0.24 for 200 keywords against 2 competitors.

## About this Actor

This example demonstrates how to use [Competitor Keywords, Ranked Keywords & Keyword Gap](https://apify.com/precisionlabs/competitor-keywords.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/precisionlabs/competitor-keywords.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/precisionlabs/competitor-keywords.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
