# Compare more than 5 terms on Google Trends

**Use case:** 

Google Trends compares at most 5 terms at once. This task compares 8 coffee drinks in the US over 12 months: it runs groups of 4 plus the anchor term "espresso" and adds a free combined row with all 8 terms on one 0-100 scale. Swap in your own terms and an anchor of similar popularity. You pay $0.004 per comparison group.

## Input

```json
{
  "searchTerms": [
    "latte",
    "cappuccino",
    "matcha latte",
    "cold brew",
    "americano",
    "flat white",
    "chai latte",
    "mocha"
  ],
  "compareTogether": false,
  "anchorTerm": "espresso",
  "geo": "US",
  "timeRange": "today 12-m",
  "category": 0,
  "property": "",
  "includeInterestOverTime": true,
  "includeInterestByRegion": false,
  "regionResolution": "AUTO",
  "includeRelatedQueries": false,
  "includeRelatedTopics": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxRetries": 8,
  "maxConcurrency": 3
}
```

## Output

```json
{
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "timeRange": {
    "label": "Time range",
    "format": "string"
  },
  "interestOverTime": {
    "label": "Interest over time",
    "format": "array"
  },
  "date": {
    "label": "Date",
    "format": "text"
  },
  "value": {
    "label": "Interest (0-100)",
    "format": "number"
  },
  "values": {
    "label": "Interest per term (comparison)",
    "format": "object"
  },
  "isPartial": {
    "label": "Partial period",
    "format": "boolean"
  }
}
```

## About this Actor

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