# Keyword Search Volume: Google CPC, Difficulty & Intent (`parseforge/keyword-search-volume-scraper`) Actor

Bulk Google keyword search volume, CPC, competition, 24-month trend, keyword difficulty and search intent for any country. Export CSV, Excel, JSON or XML.

- **URL**: https://apify.com/parseforge/keyword-search-volume-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 keyword with searches data

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v3.webp)

## 🔍 Keyword Search Volume Scraper

> 🚀 **Export Google search volume for thousands of keywords in seconds.** Paste a list and get back 30 columns per keyword: monthly searches, CPC, competition, top-of-page bids, a 24-month history with month-over-month, 3-month and year-over-year trends, plus keyword difficulty, search intent and SERP features. No Google Ads account needed.

This Actor returns the same numbers advertisers see in Google Ads Keyword Planner, averaged monthly searches instead of the "1K to 10K" ranges a logged out Keyword Planner shows. On top of the paid search metrics it adds the organic side of the picture: how hard the keyword is to rank for (0 to 100), what the searcher wants (informational, commercial, transactional or navigational), which SERP features Google shows for it, and how many referring domains the current top 10 results carry on average.

It covers 217 countries and 46 languages, plus more than 260,000 sub-country targets (states, regions, cities and DMAs) through a numeric location code. Two modes: **Metrics** measures exactly the keywords you give it, **Ideas** expands up to 20 seeds per request into related keywords (670 ideas for the single seed "web scraping" in the United States). Lists are deduplicated and processed in batches of 1,000.

| 🎯 Target Audience | 💡 Primary Use Cases |
|---|---|
| SEO specialists and content teams | Prioritise topics by real demand and ranking difficulty |
| PPC and Google Ads managers | Plan budgets from real CPC and top-of-page bid ranges |
| Agencies | Size keyword opportunities for many clients and markets in one run |
| Programmatic SEO builders | Score thousands of generated pages before publishing them |
| Market researchers and founders | Validate a niche and spot seasonality before investing |
| AI agents and automation builders | Feed clean keyword metrics into LLM pipelines, n8n or Make |

### 📋 What the Keyword Search Volume Checker does

1. Takes your keywords, one per line, trims and lowercases them and removes duplicates.
2. Reads the market you picked: a country (or Worldwide), a language (or all languages), and optionally a state, city or DMA code and Google search partners.
3. Looks up each keyword's Keyword Planner metrics: average monthly searches, CPC, competition level and index, and the low and high top-of-page bids.
4. Adds the last 24 months of search volume and derives the month-over-month, 3-month and year-over-year change, plus the peak and lowest month of the last year.
5. Adds SEO metrics where Google data allows it (94 countries): keyword difficulty, main and secondary search intent, the SERP features on the results page, and the average backlink profile of the top 10 results.
6. In Ideas mode, expands your seeds into related keywords ranked the way Keyword Planner ranks them (relevance, volume, competition or bids), each with the full set of metrics.
7. Emits one row per keyword. Keywords Google has no data for, and keywords Google Ads rejects, come back as free rows with the reason.

> 💡 **Why it matters:** search volume alone tells you how big a keyword is. It does not tell you whether you can rank for it, whether the searcher wants to buy, or whether demand is growing. This Actor puts volume, cost, difficulty, intent and trend on the same row, so a keyword list turns into a prioritised plan without a second tool.

### 🎬 Full Demo (🚧 Coming soon)

### 📊 Output

Each dataset row is one keyword in one market. 30 columns per row.

