# Compare Google search interest for keywords

**Use case:** 

Get Google Trends data for your keywords: interest over time, interest by country, region and city, and top and rising related queries and topics. Compare up to 5 terms on the same scale, and pick the country, time range, category and Google property (Web, YouTube, News, Images, Shopping). Fast, no browser. Export to CSV or JSON for keyword research and content planning.

## Input

```json
{
  "searchTerms": [
    "chatgpt, gemini, claude"
  ],
  "isMultiple": true,
  "timeRange": "today 12-m",
  "geo": "",
  "category": "",
  "property": "",
  "language": "en-US",
  "includeInterestOverTime": true,
  "includeInterestByRegion": true,
  "includeRelatedQueries": true,
  "maxItems": 0,
  "maxConcurrency": 5,
  "maxRequestRetries": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "geo": {
    "label": "Location",
    "format": "string"
  },
  "timeRange": {
    "label": "Time range",
    "format": "string"
  },
  "property": {
    "label": "Search type",
    "format": "string"
  },
  "interestOverTime_timelineData": {
    "label": "Interest over time",
    "format": "array"
  },
  "relatedQueries_top": {
    "label": "Top queries",
    "format": "array"
  },
  "relatedQueries_rising": {
    "label": "Rising queries",
    "format": "array"
  },
  "url": {
    "label": "Google Trends",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Google Trends Scraper (Fast, No Browser) Actor is ready to run with the inputs already set for "Compare Google search interest for keywords". [Sign up or log in](https://console.apify.com/create-task-from-example/mISM8fB0avSKiTfzJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare Google search interest for keywords" task

The Google Trends Scraper (Fast, No Browser) Actor will start running based on the input automatically. You can also change all the input fields, like search terms, compare comma-separated terms, and more, to match your specific use case.

### 3. Receive the "Compare Google search interest for keywords" 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, location, 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 "Compare Google search interest for keywords" task via API](https://apify.com/rakish_bobby_gwr/google-trends-fast-scraper.md).

## FAQ

### What output fields does this task provide for Google Trends data?

The task provides fields including search term, location, time range, search type, interest over time, top queries, rising queries, and a link to Google Trends.

### How does the interest over time data work for my search terms?

Interest over time data shows search interest for your terms on a scale from 0 to 100, allowing you to visualize trends over time.

### What types of searches does this task support?

The task supports various search types including Web, YouTube, News, Images, and Shopping.

### Can I compare multiple keywords at once?

Yes, you can compare up to 5 keywords on the same scale in this task.

### What is the time range option in this task?

The time range specifies the period over which search interest is analyzed, in Google Trends format, such as 'today 12-m'.

### Can I schedule this task to run automatically?

The task can be scheduled to run automatically in the Apify Console.

### What should I expect from the related queries output?

The related queries output includes top queries and rising queries related to the search term, helping identify additional trends.

## About this Actor

This example demonstrates how to use [Google Trends Scraper (Fast, No Browser)](https://apify.com/rakish_bobby_gwr/google-trends-fast-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rakish_bobby_gwr/google-trends-fast-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/rakish_bobby_gwr/google-trends-fast-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`).
