# Google Keyword Planner API — Bulk Volume, $0.25 per 1,000

> Bulk Google Keyword Planner API: real search volume, CPC, competition and 12-month trends for any country, city or language. No Google Ads account. Flat $0.25 per batch of up to 1,000 keywords ($0.15 queued), no per-keyword fee, no start fee.

- Category: Keyword data
- Price: $0.25 per keyword batch, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/google-keyword-planner-api?fpr=qx6tzs
- Human page: https://wrenfielddata.com/tools/google-keyword-planner-api/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~google-keyword-planner-api/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/google-keyword-planner-api (appears as `wrenfield-data--google-keyword-planner-api`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~google-keyword-planner-api/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["keyword research", "seo tools"], "location": "United States", "language": "English", "mode": "search_volume", "includeMonthlySearches": true}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `keywords` | array | yes | `["keyword research", "seo tools"]` | Keywords to look up, one per line (thousands are fine). Used as seed keywords when you ask for keyword ideas. Keywords are trimmed, lower-cased and de-duplicated; match-type symbols like [exact] or "phrase" and characters Google Ads does not accept are removed. Max 80 characters and 10 words per keyword. Large lists are split into batches of 1,000 automatically. Keywords without data are free. |
| `mode` | string |  | `"search_volume"` | Search volume: metrics for exactly the keywords you enter. Keyword ideas: new related keywords (with the same metrics) generated from your seed keywords, like Google Keyword Planner's 'Discover new keywords'. Both: metrics for your keywords plus ideas. |
| `location` | string |  | `"United States"` | Country (United States, US, 2840), state or region (California, Bavaria,Germany), city (London, Austin, TX, New York,New York,United States) or Worldwide. Plain names are matched to the Google Ads location list; if a name is ambiguous the run note says which place was used. State, city and worldwide lookups use live Google Ads data. |
| `language` | string |  |  | Language name (English, Spanish) or code (en, es). Leave empty to use the main language of the location (e.g. German for Germany). |
| `includeMonthlySearches` | boolean |  | `true` | Add the month-by-month search volume (last 12 months by default, or the date range below) to every result. |
| `dateFrom` | string |  |  | Optional start month of the monthly history, format YYYY-MM (e.g. 2024-01). Up to 4 years back. Leave empty for the last 12 months. |
| `dateTo` | string |  |  | Optional end month of the monthly history, format YYYY-MM. Google publishes data for the previous month only, so later months are capped automatically. |
| `maxIdeas` | integer |  | `100` | Maximum number of keyword ideas to return in total per run. You only pay for ideas that are returned. |
| `minSearchVolume` | integer |  | `0` | Skip keyword ideas with a lower average monthly search volume (e.g. 100 to drop tiny long-tail phrases). 0 = keep all ideas that have data. |
| `googleAdsMode` | string |  | `"live"` | Live (default): $0.25 per batch of up to 1,000 keywords, results in seconds. Queued: $0.15 per batch, results usually take a few minutes and can take longer at peak times; the run waits for them. If a queued run times out, run it again with the same input to collect the results without paying the batch fee again. |
| `forceLiveGoogleAds` | boolean |  | `false` | With the Google Ads data source, small lookups (up to a few hundred keywords per run) first check the keyword database, which holds the same Google Keyword Planner metrics refreshed monthly, and only keywords it has no volume for go to Google Ads. Each row's data_source says which one answered. Turn this on to send every keyword to Google Ads instead (same price either way). |
| `queuedMaxWaitMinutes` | integer |  | `120` | Queued mode only: how long the run waits for Google Ads results before stopping (it never waits past the run timeout). |

## Example input

```json
{
  "keywords": [
    "keyword research",
    "seo tools"
  ],
  "location": "United States",
  "language": "English",
  "mode": "search_volume",
  "includeMonthlySearches": true
}
```

## Output fields

One flat row per result:

| Field | Type | Description |
|---|---|---|
| `keyword` | string | Keyword (normalized, lower-case) |
| `type` | string | keyword = one of your input keywords; idea = a keyword idea generated from your seed keywords |
| `seed_keyword` | string | Seed keyword(s) an idea was generated from |
| `location` | string | Location name |
| `location_code` | integer | Google Ads location code (e.g. 2840 = United States) |
| `language` | string |  |
| `language_code` | string |  |
| `search_volume` | integer | Average monthly searches (last 12 months) |
| `cpc` | number | Average cost per click in USD |
| `competition` | string | Paid search competition level: LOW, MEDIUM or HIGH |
| `competition_index` | integer | Paid search competition index, 0-100 |
| `low_top_of_page_bid` | number | Top-of-page bid, low range (USD) |
| `high_top_of_page_bid` | number | Top-of-page bid, high range (USD) |
| `keyword_difficulty` | integer | SEO ranking difficulty 0-100 (keyword database only) |
| `search_intent` | string | informational, navigational, commercial or transactional (keyword database only) |
| `trend` | object | Search volume change in % of the latest month vs. previous month / 3 months / 12 months earlier |
| `search_volume_avg_in_range` | integer | Average monthly searches within the requested date range (only when a date range is set) |
| `monthly_searches` | array | Monthly search volume history, oldest to newest: {date, year, month, search_volume} |
| `found` | boolean | true if search volume data was found (only these rows are charged) |
| `spell` | string | Google's spelling correction, if the keyword looked misspelled |
| `note` | string | Explanation when no data was found |
| `source` | string | keyword_database, google_ads_live or google_ads_queued (kept for compatibility; see data_source for the exact origin of each row) |
| `data_source` | string | Where this row's numbers actually came from in this run: dataforseo_labs = keyword database (DataForSEO Labs, built from Google Ads Keyword Planner data, refreshed monthly; data_updated_at says when); google_ads_live / google_ads_queued = a Google Ads API request made in this run; cache = the same data (Google Ads or keyword database) for the same keyword, location and language, looked up in the last 30 days; snapshot = Google Ads data from the snapshot bundled with the Actor for the example keywords; none = status or error row |
| `data_updated_at` | string | When the keyword's metrics were last refreshed (keyword database) |
| `scraped_at` | string | When this row was produced (UTC) |

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
- Apify Store links on this page are referral links. They may earn us a commission, at no extra cost to you.
