# Get local search volume for a city

**Use case:** 

Monthly Google search volume, CPC and competition for local service keywords in Chicago. Change the location to any city, state or region Google Ads supports. Built for local SEO and Google Ads planning.

## Input

```json
{
  "keywords": [
    "plumber",
    "emergency plumber",
    "drain cleaning",
    "water heater repair",
    "plumber near me"
  ],
  "mode": "volume",
  "location": "2840",
  "language": "en",
  "historyMonths": "12",
  "maxIdeas": 500,
  "customLocation": "Chicago,Illinois,United States",
  "searchPartners": false,
  "lookUpRareKeywords": true
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "searchVolume": {
    "label": "Monthly searches",
    "format": "integer"
  },
  "trend3MonthsPct": {
    "label": "3-month trend %",
    "format": "number"
  },
  "trendYearOverYearPct": {
    "label": "Year-over-year %",
    "format": "number"
  },
  "cpcUsd": {
    "label": "CPC (USD)",
    "format": "number"
  },
  "competition": {
    "label": "Competition",
    "format": "string"
  },
  "competitionIndex": {
    "label": "Competition index",
    "format": "integer"
  },
  "keywordDifficulty": {
    "label": "Keyword difficulty",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Keyword Planner API: Search Volume, CPC & Trends Actor is ready to run with the inputs already set for "Get local search volume for a city". [Sign up or log in](https://console.apify.com/create-task-from-example/Mgc8lwwXJofLdWaZ5) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get local search volume for a city" task

The Keyword Planner API: Search Volume, CPC & Trends Actor will start running based on the input automatically. You can also change all the input fields, like keywords, mode, and more, to match your specific use case.

### 3. Receive the "Get local search volume for a city" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as keyword, monthly searches, 3-month trend %, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get local search volume for a city" task via API](https://apify.com/precisionlabs/keyword-search-volume.md).

## FAQ

### Which locations can the local search volume task use?

The local search volume task accepts any location Google Ads supports: a city, a state or a region, such as Austin,Texas,United States.

### Where does the local search volume data come from?

The local search volume task uses Google Ads Keyword Planner data: the same monthly searches and CPC that Keyword Planner shows.

### What does the local search volume task cost?

The local search volume task costs under $0.20 for a short keyword list like this one. Keywords without data are free.

## About this Actor

This example demonstrates how to use [Keyword Planner API: Search Volume, CPC & Trends](https://apify.com/precisionlabs/keyword-search-volume.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/precisionlabs/keyword-search-volume.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/precisionlabs/keyword-search-volume.md

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