| Field | Type | Description |
|---|---|---|
| 🔑 `keyword` | string | The keyword, normalised to lowercase |
| 📈 `searchVolume` | number | Average monthly Google searches |
| 💵 `cpc` | number | Average cost per click in USD |
| ⚔️ `competition` | string | `LOW`, `MEDIUM` or `HIGH` advertiser competition |
| 📊 `competitionIndex` | number | Competition on a 0 to 100 scale |
| ⬇️ `lowTopOfPageBid` | number | Low range of the top-of-page bid in USD |
| ⬆️ `highTopOfPageBid` | number | High range of the top-of-page bid in USD |
| 📆 `trendMonthlyPct` | number | Change of the latest month against the previous month, in % |
| 🗓 `trendQuarterlyPct` | number | Change against three months earlier, in % |
| 📅 `trendYearlyPct` | number | Change against the same month a year earlier, in % |
| 🔝 `peakMonth` | string | Busiest month of the last 12 (`YYYY-MM`) |
| 🔻 `lowestMonth` | string | Quietest month of the last 12 (`YYYY-MM`) |
| 🧗 `keywordDifficulty` | number | How hard it is to rank in the organic top 10, 0 to 100 |
| 🎯 `searchIntent` | string | `informational`, `commercial`, `transactional` or `navigational` |
| 🎯 `secondaryIntents` | array | Other intents the keyword also serves |
| 🧩 `serpFeatures` | array | Result types on the Google page, such as `ai_overview`, `people_also_ask`, `local_pack` |
| 🔗 `avgReferringDomainsTop10` | number | Average referring domains of the pages ranking in the top 10 |
| 🔗 `avgBacklinksTop10` | number | Average backlinks of the pages ranking in the top 10 |
| 🔎 `googleSearchUrl` | string | The Google results page for the keyword in that market |
| 🌱 `seedKeyword` | string | Ideas mode: the seed that produced the idea |
| 🌍 `location` | string | Country or target name |
| 📍 `locationCode` | string | Google Ads geo target ID |
| 🗣 `language` | string | Language name |
| 🔤 `languageCode` | string | Language code |
| 🤝 `searchPartners` | string | `Yes` when search partner volume is included |
| 🗄 `dataSource` | string | Keyword Planner live, or its monthly snapshot |
| 🕓 `metricsUpdatedAt` | string | When the metrics were last refreshed |
| 📉 `monthlySearches` | array | Up to 24 months of volume, newest first |
| 🕒 `scrapedAt` | string | When the row was collected |
| ❌ `error` | string | Populated only on rows without data |

#### Real sample records

From a United States, English run. `monthlySearches` is trimmed to the latest 3 of its 24 months here.

```json
{
  "keyword": "running shoes",
  "searchVolume": 301000,
  "cpc": 1.09,
  "competition": "HIGH",
  "competitionIndex": 100,
  "lowTopOfPageBid": 0.47,
  "highTopOfPageBid": 2.17,
  "trendMonthlyPct": 22,
  "trendQuarterlyPct": 22,
  "trendYearlyPct": -45,
  "peakMonth": "2025-09",
  "lowestMonth": "2026-06",
  "keywordDifficulty": 43,
  "searchIntent": "transactional",
  "secondaryIntents": [],
  "serpFeatures": ["popular_products", "product_considerations", "organic", "local_pack", "people_also_ask", "perspectives", "related_searches", "images"],
  "avgReferringDomainsTop10": 97,
  "avgBacklinksTop10": 369,
  "googleSearchUrl": "https://www.google.com/search?q=running+shoes&gl=US&hl=en",
  "seedKeyword": "N/A",
  "location": "United States",
  "locationCode": "2840",
  "language": "English",
  "languageCode": "en",
  "searchPartners": "No",
  "dataSource": "Google Ads Keyword Planner (monthly snapshot)",
  "metricsUpdatedAt": "2026-09-15T04:30:26.000Z",
  "monthlySearches": [
    { "month": "2026-08", "searchVolume": 301000 },
    { "month": "2026-07", "searchVolume": 246000 },
    { "month": "2026-06", "searchVolume": 201000 }
  ],
  "scrapedAt": "2026-09-24T16:12:32.324Z",
  "error": null
}
```

