# Local Keyword Search Volume & CPC: Planner API (`aqua_wellhead/keyword-search-volume`) Actor

See how many people search for each service in your city and what a Google Ads click costs, before you spend on ads or content. Keyword Planner volume, CPC, bids, competition and 12-month trend for any country or city. Up to 10,000 keywords a run, no Google Ads account; no-data keywords are free.

- **URL**: https://apify.com/aqua_wellhead/keyword-search-volume.md
- **Developed by:** [Eric Kyriacou](https://apify.com/aqua_wellhead) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 keyword with data

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

### What does Keyword Search Volume do?

**Find the searches that bring paying customers, and what each click costs, before you spend on ads or content.** Keyword Search Volume returns Google's own Keyword Planner numbers (monthly searches, CPC, top-of-page bids, competition and 12-month trend) for any country, city or region, for up to 10,000 keywords per run. No Google Ads account or ads budget needed.

Real numbers from a run on 2026-11-07 (United States):

| Keyword | Searches / month | Avg. CPC | Top-of-page bid (high) |
|---|---|---|---|
| plumber near me | 823,000 | $39.28 | $82.33 |
| emergency plumber | 90,500 | $74.89 | $110.00 |
| water heater repair | 74,000 | $47.85 | $88.10 |
| drain cleaning service | 9,900 | $59.56 | $89.00 |

A plumber who knows that one "emergency plumber" click costs about $75, and that "drain cleaning service" draws 9,900 searches at low competition, can put the budget where the customers are. The same lookup for 1,000 keywords costs $1.18.

**What you can count on**

- You pay only for keywords that come back with data. Keywords Google has no numbers for, invalid keywords and failed requests are free.
- Set a maximum cost per run and the Actor stops before it would go over, keeping every result already delivered.
- Every row says where its data came from and when (`source`, `dataAsOf`). Nothing is estimated.
- Your first run is free on the Apify free plan (up to 50 keywords).

Call it from the Apify API, a schedule, Make, Zapier, n8n or an AI agent, and get clean JSON, CSV or Excel back. You pay $0.18 per Google Ads request (up to 1,000 keywords each) plus $0.001 per keyword that has data.

### What can you use it for?

- **[Local keyword search volume](https://apify.com/aqua_wellhead/keyword-search-volume/examples/local-keyword-search-volume)**: searches and click costs for one city or region, to see which services local customers look for (for local businesses and the agencies that run their SEO and ads).
- **[Check keyword search volume in bulk](https://apify.com/aqua_wellhead/keyword-search-volume/examples/bulk-keyword-search-volume)**: monthly searches for a whole keyword list in one run.
- **[PPC keyword research](https://apify.com/aqua_wellhead/keyword-search-volume/examples/ppc-keyword-research-cpc)**: CPC, top-of-page bids and competition to size a Google Ads budget.
- **[Keyword research for blog posts](https://apify.com/aqua_wellhead/keyword-search-volume/examples/keyword-research-for-blog-posts)**: seed topics plus related keyword ideas people actually search for.
- **[Seasonal keyword trends](https://apify.com/aqua_wellhead/keyword-search-volume/examples/seasonal-keyword-trends)**: monthly history and year-over-year change to time content and ads.
- **[Keyword research for Apify Actor SEO](https://apify.com/aqua_wellhead/keyword-search-volume/examples/apify-actor-seo-keyword-research)**: pick the phrases your own Actor listing should target.

### What data do you get?

| Field | What it means |
|---|---|
| `searchVolume` | Average monthly Google searches |
| `cpc` | Average cost per click in USD |
| `lowTopOfPageBid`, `highTopOfPageBid` | The bid range advertisers pay to show at the top of the page, USD |
| `competition`, `competitionIndex` | Paid-search competition: LOW / MEDIUM / HIGH and 0-100 |
| `monthlySearches` | Monthly history, newest first, as `{year, month, searchVolume}` with numeric months |
| `trend3mPct`, `trend12mPct`, `yoyPct` | How the latest month compares with 3 months earlier, the start of the 12-month window, and the same month last year |
| `spell` | Google's spelling correction when the data is for the corrected keyword |
| `isRelated`, `concepts` | Related keyword ideas and Google's concept groups (brand / non-brand and topics) |
| `locationCode`, `languageCode` | The market the numbers are for (2840 = United States) |
| `status` | `ok` (has data, billed), `no_data` (free) or `invalid` (rejected before lookup, free) |
| `dataAsOf`, `source` | When the data was fetched and where it came from |

### How to get keyword search volume

1. Paste your keywords into **Keywords**, one per line (up to 10,000).
2. Set **Location**: a country name (`United States`), a 2-letter code (`gb`), a Google Ads location code (`2826`), a city or region (`Newark,New Jersey,United States`), or GPS `lat,lon`. Leave it empty for worldwide.
3. Set **Language** (`English` or `en`), or leave it empty for all languages.
4. Optional: turn on **related keyword ideas** to get up to 20,000 suggestions seeded from your first 20 keywords, pick a date range of up to 4 years of monthly history, or include Google search partners.
5. Click **Start**. Results appear in the **Overview** table and can be exported as JSON, CSV, Excel or via the API.

Keywords are lowercased and de-duplicated, then sent to Google Ads in batches of 1,000. Keywords longer than 80 characters, longer than 10 words, or containing characters Google Ads rejects (such as `( ) ! @ % ;` or emoji) are listed with `status: invalid` and are not billed.

#### Input example

```json
{
    "keywords": ["halloween costumes"],
    "location": "us",
    "language": "en",
    "dateFrom": "2025-08"
}
```

#### Output example

A real row from the input above, run on 2026-11-06 (`monthlySearches` shortened to 4 of its 14 months: the latest, 3 months back, 11 months back and 12 months back, which the three trend fields compare against):

```json
{
    "keyword": "halloween costumes",
    "status": "ok",
    "searchVolume": 1830000,
    "cpc": 0.43,
    "lowTopOfPageBid": 0.08,
    "highTopOfPageBid": 0.5,
    "competition": "HIGH",
    "competitionIndex": 89,
    "monthlySearches": [
        {
            "year": 2026,
            "month": 9,
            "searchVolume": 1830000
        },
        {
            "year": 2026,
            "month": 6,
            "searchVolume": 110000
        },
        {
            "year": 2025,
            "month": 10,
            "searchVolume": 16600000
        },
        {
            "year": 2025,
            "month": 9,
            "searchVolume": 7480000
        }
    ],
    "latestMonth": "2026-09",
    "trend3mPct": 1563.6,
    "trend12mPct": -89.0,
    "yoyPct": -75.5,
    "spell": null,
    "isRelated": false,
    "concepts": null,
    "locationCode": 2840,
    "languageCode": "en",
    "searchPartners": false,
    "error": null,
    "dataAsOf": "2026-11-06T22:22:47Z",
    "source": "Google Ads via DataForSEO"
}
```

### How much does it cost?

This Actor uses pay-per-event pricing, so the price does not depend on memory or run time:

- **Google Ads request**: $0.18 per successful lookup request. One request covers a batch of up to 1,000 keywords; turning on related ideas adds one more request. A request that fails is not charged.
- **Keyword result**: $0.001 for each keyword or related idea returned with search volume above zero.

Keywords with no data and invalid keywords are free. Examples (every keyword has data): 3 keywords cost $0.183, 100 keywords $0.28, 1,000 keywords $1.18, 10,000 keywords $11.80. Related ideas add $0.18 plus $0.001 per idea (the default 100 ideas: at most $0.28). Grouping keywords into one run is cheapest, because a run of 1,000 keywords pays for one request, not 1,000.

If you set a maximum cost per run, the Actor checks it before every request and stops cleanly when the next request or result would go over. You keep every result already delivered.

On the Apify free plan each user gets 1 trial run of up to 50 keywords, with related ideas off; longer lists are cut to the first 50 with a notice. The number of free runs per day across all users is also limited. Any paid plan removes these limits.

### Track keyword volume every month

Search volume and CPC change with the season and with competition. To keep a running history, save your keyword list as a task and give it a monthly [schedule](https://docs.apify.com/platform/schedules) (for example, the 3rd of each month, after Google publishes the previous month). Each run adds a fresh dataset with `dataAsOf`, so you can compare months or send the results to Google Sheets, Make, Zapier or n8n through an integration.

### Use from an AI agent

Call the Actor through the Apify API or the Apify MCP server with a minimal input:

```json
{ "keywords": ["standing desk", "ergonomic chair"], "location": "us", "language": "en" }
```

`location` accepts a 2-letter country code (`us`), a country name (`United States`), a Google Ads location code (`2840`) or `City,Region,Country` (`London,England,United Kingdom`). Every output row has the same flat fields, numbers as numbers, and a `status` field, so an agent can filter on `status == "ok"` without parsing text.

### Tips

- Google Ads groups close variants ("buy laptop" and "buy laptops") and may give them the same volume. Look them up in separate runs if you need them apart.
- Google has no data for the current month, so the newest month is usually last month or the month before.
- Set **From month** 13 or more months back to fill `yoyPct`.
- Volume lookups take seconds. Related keyword ideas come from a heavier Google request and can take a few minutes.
- Policy-restricted topics (weapons, tobacco, drugs and similar) often return no data. You are not charged for those keywords.

### Related Actors

- [Google Search Results Scraper](https://apify.com/apify/google-search-scraper): see who ranks for the keywords you just sized.
- [Google Trends Scraper](https://apify.com/apify/google-trends-scraper): relative interest over time and by region, to pair with absolute search volume.
- [Website Content Crawler](https://apify.com/apify/website-content-crawler): pull the text of competing pages for content planning.
- [Google Maps Scraper](https://apify.com/compass/crawler-google-places): list the local businesses competing for the local keywords you sized.
- [Google Autocomplete Scraper](https://apify.com/automation-lab/google-autocomplete-scraper): collect the suggestions people see while typing, then check their volume here.

### FAQ: how does it compare?

#### Why not use Google Keyword Planner directly?

Keyword Planner needs a Google Ads account, and without active ad spend it often shows broad ranges ("1K–10K") instead of exact monthly numbers. This Actor returns the exact Keyword Planner figures for up to 10,000 keywords per run as JSON, CSV or Excel, from the API, a schedule or an AI agent, with no Ads account.

#### Why not call the DataForSEO API directly?

You can, if you want to manage an account, a prepaid balance, task batching and rate limits yourself. This Actor handles the batching, retries, location and language lookup and clean output, and you pay only per successful request and per keyword with data, through your Apify account.

#### How is this different from Ahrefs or Semrush?

Those are full SEO suites on monthly subscriptions, with their own volume estimates. This Actor does one job: Google's own Keyword Planner numbers, paid per use, with no subscription.

### FAQ

#### Where does the data come from?

From Google Ads Keyword Planner, retrieved through the DataForSEO Google Ads API at the time of your run. The one exception is the Actor's example input, which may be served from a result fetched within the last 24 hours. Nothing is estimated and no fallback source is used. Every row carries `source` and `dataAsOf`, so you can see when its data was fetched.

#### Why is a keyword's volume null?

Google Ads returned no data for it: it is too rare, restricted by ads policy, or grouped with another keyword. Those rows are free.

#### Is the volume exact?

No. Google rounds search volume into buckets (10, 20, 30 ... 1,000, 1,300, 1,600 and so on). This Actor returns exactly what Google reports.

#### Can I target a city or state?

Yes. Use `City,Region,Country`, for example `Newark,New Jersey,United States` or `London,England,United Kingdom`.

#### What kind of data is this?

Aggregated keyword statistics (monthly search counts, bid estimates and competition levels) from Google Ads Keyword Planner. The output contains no personal data.

#### I found a bug or need a feature

Open an issue in the **Issues** tab. We reply within 24 hours.

# Actor input Schema

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

Keywords to look up, one per line. Up to 10,000 per run; they are sent to Google Ads in batches of 1,000. Each keyword can have up to 80 characters and 10 words. Duplicates are removed and everything is lowercased (Google Ads does this too).

## `location` (type: `string`):

Where the searches happen. Use a country name (United States), a 2-letter country code (us, gb, de), a Google Ads location code (2840), a city or region as 'City,Region,Country' (Newark,New Jersey,United States), or GPS 'lat,lon' (data for the country containing that point). Leave empty for worldwide.

## `language` (type: `string`):

Search language as a name (English, German) or code (en, de). Leave empty for all languages.

## `includeRelated` (type: `boolean`):

Adds keyword ideas from Google Ads Keyword Planner, using your first 20 keywords as seeds. Ideas already in your list are skipped. Adds one Google Ads request ($0.18); each idea with data is billed like any other keyword result ($0.001).

## `maxRelated` (type: `integer`):

Upper limit on related keyword ideas returned (only used when related ideas are on). Google returns up to 20,000. Cost: $0.18 for the request plus $0.001 per idea with data, so the default 100 costs at most $0.28.

## `dateFrom` (type: `string`):

First month of monthly search history, as YYYY-MM or YYYY-MM-DD. Up to 4 years back. Leave empty for the last 12 months. Set it 13+ months back to get the year-over-year field (yoyPct).

## `dateTo` (type: `string`):

Last month of monthly search history, as YYYY-MM or YYYY-MM-DD. Google Ads has no data for the current month; later dates are capped to the last full month.

## `searchPartners` (type: `boolean`):

Count searches on Google search partner sites as well as Google Search itself.

## Actor input object example

```json
{
  "keywords": [
    "keyword research",
    "seo tools",
    "google ads"
  ],
  "location": "United States",
  "language": "English",
  "includeRelated": false,
  "maxRelated": 100,
  "searchPartners": false
}
```

# Actor output Schema

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

One row per keyword: search volume, CPC, bids, competition, monthly history 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",
        "seo tools",
        "google ads"
    ],
    "location": "United States",
    "language": "English"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aqua_wellhead/keyword-search-volume").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",
        "seo tools",
        "google ads",
    ],
    "location": "United States",
    "language": "English",
}

# Run the Actor and wait for it to finish
run = client.actor("aqua_wellhead/keyword-search-volume").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 '{
  "keywords": [
    "keyword research",
    "seo tools",
    "google ads"
  ],
  "location": "United States",
  "language": "English"
}' |
apify call aqua_wellhead/keyword-search-volume --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aqua_wellhead/keyword-search-volume"
        }
    }
}
```

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/pPEYxHUPT3NKG1Pgg/builds/XmiqcLwZgGSH0zb0b/openapi.json
