# Local keyword search volume for a city

**Use case:** 

Get Google search volume and CPC for a single city or region instead of a whole country, for local SEO and local ads. Set the location as City,Region,Country, a country code, or GPS coordinates.

## Input

```json
{
  "keywords": [
    "dentist",
    "emergency dentist",
    "teeth whitening",
    "dental implants",
    "invisalign"
  ],
  "location": "London,England,United Kingdom",
  "language": "en",
  "includeRelated": false,
  "maxRelated": 100,
  "searchPartners": false
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "searchVolume": {
    "label": "Monthly searches",
    "format": "integer"
  },
  "cpc": {
    "label": "CPC (USD)",
    "format": "number"
  },
  "lowTopOfPageBid": {
    "label": "Bid low (USD)",
    "format": "number"
  },
  "highTopOfPageBid": {
    "label": "Bid high (USD)",
    "format": "number"
  },
  "competition": {
    "label": "Competition",
    "format": "string"
  },
  "competitionIndex": {
    "label": "Competition 0-100",
    "format": "integer"
  },
  "trend3mPct": {
    "label": "3-mo change %",
    "format": "number"
  },
  "trend12mPct": {
    "label": "12-mo change %",
    "format": "number"
  },
  "yoyPct": {
    "label": "YoY %",
    "format": "number"
  },
  "latestMonth": {
    "label": "Latest month",
    "format": "string"
  },
  "isRelated": {
    "label": "Related idea",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Local keyword search volume for a city" task

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

### 3. Receive the "Local keyword 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, CPC (USD), 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 "Local keyword search volume for a city" task via API](https://apify.com/aqua_wellhead/keyword-search-volume.md).

## FAQ

### How do I set the city in the local keyword search volume task?

In the local keyword search volume task, write the location as City,Region,Country, for example London,England,United Kingdom or Austin,Texas,United States.

### Why do small cities return fewer keywords with data?

The local keyword search volume task returns what Google reports, and Google has no data for many low-volume keywords in small markets. Those rows are free.

### Can the local task use GPS coordinates?

Yes. The local keyword search volume task also accepts a latitude,longitude pair as the location.

## About this Actor

This example demonstrates how to use [Local Keyword Search Volume & CPC: Planner API](https://apify.com/aqua_wellhead/keyword-search-volume.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/aqua_wellhead/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/aqua_wellhead/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`).
