# Google Trends Rising Queries — Compare Keywords by Country

**Use case:** 

Compare up to 5 keywords in Google Trends and get interest over time, interest by country, region and city, and the top and rising related queries. Pick any country, time range, category and search type (web, YouTube, news, images, shopping). Every run ends with a short summary of the peak, the trend and the breakout queries.

## Input

```json
{
  "searchTerms": [
    "coffee"
  ],
  "compareTerms": false,
  "timeRange": "today 12-m",
  "geo": "",
  "category": 0,
  "searchType": "web",
  "includeInterestOverTime": true,
  "includeInterestByRegion": true,
  "includeRelatedQueries": true,
  "includeRelatedTopics": false,
  "includeSummary": true,
  "regionResolutions": [
    "auto"
  ],
  "includeLowVolumeRegions": false,
  "outputFormat": "perTerm",
  "language": "en-US",
  "autoProxyFallback": true,
  "allowResidentialFallback": true,
  "requestDelayMs": 3500,
  "maxRetries": 6
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Term"
  },
  "status": {
    "label": "Status"
  },
  "geo": {
    "label": "Geo"
  },
  "timeRange": {
    "label": "Time range"
  },
  "averageInterest": {
    "label": "Average interest"
  },
  "summary": {
    "label": "Summary",
    "format": "object"
  },
  "relatedQueriesRising": {
    "label": "Rising queries",
    "format": "array"
  },
  "trendsUrl": {
    "label": "Open on Google Trends",
    "format": "link"
  }
}
```

## How it works

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

The Google Trends Scraper — Reliable, With Rising Queries Actor is ready to run with the inputs already set for "Google Trends Rising Queries — Compare Keywords by Country". [Sign up or log in](https://console.apify.com/create-task-from-example/LpIH96odqsAIN8pCM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Trends Rising Queries — Compare Keywords by Country" task

The Google Trends Scraper — Reliable, With Rising Queries Actor will start running based on the input automatically. You can also change all the input fields, like search terms, compare terms on one scale, and more, to match your specific use case.

### 3. Receive the "Google Trends Rising Queries — Compare Keywords by Country" 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 term, status, geo, 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 "Google Trends Rising Queries — Compare Keywords by Country" task via API](https://apify.com/dottti/google-trends-reliable.md).

## FAQ

### What data does the Google Trends Rising Queries task return?

The Google Trends Rising Queries task returns interest over time, interest by geo, and both top and rising related queries for up to 5 keywords.

### What does the 'summary' field include in the output?

The 'summary' field includes peak date, peak value, average interest, latest value, and breakout queries, providing a comprehensive overview of trends.

### How can I run the Google Trends Rising Queries task automatically?

This task can be scheduled to run automatically in the Apify Console, allowing for repetitive analysis without manual intervention.

### Can I use this task to compare keywords in different countries?

Yes, this task allows keyword comparisons by picking any country, enabling specific regional insights.

### Does the task allow multiple search types?

The task supports various search types including web, YouTube, news, images, and shopping for comprehensive analysis.

### What is the maximum number of keywords I can compare using this task?

The task allows for the comparison of up to 5 keywords simultaneously, providing insights across multiple terms.

## About this Actor

This example demonstrates how to use [Google Trends Scraper — Reliable, With Rising Queries](https://apify.com/dottti/google-trends-reliable.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dottti/google-trends-reliable.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/dottti/google-trends-reliable.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`).