```json
{
  "keyword": "web scraping",
  "searchVolume": 9900,
  "cpc": 14.12,
  "competition": "LOW",
  "competitionIndex": 22,
  "lowTopOfPageBid": 2.98,
  "highTopOfPageBid": 13.35,
  "trendMonthlyPct": -18,
  "trendQuarterlyPct": 0,
  "trendYearlyPct": -18,
  "peakMonth": "2026-03",
  "lowestMonth": "2026-08",
  "keywordDifficulty": 40,
  "searchIntent": "informational",
  "secondaryIntents": [],
  "serpFeatures": ["ai_overview", "organic", "product_considerations", "people_also_ask", "discussions_and_forums", "video", "related_searches"],
  "avgReferringDomainsTop10": 453,
  "avgBacklinksTop10": 2020,
  "googleSearchUrl": "https://www.google.com/search?q=web+scraping&gl=US&hl=en",
  "seedKeyword": "N/A",
  "location": "United States",
  "locationCode": "2840",
  "language": "English",
  "languageCode": "en",
  "searchPartners": "No",
  "dataSource": "Google Ads Keyword Planner (monthly snapshot)",
  "metricsUpdatedAt": "2026-09-16T02:54:36.000Z",
  "monthlySearches": [
    { "month": "2026-08", "searchVolume": 8100 },
    { "month": "2026-07", "searchVolume": 9900 },
    { "month": "2026-06", "searchVolume": 8100 }
  ],
  "scrapedAt": "2026-09-24T16:12:32.392Z",
  "error": null
}
```

```json
{
  "keyword": "project management software",
  "searchVolume": 165000,
  "cpc": 49.28,
  "competition": "LOW",
  "competitionIndex": 4,
  "lowTopOfPageBid": 9.14,
  "highTopOfPageBid": 57.34,
  "trendMonthlyPct": 0,
  "trendQuarterlyPct": -63,
  "trendYearlyPct": -18,
  "peakMonth": "2026-05",
  "lowestMonth": "2025-12",
  "keywordDifficulty": 51,
  "searchIntent": "commercial",
  "secondaryIntents": [],
  "serpFeatures": ["ai_overview", "organic", "product_considerations", "people_also_ask", "video", "related_searches"],
  "avgReferringDomainsTop10": 348,
  "avgBacklinksTop10": 1514,
  "googleSearchUrl": "https://www.google.com/search?q=project+management+software&gl=US&hl=en",
  "seedKeyword": "N/A",
  "location": "United States",
  "locationCode": "2840",
  "language": "English",
  "languageCode": "en",
  "searchPartners": "No",
  "dataSource": "Google Ads Keyword Planner (monthly snapshot)",
  "metricsUpdatedAt": "2026-09-13T19:14:28.000Z",
  "monthlySearches": [
    { "month": "2026-08", "searchVolume": 201000 },
    { "month": "2026-07", "searchVolume": 201000 },
    { "month": "2026-06", "searchVolume": 246000 }
  ],
  "scrapedAt": "2026-09-24T16:12:32.519Z",
  "error": null
}
```

### ✨ Why choose this Actor

- **Paid and organic metrics on one row.** Keyword Planner volume, CPC and bids sit next to keyword difficulty, search intent, SERP features and the backlink strength of the current top 10. Most volume checkers stop at the first half.
- **Two years of history, trends already computed.** 24 months of monthly volume, with month-over-month, 3-month and year-over-year change and the peak and lowest month. Seasonality is visible without a spreadsheet formula.
- **Any market, down to the city.** 217 countries, 46 languages, Worldwide, and more than 260,000 state, region, city and DMA targets through a numeric location code.
- **Exact averages, not ranges.** The numbers a Google Ads account with active spend sees, without needing that account, a developer token or an OAuth setup.
- **You only pay for keywords with data.** Keywords Google has no figures for, and keywords Google Ads refuses (too long, more than 10 words, unsupported symbols), come back as free rows that say why.
- **Ideas mode with Keyword Planner ranking.** Expand seeds into related keywords sorted by relevance, volume, competition or bids, and cap the rows with Max Items so a broad seed never runs away.
- **Honest freshness.** `dataSource` and `metricsUpdatedAt` tell you whether a row was measured live during the run or read from the monthly Keyword Planner snapshot, and when that snapshot was taken.
- **Fast.** Plain API calls, no browser. A 5 keyword run finished in under 5 seconds and a 1,000 keyword list in 37 seconds.

