# See where a keyword is most searched, state by state

**Use case:** 

Google Trends interest by region for each keyword: every US state (or the regions of any country) ranked 0-100, so you can see where demand is strongest before you advertise, stock or open a location.

## Input

```json
{
  "keywords": [
    "solar panels",
    "heat pump",
    "ev charger",
    "home battery"
  ],
  "trendsUrls": [
    "https://trends.google.com/trends/explore?q=air%20fryer,standing%20desk&geo=US"
  ],
  "compareKeywords": false,
  "geo": "US",
  "timeRange": "past_12_months",
  "searchType": "web",
  "category": 0,
  "includeRegions": true,
  "regionResolution": "REGION",
  "includeRelatedQueries": true,
  "maxConcurrency": 5,
  "failOnErrors": false
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "summary.text": {
    "label": "Summary",
    "format": "string"
  },
  "summary.momentum": {
    "label": "Momentum",
    "format": "string"
  },
  "summary.recentChangePct": {
    "label": "Recent change %",
    "format": "integer"
  },
  "summary.yearOnYearChangePct": {
    "label": "Year on year %",
    "format": "integer"
  },
  "summary.peakDate": {
    "label": "Peak",
    "format": "string"
  },
  "summary.seasonal": {
    "label": "Seasonal",
    "format": "boolean"
  },
  "summary.seasonalPeakMonth": {
    "label": "Seasonal peak",
    "format": "string"
  },
  "summary.topRisingQuery": {
    "label": "Top rising related search",
    "format": "string"
  },
  "summary.topRisingQueryGrowth": {
    "label": "Growth",
    "format": "string"
  },
  "geo": {
    "label": "Location",
    "format": "string"
  },
  "timeRange": {
    "label": "Time range",
    "format": "string"
  },
  "searchType": {
    "label": "Search type",
    "format": "string"
  },
  "comparedWith": {
    "label": "Compared with",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Trends Scraper & API: Bulk Trend Summaries](https://apify.com/meridianlabs/google-trends-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/meridianlabs/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/meridianlabs/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`).
