# Google Trends Related Topics Scraper

**Use case:** 

Get top and rising Google Trends related topics for thousands of keywords, the part most Google Trends scrapers return as empty lists. Each topic comes with its type, such as Company or Cooking appliance, and its score or growth. Any country and time range. Only related topics, $1.50 per 1,000 keywords, and keywords Google has no data for are free.

## Input

```json
{
  "keywords": [
    "air fryer",
    "pickleball",
    "ai agents"
  ],
  "preset": "custom",
  "components": [
    "relatedTopics"
  ],
  "geo": "US",
  "timeRange": "today 12-m",
  "property": "web",
  "category": 0,
  "outputFormat": "perKeyword",
  "language": "en-US",
  "maxTopicsWaitMinutes": 15
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "text"
  },
  "location": {
    "label": "Location",
    "format": "text"
  },
  "timeRangeLabel": {
    "label": "Time range",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "statusMessage": {
    "label": "Result",
    "format": "text"
  },
  "interestOverTime": {
    "label": "Interest over time (every point)",
    "format": "array"
  },
  "interestByRegion": {
    "label": "Interest by region (every region)",
    "format": "array"
  },
  "interestByMetro": {
    "label": "Interest by metro area",
    "format": "array"
  },
  "interestByCity": {
    "label": "Interest by city",
    "format": "array"
  },
  "relatedQueries": {
    "label": "Related queries (top and rising)",
    "format": "object"
  },
  "relatedTopics": {
    "label": "Related topics (top and rising)",
    "format": "object"
  },
  "googleTrendsUrl": {
    "label": "Open in Google Trends",
    "format": "link"
  }
}
```

## How it works

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

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

### 2. Start the "Google Trends Related Topics Scraper" task

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

### 3. Receive the "Google Trends Related Topics Scraper" 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, 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 "Google Trends Related Topics Scraper" task via API](https://apify.com/clean-fetch/google-trends-scraper.md).

## FAQ

### What is the difference between related topics and related queries?

Related queries are exact search phrases. Related topics group every search about the same thing, in any spelling or language. The Google Trends Related Topics Scraper returns topics; pick Complete to get both.

### Why do other scrapers return empty related topics?

Google releases related topics at a limited pace and refuses many requests for them. The Google Trends Related Topics Scraper waits its turn for each keyword instead of giving up, so you get real topics.

### How long does a related topics run take?

The Google Trends Related Topics Scraper fetches topics as fast as Google releases them, then waits up to 15 minutes for the last ones. Any still withheld are saved without topics and not charged.

### How much does it cost to scrape related topics?

The Google Trends Related Topics Scraper costs $1.50 per 1,000 keywords. Keywords without topics are free, and proxies and usage are included.

## About this Actor

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