# Get Google search interest by US state and metro area

**Use case:** 

See where in the United States people search most for a topic: interest in all 50 states and in about 210 metro areas (DMAs, the regions TV and online ad campaigns target), plus the 12-month timeline and related queries. Useful for local marketing, ad geo-targeting and choosing where to launch a product or open a store.

## Input

```json
{
  "searchTerms": [
    "solar panels"
  ],
  "isMultiple": false,
  "geos": [
    "US"
  ],
  "timeRange": "today 12-m",
  "dailyResolution": false,
  "property": "web",
  "includeRegions": true,
  "regionResolutions": [
    "DMA"
  ],
  "includeLowVolumeRegions": false,
  "includeRelated": true,
  "resolveTopics": false,
  "outputFormat": "report",
  "trendingHours": "24",
  "trendingMaxPerGeo": 100,
  "trendingActiveOnly": false,
  "trendingMinVolume": 0,
  "includeNews": true,
  "onlyChanges": false,
  "monitorName": "default",
  "spikeThreshold": 50,
  "maxItems": 1000,
  "maxConcurrency": 3,
  "language": "en-US",
  "timezoneOffsetMinutes": 0
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Search term"
  },
  "geo": {
    "label": "Geo"
  },
  "timeRange": {
    "label": "Time range"
  },
  "interestOverTime_summary": {
    "label": "Interest over time summary"
  },
  "relatedQueries_rising": {
    "label": "Related queries rising"
  },
  "relatedQueries_top": {
    "label": "Related queries top"
  },
  "interestBy": {
    "label": "Interest by"
  },
  "dataStatus": {
    "label": "Data status"
  },
  "exploreUrl": {
    "label": "Explore url"
  }
}
```

## How it works

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

The Google Trends Scraper: Explore, Compare, Trending Now Actor is ready to run with the inputs already set for "Get Google search interest by US state and metro area". [Sign up or log in](https://console.apify.com/create-task-from-example/96W4UXl1Nx0Ssvfzz) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get Google search interest by US state and metro area" task

The Google Trends Scraper: Explore, Compare, Trending Now Actor will start running based on the input automatically. You can also change all the input fields, like search terms, compare terms in each entry (comma-separated), and more, to match your specific use case.

### 3. Receive the "Get Google search interest by US state and metro area" 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 search term, geo, time range, 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 Google search interest by US state and metro area" task via API](https://apify.com/nat-labs/google-trends-scraper.md).

## FAQ

### Which regional levels does the interest by state and metro task return?

The interest by state and metro task returns US states by default plus every level listed in Region resolutions, here DMA (US metro areas used for TV and ad targeting). REGION, CITY and COUNTRY can be added too.

### How much does the interest by state and metro task cost?

The interest by state and metro task includes every region level in the report price of $2.50 per 1,000 reports, down to $1.50 on higher Apify plans. One keyword in one country is one report.

## About this Actor

This example demonstrates how to use [Google Trends Scraper: Explore, Compare, Trending Now](https://apify.com/nat-labs/google-trends-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nat-labs/google-trends-scraper.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/nat-labs/google-trends-scraper.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`).
