# Google Keyword Ideas Generator (`opspilot.cc/keyword-ideas-generator`) Actor

Get keyword ideas from Google based on seed keywords. Returns search volume, CPC, competition, trends, and more.

- **URL**: https://apify.com/opspilot.cc/keyword-ideas-generator.md
- **Developed by:** [wang wei](https://apify.com/opspilot.cc) (community)
- **Categories:** E-commerce, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Google Keyword Ideas Generator

Get keyword ideas from Google based on seed keywords. Returns search volume, CPC, competition data, 12-month trends, and more.

### Features

- **200 seed keywords** per request
- **Search volume** data with 12-month trends
- **CPC & competition** metrics
- **SERP info** (optional)
- **Search intent** classification
- **Fuzzy location/language matching** - type "USA" or "United States"
- **Free tier**: 5 runs per day

### How It Works

Based on the official description, the Keyword Ideas endpoint returns search terms that belong to the same product/service categories as the seed keywords, even if they do not contain the seed words themselves. It uses a relevance‑based, category‑matching algorithm.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `keywords` | array (stringList) | Seed keywords (max 200) |
| `location_name` | textfield | Target location (e.g., "United States", "UK") |
| `language_name` | textfield | Target language (e.g., "English", "Spanish") |
| `limit` | number | Max results (1-1000, default 100) |
| `include_serp_info` | checkbox | Include SERP data |
| `closely_variants` | checkbox | Use phrase-match algorithm |

### Location Support

Fuzzy matching supports:
- Full names: "United States", "United Kingdom"
- Abbreviations: "USA", "UK", "GB", "US"
- Common names: "Holland" → Netherlands

### Language Support

Fuzzy matching supports:
- Full names: "English", "Spanish", "German"
- Abbreviations: "ENG", "SPA", "DEU"

### Output

| Field | Type | Description |
|-------|------|-------------|
| `keyword` | string | Keyword idea |
| `search_volume` | integer | Monthly search volume |
| `cpc` | number | Cost per click (USD) |
| `competition` | number | Competition index (0-1) |
| `competition_level` | string | low/medium/high |
| `low_top_of_page_bid` | number | Low bid for top of page (USD) |
| `high_top_of_page_bid` | number | High bid for top of page (USD) |
| `monthly_trend` | integer | Monthly trend indicator |
| `search_intent` | string | informational/navigational/commercial/transactional |
| `word_count` | integer | Number of words |
| `keyword_difficulty` | integer | Keyword difficulty score (0-100) |
| `core_keyword` | string | Core keyword |

### Primary Use Cases

| Scenario | Description |
|---------|-------------|
| Topic Clustering & Content Pillars | Discover semantically related keywords that do not share the exact seed phrase but belong to the same thematic category. Ideal for building topic clusters around a core theme (e.g., seed "content marketing" → get "SEO audit checklist", "email automation tools"). |
| Competitor Gap Analysis | Find keywords your competitors rank for (in the same category) that you haven't thought of, especially those that don't contain your typical brand or product terms. |
| New Market Opportunity Discovery | Explore adjacent product / service categories. For example, seed "running shoes" might return "orthotic insoles" or "marathon training plans" – revealing cross‑sell or content expansion opportunities. |
| PPC Expansion Beyond Exact Match | Identify low‑competition, high‑intent keywords that are not direct variants of your seed but share the same commercial category. Useful for discovery campaigns in Google Ads. |
| SEO for Broad‑Topic Websites | For websites covering a broad domain (e.g., "digital marketing"), the endpoint helps find all relevant subtopics without being limited to keywords containing the seed. |
| Initial Brainstorming for New Projects | When you have a vague idea of a niche (e.g., "plant-based diet"), the endpoint quickly generates a diverse set of category‑related terms (e.g., "vegan protein sources", "meat substitutes recipes", "plant-based meal delivery"). |

### Target Audience

| Persona | Why They Use It |
|---------|----------------|
| SEO Strategists | To build comprehensive topic maps, find hidden content gaps, and optimise for semantic search (not just exact‑match keywords). |
| Content Marketers | To generate fresh content ideas that stay relevant to the core theme but attract different search intents (informational, commercial, etc.). |
| PPC Specialists | To expand keyword lists for Discovery or Performance Max campaigns where broad‑match category discovery drives incremental traffic. |
| Product Managers | To understand what related products or services users search for when they are interested in the seed category. |
| E‑commerce Owners | To find cross‑category search terms (e.g., seed "wireless headphones" → "bluetooth adapters", "headphone stands") that can increase average order value. |
| Agency Analysts | To perform fast, scalable keyword landscape analysis for multiple client niches without manually guessing long‑tail variants. |
| Startup Founders | To validate market demand for a concept by exploring all category‑adjacent search behaviours before building a product. |

### Comparison with Keyword Suggestions

Use **Keyword Ideas** when you want broad category exploration – you don't require the seed phrase to appear in the results.

Use **Keyword Suggestions** when you need exact‑phrase centric long‑tail expansion – every result contains the seed keyword (or its word order variant).

### Example

**Input:**
```json
{
  "keywords": ["keyword research", "content marketing"],
  "location_name": "United States",
  "language_name": "English",
  "limit": 10
}
````

**Output (Note: no additional sorting parameters applied, "closely\_variants" set to false):**

- "free adword tools"
- "find longtail keywords"
- "how to do keywords research"
- "seo keyword research template"

# Actor input Schema

## `keywords` (type: `array`):

Array of seed keywords (up to 200 keywords). The API will return keywords in the same product/service categories.

## `location_name` (type: `string`):

Target location name (e.g., 'United States', 'UK', 'Germany'). Supports fuzzy matching.

## `language_name` (type: `string`):

Target language name (e.g., 'English', 'Spanish', 'French'). Supports fuzzy matching.

## `limit` (type: `integer`):

Maximum number of keyword ideas to return (1-1000, default 100).

## `include_serp_info` (type: `boolean`):

Include SERP info (types of search results, number of results, etc.) for each keyword.

## `closely_variants` (type: `boolean`):

If true, results use phrase-match algorithm. If false (default), broad-match algorithm is used.

## Actor input object example

```json
{
  "keywords": [
    "keyword research",
    "content marketing",
    "SEO tools"
  ],
  "location_name": "United States",
  "language_name": "English",
  "limit": 100,
  "include_serp_info": false,
  "closely_variants": false
}
```

# Actor output Schema

## `serpData` (type: `string`):

Dataset containing keyword ideas with search volume, CPC, competition, and trends

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "keyword research",
        "content marketing",
        "SEO tools"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("opspilot.cc/keyword-ideas-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": [
        "keyword research",
        "content marketing",
        "SEO tools",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("opspilot.cc/keyword-ideas-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "keyword research",
    "content marketing",
    "SEO tools"
  ]
}' |
apify call opspilot.cc/keyword-ideas-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=opspilot.cc/keyword-ideas-generator",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Keyword Ideas Generator",
        "description": "Get keyword ideas from Google based on seed keywords. Returns search volume, CPC, competition, trends, and more.",
        "version": "0.1",
        "x-build-id": "r4GdgY9t07ILhgQq8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/opspilot.cc~keyword-ideas-generator/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-opspilot.cc-keyword-ideas-generator",
                "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/opspilot.cc~keyword-ideas-generator/runs": {
            "post": {
                "operationId": "runs-sync-opspilot.cc-keyword-ideas-generator",
                "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/opspilot.cc~keyword-ideas-generator/run-sync": {
            "post": {
                "operationId": "run-sync-opspilot.cc-keyword-ideas-generator",
                "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",
                        "maxItems": 200,
                        "type": "array",
                        "description": "Array of seed keywords (up to 200 keywords). The API will return keywords in the same product/service categories.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location_name": {
                        "title": "Location",
                        "type": "string",
                        "description": "Target location name (e.g., 'United States', 'UK', 'Germany'). Supports fuzzy matching.",
                        "default": "United States"
                    },
                    "language_name": {
                        "title": "Language",
                        "type": "string",
                        "description": "Target language name (e.g., 'English', 'Spanish', 'French'). Supports fuzzy matching.",
                        "default": "English"
                    },
                    "limit": {
                        "title": "Results Limit",
                        "type": "integer",
                        "description": "Maximum number of keyword ideas to return (1-1000, default 100).",
                        "default": 100
                    },
                    "include_serp_info": {
                        "title": "Include SERP Data",
                        "type": "boolean",
                        "description": "Include SERP info (types of search results, number of results, etc.) for each keyword.",
                        "default": false
                    },
                    "closely_variants": {
                        "title": "Closely Related Variants",
                        "type": "boolean",
                        "description": "If true, results use phrase-match algorithm. If false (default), broad-match algorithm is used.",
                        "default": 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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
