# Keyword Search Volume & CPC Scraper - Google & Bing | $3/1k (`rickyz1x/keyword-volume-scraper`) Actor

Search volume, CPC, keyword difficulty & intent estimates from live Google, Bing & YouTube autocomplete. No API key; plug in DataForSEO for exact data.

- **URL**: https://apify.com/rickyz1x/keyword-volume-scraper.md
- **Developed by:** [ZHANG RUIQI](https://apify.com/rickyz1x) (community)
- **Categories:** SEO tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 87.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 keyword metric records

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 Search Volume & CPC Scraper - Google & Bing

Get modeled estimates of search volume, CPC, keyword difficulty, intent and a 12-month trend for your seed keywords and their related searches, built from live Google, Bing and YouTube autocomplete, or exact Google Ads data with your own DataForSEO key.

### Sample output

| Keyword | Est. monthly volume | Est. CPC (USD) | Difficulty | Intent | Source |
|---|---|---|---|---|---|
| crm software | 71,000 | 15.62 | 69 | commercial | modeled_estimate |
| crm software vs erp | 3,300 | 16.12 | 57 | commercial | modeled_estimate |
| roofing contractor | 50,000 | 18.46 | 65 | commercial | modeled_estimate |
| roofing contractors near me | 7,200 | 21.95 | 58 | local | modeled_estimate |

*Real rows: default input run live 2026-11-10T01:29:32Z (modeled estimates, no DataForSEO key). The Output section below documents every field.*

### Pricing (pay per event)

| Event | Charged when | Price per event | Per 1,000 |
|---|---|---:|---:|
| `keyword-metric` (primary) | every live keyword record delivered (seed or related keyword) | $0.003 | $3 |
| `apify-actor-start` | once per run (Apify platform start event) | $0.00005 | - |

| Example run | Events charged at most | Cost at most |
|---|---|---:|
| Console prefill or API default (2 seeds x up to 11 keywords) | 22 x `keyword-metric` | $0.066 |
| 1,000 keyword records | 1,000 x `keyword-metric` | $3.00 |

Never charged: verified snapshot rows served when every autocomplete engine fails for a default seed; invalid input.

Set **Max cost per run** (`maxTotalChargeUsd` in the API) to cap any run. The Actor checks the budget before every charge and stops cleanly when it is reached; add-on data that no longer fits is withheld, never given away. If the budget is below the price of a single record, the run delivers one free sample row and says so in its status message.

### Try it: copy-paste input

This is the Console prefill (the same input the Example run table prices):

```json
{
  "keywords": [
    "crm software",
    "roofing contractor"
  ],
  "country": "US",
  "language": "en",
  "maxExpandedKeywordsPerSeed": 10
}
```

### Use it from the API, MCP or n8n

Run it and get the dataset in one call (the `maxTotalChargeUsd` query parameter caps what this run can cost):

```bash
curl -X POST "https://api.apify.com/v2/acts/rickyz1x~keyword-volume-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=0.50" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"keywords":["crm software","roofing contractor"],"country":"US","language":"en","maxExpandedKeywordsPerSeed":10}'
```

- **AI agents (MCP):** add `https://mcp.apify.com/?actors=rickyz1x/keyword-volume-scraper` to Claude, Cursor or any MCP client.
- **n8n, Make, Clay:** importable templates with record limits and a max-cost cap are in the [workflow templates repository](https://github.com/Ricky-X1Z/us-permit-contractor-workflows).

### How it works

Enter seed keywords. For each one, and for its top related keywords, you get:

- **estimated monthly search volume** and its volume tier
- **CPC range**
- **keyword difficulty** (1-100) and competition level
- **search intent** and a **commercial score**
- **likely SERP features**
- a **12-month seasonal trend**

The data comes from live **Google, Bing and YouTube autocomplete**. No API key is needed.

If you have a **DataForSEO** account, add your login and the volume, CPC, competition and monthly trend come from DataForSEO's Google Ads data instead.

### Read this first: modeled estimates vs. exact data

| Mode | When | `metrics_source` |
|---|---|---|
| Standalone (default) | no DataForSEO login | `modeled_estimate` |
| Bring your own DataForSEO | `dataforseoLogin` + `dataforseoPassword` set | `dataforseo_google_ads` |

**Standalone numbers are modeled estimates, not Google Keyword Planner data.**

- They come from a deterministic heuristic model that reads real autocomplete signals.
- They are good for ranking keywords against each other, finding commercial long-tail terms and bucketing by volume tier.
- Do not budget ad spend on them.
- The model coefficients are hand-set and have not been fitted against ground-truth volumes.
- Every record carries `estimate_confidence` (`low`, `medium`, or `high` for DataForSEO data) and a `model_version`.

### How the standalone model works

For every seed the actor sends:

- 3 seed queries: Google Chrome suggest, Bing OSJSON suggest and YouTube suggest
- 1 **prefix probe**: `crm software` → `crm so`. This shows where Google ranks the seed among competing completions, using Google's own `suggestrelevance` score (500-1300).
- 5 buyer-intent modifier queries, on Google and Bing: `best {kw}`, `{kw} cost`, `{kw} software`, `{kw} vs`, `{kw} near me`

| Metric | Built from |
|---|---|
| Volume | word count (head terms are bigger), Google relevance, rank in the prefix probe, number of engines that know the phrase (`engines_matched`), suggestion fan-out, and a country factor. Related keywords that contain the seed are capped below the seed. |
| CPC | industry baselines: legal $18-65, insurance $14-45, finance $8-32, B2B SaaS $6-24, home services $7-28, healthcare $5-18, e-commerce $1.20-4.50, informational $0.35-1.80. The keyword is placed within its range by commercial score, adjusted for intent and country. |
| Difficulty | volume, commercial score, vertical competitiveness and head-term length |
| Intent | rules for navigational (login, .com), local (near me), informational (how, what, meaning), transactional (price, buy, hire) and commercial (best, vs, software, agency) |
| Trend | the estimate spread over the last 12 complete months with a seasonal profile: home/outdoor, tax, holiday retail, insurance, B2B, fitness, education, travel, heating, or flat |

Suggestion filtering:

- Spelling-noise completions are removed.
- YouTube's synthetic "echo" completions are removed.
- Modifier results that no longer mention the seed are removed.

So a nonsense keyword gets one low-confidence `<100` record and no invented related keywords.

### Input

| Field | Default | What it does |
|---|---|---|
| `keywords` | `crm software`, `roofing contractor` | Seed keywords (max 500 per run). |
| `country` | `US` | Market for autocomplete, country factors and DataForSEO location. 20 countries are supported. |
| `language` | `en` | Autocomplete language (`hl`). |
| `expandWithModifiers` | `true` | Add the 5 buyer-intent modifier queries. |
| `includeExpandedKeywords` | `true` | Return related keywords, not only the seeds. |
| `maxExpandedKeywordsPerSeed` | `10` | Related keywords per seed (0-50). They are ranked by cross-engine presence, then Google relevance. |
| `dataforseoLogin` | `""` | Optional DataForSEO API login. |
| `dataforseoPassword` | *(secret, no default)* | Optional DataForSEO API password. Apify stores it encrypted. Secret inputs cannot have a default. |

### Output (real output, standalone mode)

```json
{
  "record_type": "keyword_metric",
  "keyword": "crm software",
  "seed_keyword": "crm software",
  "is_seed": true,
  "country": "US",
  "language": "en",
  "estimated_monthly_volume": 71000,
  "volume_tier": "10k-100k",
  "estimated_cpc_usd": 15.62,
  "cpc_low_usd": 8.59,
  "cpc_high_usd": 26.56,
  "keyword_difficulty": 69,
  "competition_level": "HIGH",
  "search_intent": "commercial",
  "commercial_score": 79,
  "vertical": "saas_b2b",
  "google_relevance_score": 1250,
  "engines_matched": ["google", "bing", "youtube"],
  "engines_matched_count": 3,
  "top_autocomplete_suggestions": ["crm software meaning", "crm software examples", "crm software list", "crm software systems", "crm software for small businesses"],
  "serp_features_likely": ["organic", "top_ads", "bottom_ads", "videos"],
  "monthly_trend_estimate": [{"month": "2025-11", "volume": 71000}, {"month": "2025-12", "volume": 65000}, {"month": "2026-01", "volume": 75000}],
  "estimate_confidence": "medium",
  "metrics_source": "modeled_estimate",
  "model_version": "kv-heuristic-1.0",
  "data_source_mode": "live",
  "snapshot_captured_at": null
}
```

More rows from the same default run (seeds and related keywords):

| Keyword | Est. volume | CPC | Difficulty | Intent |
|---|---|---|---|---|
| roofing contractor | 50,000 | $18.46 | 65 | commercial |
| best roofing contractors | 5,200 | $19.15 | 59 | commercial |
| roofing contractors near me | 7,200 | $21.95 | 58 | local |
| crm software vs erp | 3,300 | $16.12 | 57 | commercial |
| crm software cost for small business | 220 | $17.70 | 44 | transactional |

### Run locally

```bash
cd actors/keyword-volume-seo-intel
pip install -r requirements.txt
python -m src.main --local-input '{"keywords": ["solar panel installation"], "country": "GB", "maxExpandedKeywordsPerSeed": 5}'
```

### Limitations and coverage

- **Estimates.** Standalone metrics are estimates (see above). For exact Google Ads numbers use the DataForSEO option; keyword difficulty stays modeled in both modes.
- **Failing engines.** If one engine fails (rate limit or outage), its name appears in `engines_failed` and the other engines' signals are still used.
- **Non-English markets.** Autocomplete is localized via `country` and `language`, but intent and vertical rules are written for English keywords.
- **Related keywords are autocomplete suggestions.** Each seed yields at most `maxExpandedKeywordsPerSeed` related keywords (10 by default, 50 at most), taken from the seed, prefix-probe and 5 modifier queries above; there is no exhaustive long-tail crawl.
- **Fallback.** One seed failing never stops the others. If every engine fails for one of the default seeds (`crm software`, `roofing contractor`, US/en), the run serves the recorded real records for that seed for free, labeled `data_source_mode: "verified_snapshot_fallback"` with `snapshot_captured_at`.

### Companion B2B & Lead Generation Actors by RickyZ1X

| Actor | Best for | Apify Store link |
| :--- | :--- | :--- |
| **Building Permits Scraper - Contractor Leads & Phone** | New permits with contractor phone and parsed job specs (6 US portals) | [rickyz1x/building-permits-scraper](https://apify.com/rickyz1x/building-permits-scraper) |
| **Contractor License Scraper - Insurance & Bond Expiry** | WA contractors with expiring insurance, bonds or licenses | [rickyz1x/contractor-license-scraper](https://apify.com/rickyz1x/contractor-license-scraper) |
| **Building Permit History Scraper - Address Lookup** | Permit history by contractor, phone or address (HTTP API + MCP) | [rickyz1x/permit-history-scraper](https://apify.com/rickyz1x/permit-history-scraper) |
| **Career Site Jobs Scraper - Greenhouse, Lever, Ashby** | Open jobs and hiring signals from 6 ATS platforms | [rickyz1x/career-site-jobs-scraper](https://apify.com/rickyz1x/career-site-jobs-scraper) |
| **Google Ads Transparency Scraper - Ad Library & Leads** | Which domains run Google Ads, with advertiser and creatives | [rickyz1x/google-ads-scraper](https://apify.com/rickyz1x/google-ads-scraper) |
| **Keyword Search Volume & CPC Scraper - Google & Bing** | Modeled search volume, CPC, difficulty and intent from autocomplete (this Actor) | [rickyz1x/keyword-volume-scraper](https://apify.com/rickyz1x/keyword-volume-scraper) |
| **Product Hunt & YC Scraper - Startup & Founder Leads** | New Product Hunt, YC and Show HN startups with founders and contacts | [rickyz1x/product-hunt-scraper](https://apify.com/rickyz1x/product-hunt-scraper) |
| **Tech Stack & Pixel Scraper - BuiltWith Alternative** | Technologies, ad pixels, GTM IDs and Shopify data for any website | [rickyz1x/tech-stack-scraper](https://apify.com/rickyz1x/tech-stack-scraper) |
| **Luma, Eventbrite & Meetup Scraper - Organizer Leads** | Upcoming events with organizer, host and sponsor leads | [rickyz1x/luma-events-scraper](https://apify.com/rickyz1x/luma-events-scraper) |

# Actor input Schema

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

One keyword or phrase per line (max 500 per run, 100 characters each).

## `country` (type: `string`):

Market for autocomplete (gl / Bing mkt), the volume and CPC country factors, and the DataForSEO location.

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

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

## `expandWithModifiers` (type: `boolean`):

Also query 'best {keyword}', '{keyword} cost', '{keyword} software', '{keyword} vs' and '{keyword} near me' on Google and Bing to surface commercial long-tail keywords.

## `includeExpandedKeywords` (type: `boolean`):

Return metrics for the top related keywords of every seed (not just the seeds themselves).

## `maxExpandedKeywordsPerSeed` (type: `integer`):

How many related keywords to score per seed (0-50), ranked by cross-engine presence and Google relevance.

## `dataforseoLogin` (type: `string`):

Optional. Your own DataForSEO API login. With login + password, volume, CPC, competition and the monthly trend come from DataForSEO's Google Ads data (billed to your DataForSEO account). Leave empty to use the free modeled estimates.

## `dataforseoPassword` (type: `string`):

Optional. Your DataForSEO API password. Stored encrypted by Apify (secret input). Required only together with the login.

## Actor input object example

```json
{
  "keywords": [
    "crm software",
    "roofing contractor"
  ],
  "country": "US",
  "language": "en",
  "expandWithModifiers": true,
  "includeExpandedKeywords": true,
  "maxExpandedKeywordsPerSeed": 10,
  "dataforseoLogin": ""
}
```

# Actor output Schema

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

All output records stored in the default dataset.

# 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": [
        "crm software",
        "roofing contractor"
    ],
    "country": "US",
    "language": "en",
    "maxExpandedKeywordsPerSeed": 10,
    "dataforseoLogin": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("rickyz1x/keyword-volume-scraper").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": [
        "crm software",
        "roofing contractor",
    ],
    "country": "US",
    "language": "en",
    "maxExpandedKeywordsPerSeed": 10,
    "dataforseoLogin": "",
}

# Run the Actor and wait for it to finish
run = client.actor("rickyz1x/keyword-volume-scraper").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": [
    "crm software",
    "roofing contractor"
  ],
  "country": "US",
  "language": "en",
  "maxExpandedKeywordsPerSeed": 10,
  "dataforseoLogin": ""
}' |
apify call rickyz1x/keyword-volume-scraper --silent --output-dataset

```

## MCP server setup

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

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/ye9azOgBDKITRVAHY/builds/OXWasd0hPWeudKSCr/openapi.json
