# Keyword Ideas API: Autocomplete Keyword Research (`greyridge-signals/keyword-ideas-api`) Actor

Turn a seed into hundreds of real keyword ideas. For each seed we fan out across Google Autocomplete (seed + A-Z + 0-9 + how/best/vs/price modifiers), de-duplicate, then tag each idea with search intent plus question and long-tail flags. Keyless. Billed per seed that returns ideas; empty seeds free.

- **URL**: https://apify.com/greyridge-signals/keyword-ideas-api.md
- **Developed by:** [Rez Archer](https://apify.com/greyridge-signals) (community)
- **Categories:** SEO tools, Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$50.00 / 1,000 keyword reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Keyword Ideas API — Autocomplete Keyword Research

Turn a seed term into **hundreds of real keyword ideas** people actually type, each tagged with
search intent, question and long-tail flags, and the modifier that surfaced it. Built on Google
Autocomplete, so the ideas are drawn from live search behaviour — no guessed lists.

No account or API key is needed for the data. You give seeds, you get a clean, de-duplicated,
classified keyword set back.

### What it does that a raw autocomplete call does not

A single autocomplete request returns ~10 suggestions. This actor, for **each seed**:

1. **Fans out ~30 queries** — the seed, then `seed + a…z`, `seed + 0…9`, and intent modifier
   templates (`how to…`, `best…`, `… vs`, `… price`, `… near me`, `… alternative`, and more).
2. **Unions and de-duplicates** every suggestion across all of those calls into one set
   (typically 250–500 unique ideas per seed on `full` expansion).
3. **Classifies search intent** of each idea — informational, commercial, transactional,
   navigational or local — using a transparent rule set.
4. **Flags** questions (`is_question`) and long-tail phrases (`is_long_tail`, ≥4 words).
5. **Tags the modifier family** that found each idea (`modifier_group`) so you can see where
   commercial vs informational demand concentrates.
6. **Keeps a popularity-order rank** (`source_rank`, autocomplete's own ordering) and a
   **head-term cluster** (`head_term`) for grouping.
7. **Attaches provenance** — `seed`, `market`, `source`, `fetched_at`.

That synthesis is the work a buyer would otherwise redo by hand across dozens of calls.

### Input

| Field | Type | Default | Notes |
|-------|------|---------|-------|
| `seeds` | array of strings | — (required) | 1–50 starting phrases, e.g. `"email verification"`. |
| `expansion` | string | `full` | `none` (1 call), `alpha` (A–Z), `full` (A–Z + digits + intent modifiers). |
| `maxIdeasPerSeed` | integer | `300` | Cap per seed, highest-ranked first (1–1000). |
| `classifyIntent` | boolean | `true` | Tag each idea with its search intent. |
| `languageCode` | string | `en` | Autocomplete language (hl), e.g. `de`, `es`, `fr`. |
| `countryCode` | string | `us` | Autocomplete country (gl), e.g. `gb`, `de`, `br`. |

```json
{
  "seeds": ["email verification", "project management software"],
  "expansion": "full",
  "maxIdeasPerSeed": 300,
  "classifyIntent": true,
  "languageCode": "en",
  "countryCode": "us"
}
```

### Output

One dataset row per keyword idea:

```json
{
  "seed": "email verification",
  "keyword": "email verification api",
  "intent": "informational",
  "is_question": false,
  "is_long_tail": false,
  "contains_seed": true,
  "word_count": 3,
  "modifier_group": "alpha",
  "source_rank": 0,
  "head_term": "email verification",
  "market": "en-us",
  "source": "google_autocomplete",
  "fetched_at": "2026-11-12T20:00:00.000Z"
}
```

A real run on the seed `"email verification"` (full expansion) returns **476 unique ideas** from
71 autocomplete calls in under a second: 217 informational, 42 commercial, 25 transactional,
8 navigational, 8 local; 32 questions and 165 long-tail phrases.

The run also writes `RUN_STATS` to the key-value store (seeds processed, seeds billed, ideas
total, calls made, call errors).

### Pricing

Pay per event: **$0.05 per seed that returns at least one keyword idea**. Seeds that return
nothing (and duplicate seeds within a run) are free. See `.actor/PRICING.md`.

Compared with keyword-metrics actors that charge ~$0.10 per call and require a Google/Microsoft
Ads developer token for search volume and CPC, this is the keyless, no-account, instant
**ideas + intent** tier at half the per-report price. A `metrics` tier (search volume, CPC) is a
planned upgrade.

### Data source and terms

Keyword ideas come from Google's public Autocomplete endpoint
(`suggestqueries.google.com/complete/search`), the same suggestions the search box shows. The
actor reads public suggestion data only; it does not log in, submit forms, solve CAPTCHAs, or
access any private or rate-limited API. Requests are modest and concurrency-bounded. No personal
data is collected. If the endpoint throttles or changes, affected seeds return zero ideas and are
not billed rather than returning stale data.

### Limitations (honest)

- **Ideas, not volume.** v1 returns the keyword ideas and their intent, not monthly search
  volume or CPC. Those require an Ads API developer token and are planned for a `metrics` tier.
- `source_rank` is autocomplete's suggestion ordering (a relative popularity proxy within a
  call), not an absolute search-volume figure.
- Intent classification is rule-based and transparent; a small fraction of ambiguous phrases may
  be mislabelled.

# Actor input Schema

## `seeds` (type: `array`):

One or more starting phrases to expand, e.g. "email verification", "project management". Each seed is fanned out into hundreds of related keyword ideas. 1-50 seeds.

## `expansion` (type: `string`):

none = one autocomplete call per seed (fastest, ~10 ideas). alpha = seed + each letter A-Z (~100-300 ideas). full = alpha + digits 0-9 + intent modifiers (how/best/vs/price/near me…) for the widest set (~300-500 ideas).

## `maxIdeasPerSeed` (type: `integer`):

Cap on ideas returned per seed, highest-ranked first. 1-1000.

## `classifyIntent` (type: `boolean`):

Tag each idea as informational, commercial, transactional, navigational or local.

## `languageCode` (type: `string`):

Two-letter language code for autocomplete (hl), e.g. en, es, de, fr.

## `countryCode` (type: `string`):

Two-letter country code for autocomplete (gl), e.g. us, gb, de, br.

## Actor input object example

```json
{
  "seeds": [
    "email verification",
    "project management software"
  ],
  "expansion": "full",
  "maxIdeasPerSeed": 300,
  "classifyIntent": true,
  "languageCode": "en",
  "countryCode": "us"
}
```

# Actor output Schema

## `results` (type: `string`):

One row per keyword idea, with search intent, question and long-tail flags, in the default dataset.

## `overview` (type: `string`):

Open the run results in the Apify Console.

# 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 = {
    "seeds": [
        "email verification",
        "project management software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("greyridge-signals/keyword-ideas-api").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 = { "seeds": [
        "email verification",
        "project management software",
    ] }

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

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

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

```

## CLI example

```bash
echo '{
  "seeds": [
    "email verification",
    "project management software"
  ]
}' |
apify call greyridge-signals/keyword-ideas-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,greyridge-signals/keyword-ideas-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FFQbPxm0dcKalUR5m/builds/X6HDOGtpTlQ1fuxTO/openapi.json
