# Compare up to 5 keywords on one Google Trends scale

**Use case:** 

Put up to five keywords on the same 0-100 Google Trends scale, as in Google's own compare view, to see which is searched more and how the gap changes over time. Brand vs brand, product vs product, old name vs new name.

## Input

```json
{
  "keywords": [
    "chatgpt",
    "claude",
    "gemini",
    "perplexity",
    "copilot"
  ],
  "trendsUrls": [
    "https://trends.google.com/trends/explore?q=air%20fryer,standing%20desk&geo=US"
  ],
  "compareKeywords": true,
  "geo": "US",
  "timeRange": "past_12_months",
  "searchType": "web",
  "category": 0,
  "includeRegions": true,
  "regionResolution": "auto",
  "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`).