### 📈 How it compares to alternatives

| | This Actor | Volume-only checkers | Google Keyword Planner | SEO suites |
|---|---|---|---|---|
| Google Ads account needed | No | No | Yes | No |
| Exact monthly averages | Yes | Yes | Only with active ad spend | Yes |
| Monthly history | 24 months | Usually 12 | 12 to 48 months | Varies |
| Trend and seasonality computed | Yes | No | No | Some |
| Keyword difficulty and intent | Yes, 94 countries | No | No | Yes |
| SERP features and top 10 backlinks | Yes | No | No | Yes |
| City and DMA targeting | Yes | Rarely | Yes | Rarely |
| Charged for keywords without data | No | Often yes | Free | Subscription |
| Pricing | Per keyword with data | Per row | Free with an ad account | $100+ per month |

The SEO metrics (difficulty, intent, SERP features, backlinks) exist per country and language, so they are filled for 94 countries with a specific language and marked `N/A` for Worldwide, "any language" and sub-country targets, where you still get the full Keyword Planner metrics. Keywords Google considers too rare to report come back as free rows with no numbers, never as invented zeros.

### 🚀 How to use

1. Create a free Apify account. New accounts include $5 of free platform credit, which is plenty to try this out: [console.apify.com/sign-up](https://console.apify.com/sign-up?fpr=vmoqkp)
2. Open the Actor and go to the Input tab.
3. Paste your keywords, one per line, for example `running shoes`, `web scraping`, `keyword research`.
4. Choose **Metrics** to measure exactly those keywords, or **Ideas** to expand them into related keywords.
5. Pick the **Country** and **Language**, or enter a **Custom location code** for a state, city or DMA.
6. Set **Max Items** to cap how many rows come back.
7. Click **Start**, then open the **Dataset** tab and download as CSV, Excel, JSON or XML, or pull it from the API.

```json
{
  "keywords": ["running shoes", "web scraping", "keyword research"],
  "mode": "metrics",
  "location": "2840",
  "language": "en",
  "includeSeoMetrics": true
}
```

### 💼 Business use cases

#### Content planning that ranks

Run your topic list and sort by `searchVolume` against `keywordDifficulty`. Keywords with solid demand, difficulty under 40 and an informational `searchIntent` are the articles a young site can actually win. `serpFeatures` shows where an `ai_overview` or `people_also_ask` box will sit above your result, so you can plan the format before writing.

#### Google Ads budget forecasting

`cpc`, `lowTopOfPageBid` and `highTopOfPageBid` give the realistic cost range per click for every keyword in the target country or city. Multiply by `searchVolume` and an expected click share to size a campaign before launching it, and use `competition` to spot cheap commercial terms advertisers overlook.

#### Seasonality and launch timing

`peakMonth`, `lowestMonth` and the 24-month `monthlySearches` show when demand arrives. A retailer sees that "running shoes" peaked in September 2025 and bottomed in June 2026, and times content and promotions for the climb instead of the peak.

#### Agency market sizing across countries

Run the same list once per country with the **Country** selector and compare `searchVolume`, `cpc` and `keywordDifficulty` side by side. One dataset per market, identical columns, ready to drop into a client proposal.

### 🔌 Automating Keyword Search Volume Checker

- **Make** and **Zapier**: send a new keyword list from a form or a sheet, get the metrics back into the same row.
- **Slack**: post a weekly digest of keywords whose `trendYearlyPct` jumped above a threshold.
- **Airbyte**: sync datasets into BigQuery, Snowflake or Postgres and join them with your Search Console data.
- **GitHub**: schedule runs from Actions and keep versioned snapshots of keyword demand over time.
- **Google Drive**: drop a fresh CSV or Google Sheet into a shared folder after every run.
- **API and webhooks**: every run emits a dataset ID. Subscribe to the run succeeded webhook and pull the rows directly into your own tools.

### 🌟 Beyond business use cases

- **Research**: study how search interest in a topic moves across countries and languages over two years.
- **Personal**: check whether the blog post or side project you are planning has an audience before you build it.
- **Non profit**: measure how often people search for the services and causes you cover, market by market.
- **Experimentation**: volume, difficulty and intent on the same row make a clean dataset for testing keyword clustering or ranking models.

### 🤖 Ask an AI assistant about this scraper

Paste this into ChatGPT, Claude or any assistant to get help designing your run:

> I am using the ParseForge Keyword Search Volume Checker on Apify. It takes a list of keywords and a market (country, language, optional city or DMA code) and returns one row per keyword with 30 fields including searchVolume, cpc, competition, competitionIndex, lowTopOfPageBid, highTopOfPageBid, trendMonthlyPct, trendQuarterlyPct, trendYearlyPct, peakMonth, keywordDifficulty (0 to 100), searchIntent, serpFeatures, avgReferringDomainsTop10 and 24 months of monthlySearches. It has a Metrics mode for my own list and an Ideas mode that expands seeds into related keywords. Help me design a run and a prioritisation strategy to answer this question: \[your question here].

### ❓ Frequently Asked Questions

**🔐 Do I need a Google Ads account?**
No. The numbers are Keyword Planner metrics, but you never connect an Ads account, request a developer token or set up OAuth.

**📊 Is this real Google data?**
Yes. Search volume, CPC, competition and bids come from Google Ads Keyword Planner. `dataSource` tells you whether the row was measured live during the run or read from the monthly Keyword Planner snapshot, and `metricsUpdatedAt` says when.

**🧗 How is keyword difficulty calculated?**
It estimates how hard it is to reach the organic top 10 on a 0 to 100 scale, based on the link strength of the pages ranking there today. `avgReferringDomainsTop10` and `avgBacklinksTop10` show the raw numbers behind it.

**🌍 Why are difficulty and intent `N/A` for my market?**
The SEO metrics are built per country and language and exist for 94 countries. For Worldwide, "any language" and state, city or DMA targets, the row still carries every Keyword Planner metric and the SEO columns read `N/A`. `Not Disclosed` means the market is covered but that particular keyword is not.

**💳 What am I charged for?**
One event per keyword row with search data. Keywords Google has no data for, keywords Google Ads rejects, and error rows are free.

**🚫 Why did a keyword come back without numbers?**
Google does not report volume for very rare or nonsensical queries, and Google Ads refuses keywords longer than 80 characters, longer than 10 words, or containing symbols such as `%`. Those rows carry the keyword and the reason in `error`.

**💡 How many ideas does Ideas mode return?**
Google Keyword Planner returned 670 ideas for the single seed "web scraping" in the United States. Max Items caps the rows, and **Sort ideas by** decides which ones come first.

**🤝 What does "Include Google search partners" change?**
It adds searches on Google's partner sites, the same network setting as in Keyword Planner. For "web scraping" in the United States the monthly volume moves from 9,900 to 12,100.

**📍 How do I target a city or a state?**
Enter its numeric Google Ads geo target ID in **Custom location code**, for example `21167` for New York State or `1023191` for New York City. It overrides the Country selector.

**⏱ How long does a run take?**
Under 5 seconds for 5 keywords and 37 seconds for a 1,000 keyword list in our tests. Larger lists are processed in batches of up to 1,000 keywords.

**💵 How much does it cost?**
It is pay per event. Each keyword row that carries Google search data costs $0.006 on the free Apify plan tier and less on higher tiers (down to $0.0032). A small start fee applies to each run, about $0.025 on the free tier at the default 512 MB. Keywords without data, keywords Google Ads rejects and error rows are free. Large lists are cheapest per keyword because the start fee is shared across all rows.

**📥 What export formats are supported?**
CSV, Excel, JSON, XML, plus direct API access and integrations with Make, Zapier, Airbyte, Slack, Google Drive and more.

### 🔌 Integrate with any app

Every run writes to an Apify dataset reachable through a REST API, so the output drops into whatever you already use. Native integrations cover Make, Zapier, Airbyte, Slack, Google Drive, GitHub, Google Sheets and webhooks, and the API covers everything else.

### 🔗 Recommended Actors

- [Google Search Scraper - 23 Fields, Organic & Paid](https://apify.com/parseforge/google-search-scraper) - see who ranks for the keywords you just measured.
- [Google Trends Scraper - Interest Over Time](https://apify.com/parseforge/google-trends-scraper) - relative interest and rising queries to pair with absolute volumes.
- [Google Ads Scraper](https://apify.com/parseforge/google-ads-scraper) - the ads competing for your commercial keywords.
- [Ahrefs Free Tools Scraper](https://apify.com/parseforge/ahrefs-tools-scraper) - backlink and authority checks for the domains in the top 10.
- [Semrush Scraper](https://apify.com/parseforge/semrush-scraper) - domain traffic and competitor overviews.

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge).

**🆘 Need Help?** [Open our contact form](https://tally.so/r/BzdKgA)

> **⚠️ Disclaimer:** independent tool, not affiliated with Google; only publicly available data.

# Actor input Schema

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

Keywords to check, one per line. In Ideas mode these are the seeds (up to 20) that get expanded into related keywords. Duplicates and extra spaces are removed automatically.

## `maxItems` (type: `integer`):

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## `mode` (type: `string`):

Metrics measures exactly the keywords you list (one row each). Ideas treats them as seeds and returns related keywords from Google Keyword Planner, each with full metrics; Max Items caps the rows.

## `ideasSortBy` (type: `string`):

Ideas mode only: the order Google Keyword Planner ranks the suggestions in, before Max Items cuts the list.

## `includeAdultKeywords` (type: `boolean`):

Ideas mode only: allow adult keyword suggestions.

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

Country the search volume, CPC and competition are measured in. Worldwide gives global Google Ads figures (SEO metrics such as difficulty and intent are country-level, so they are skipped for Worldwide).

## `locationCode` (type: `string`):

Target a state, region, city or DMA instead of a whole country: a numeric Google Ads geo target ID (for example 21167 for New York State or 1023191 for New York City). Overrides Country. SEO metrics are skipped for sub-country locations.

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

Language of the searches. Any language gives the total across all languages (SEO metrics need a specific language).

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

Add searches on Google search partner sites to the volume (higher numbers, same as the Keyword Planner network setting).

## `includeSeoMetrics` (type: `boolean`):

Add keyword difficulty (0-100), search intent, SERP features and the average backlink profile of the top 10 results. Available for 94 countries with a specific language.

## Actor input object example

```json
{
  "keywords": [
    "running shoes",
    "web scraping",
    "keyword research"
  ],
  "maxItems": 10,
  "mode": "metrics",
  "ideasSortBy": "relevance",
  "includeAdultKeywords": false,
  "location": "2840",
  "language": "en",
  "searchPartners": false,
  "includeSeoMetrics": true
}
```

# Actor output Schema

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

Volume, CPC, competition, trend, difficulty and intent

## `fullData` (type: `string`):

Complete dataset with all 30 fields

# 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": [
        "running shoes",
        "web scraping",
        "keyword research"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/keyword-search-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": [
        "running shoes",
        "web scraping",
        "keyword research",
    ],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/keyword-search-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": [
    "running shoes",
    "web scraping",
    "keyword research"
  ],
  "maxItems": 10
}' |
apify call parseforge/keyword-search-volume-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/keyword-search-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/BloSoGmDidh6gkZvu/builds/wiwsRvr2wjkVWw6wc/openapi.json
