# Google Trends Interest by Country

**Use case:** 

See which countries search most for any topic on Google. This example ranks countries by interest in Bitcoin over the past 12 months, on Google’s 0–100 scale. Swap in your own keyword, brand or product to find your best markets. Built for AI agents, analysts and marketers.

## Input

```json
{
  "mode": "by_region",
  "keywords": [
    "bitcoin"
  ],
  "geo": "WORLD",
  "timeframe": "past_12_months",
  "category": 0,
  "property": "web",
  "useApifyProxy": true,
  "selfTest": false
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "mode": {
    "label": "Mode",
    "format": "string"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "timeframe": {
    "label": "Time range",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  }
}
```

## How it works

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

The Google Trends API: Interest, Regions, Related & Trending Actor is ready to run with the inputs already set for "Google Trends Interest by Country". [Sign up or log in](https://console.apify.com/create-task-from-example/A5c73RV3EhF4xlDee) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Google Trends Interest by Country" task

The Google Trends API: Interest, Regions, Related & Trending Actor will start running based on the input automatically. You can also change all the input fields, like mode, keywords, and more, to match your specific use case.

### 3. Receive the "Google Trends Interest 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 keyword, mode, 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 Interest by Country" task via API](https://apify.com/datafaro/google-trends-api.md).

## FAQ

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

This task can be scheduled to run automatically using the Apify Console.

### How does this task categorize the countries' search interest?

The task ranks countries by their search interest in the specified keyword on a scale of 0 to 100.

### Can I use my own keyword?

Yes. Replace “bitcoin” with any keyword, brand or product.

### What do the numbers mean?

100 is the country with the highest search interest. Other countries are scored relative to it, not as absolute search counts.

### Can AI agents use it?

Yes. It works with Claude, ChatGPT, Cursor and n8n through the Apify MCP server.

## About this Actor

This example demonstrates how to use [Google Trends API: Interest, Regions, Related & Trending](https://apify.com/datafaro/google-trends-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datafaro/google-trends-api.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/datafaro/google-trends-api.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`).
