# Trending Google searches in California

**Use case:** 

Returns the searches trending on Google in California right now, from the state-level Trending now feed, with approximate volume and linked news. Regions are ISO 3166-2 codes, so US-NY, US-TX or GB-SCT work the same way where Google publishes a feed.

## Input

```json
{
  "countries": [],
  "subdivisions": [
    "US-CA"
  ],
  "allCountries": false,
  "includeNews": true,
  "minTraffic": 1000,
  "includeKeywords": [
    "football",
    "election"
  ],
  "excludeKeywords": [
    "lottery"
  ],
  "matchNewsHeadlines": true,
  "monitorMode": false,
  "monitorName": "default",
  "forgetAfterHours": 24,
  "historyDatasetName": "uk-trends-history",
  "maxResults": 50
}
```

## Output

```json
{
  "picture": {
    "label": "Image",
    "format": "image"
  },
  "keyword": {
    "label": "Trending search",
    "format": "text"
  },
  "country": {
    "label": "Country",
    "format": "text"
  },
  "approxTrafficText": {
    "label": "Searches",
    "format": "text"
  },
  "startedAt": {
    "label": "Started",
    "format": "date"
  },
  "topNewsTitle": {
    "label": "Top story",
    "format": "text"
  },
  "topNewsSource": {
    "label": "Publisher",
    "format": "text"
  },
  "topNewsUrl": {
    "label": "Story",
    "format": "link"
  },
  "trendUrl": {
    "label": "Google Trends",
    "format": "link"
  }
}
```

## How it works

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

The Google Trends Trending Now Scraper & API: 125 Countries Actor is ready to run with the inputs already set for "Trending Google searches in California". [Sign up or log in](https://console.apify.com/create-task-from-example/3oD4F4RNaEu8VCb5j) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Trending Google searches in California" task

The Google Trends Trending Now Scraper & API: 125 Countries Actor will start running based on the input automatically. You can also change all the input fields, like countries, regions (optional), and more, to match your specific use case.

### 3. Receive the "Trending Google searches in California" 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 image, trending search, country, 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 "Trending Google searches in California" task via API](https://apify.com/localwire/google-trends-trending-now.md).

## FAQ

### What does the "Trending Google searches in California" task return?

The "Trending Google searches in California" task returns one record per trending search: keyword, country, approximate traffic, start time, the top news story and the Google Trends link.

### Which regions does the California trending searches task support?

The California trending searches task takes ISO 3166-2 codes such as US-NY or US-TX in the subdivisions field. A region Google has no feed for is reported and skipped.

### How do I run the "Trending Google searches in California" task on a schedule or from code?

Copy the "Trending Google searches in California" task to your Apify account, then add a schedule in Apify Console or start it with the Run task API endpoint. Results download as JSON, CSV or Excel.

## About this Actor

This example demonstrates how to use [Google Trends Trending Now Scraper & API: 125 Countries](https://apify.com/localwire/google-trends-trending-now.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/localwire/google-trends-trending-now.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/localwire/google-trends-trending-now.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`).
