# Google Trends interest by US state

**Use case:** 

Where in the United States people search most for pickleball: Google Trends interest in every US state on a 0-100 scale. Use your own keywords to find the best states for a product launch, an ad campaign or a new location, or change the country to get the regions of any other country.

## Input

```json
{
  "mode": "keywords",
  "searchTerms": [
    "pickleball"
  ],
  "geo": "US",
  "timeRange": "today 12-m",
  "category": 0,
  "property": "",
  "language": "en-US",
  "interestOverTime": false,
  "interestByRegion": true,
  "regionResolution": "",
  "relatedQueries": false,
  "trendingGeos": [
    "US"
  ],
  "outputFormat": "nested",
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "keyword": {
    "label": "Search term",
    "format": "text"
  },
  "title": {
    "label": "Trending search",
    "format": "text"
  },
  "geo": {
    "label": "Location",
    "format": "text"
  },
  "timeRange": {
    "label": "Time range",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "averageInterest": {
    "label": "Average interest (0-100)",
    "format": "number"
  },
  "scaleConfidence": {
    "label": "Scale confidence (Compare mode)",
    "format": "text"
  },
  "approxTraffic": {
    "label": "Approx. traffic",
    "format": "text"
  },
  "googleTrendsUrl": {
    "label": "Open on Google Trends",
    "format": "link"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

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