# Export Google Trends Related Queries for Content Ideas

**Use case:** 

Export Google Trends related queries for a list of topics: the top and rising searches people make around each keyword, with their relative scores, plus the 12-month interest timeline. Use them to plan articles, videos and SEO content around what people actually search.

## Input

```json
{
  "keywords": [
    "meal prep",
    "home workout",
    "budget travel",
    "sourdough"
  ],
  "geo": "US",
  "window": "today 12-m",
  "includeRelatedQueries": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxRetries": 2,
  "requestTimeoutSeconds": 30,
  "delayMillis": 1500,
  "maxRequests": 1500,
  "maxConsecutiveFailures": 3
}
```

## Output

```json
{
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "window": {
    "label": "Window",
    "format": "string"
  },
  "status": {
    "label": "Coverage",
    "format": "string"
  },
  "metrics.averageInterest": {
    "label": "Average interest"
  },
  "metrics.changePct": {
    "label": "Recent vs previous (%)",
    "format": "number"
  },
  "metrics.peakInterest": {
    "label": "Peak interest"
  },
  "observedAt": {
    "label": "Observed at",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "string"
  },
  "error.code": {
    "label": "Code"
  }
}
```

## How it works

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

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

### 2. Start the "Export Google Trends Related Queries for Content Ideas" task

The Google Trends Scraper — Interest Over Time & Related Queries Actor will start running based on the input automatically. You can also change all the input fields, like keywords, country, and more, to match your specific use case.

### 3. Receive the "Export Google Trends Related Queries for Content Ideas" 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, geo, window, 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 "Export Google Trends Related Queries for Content Ideas" task via API](https://apify.com/alex_fodo/google-trends-bulk-api.md).

## FAQ

### What related queries does the Google Trends export task return?

The Google Trends related queries export task returns the top and rising related searches Google shows for each keyword, with their relative scores and breakout flags.

### Does it also include interest over time?

Yes. The Google Trends related queries export task also returns each keyword's weekly 0–100 interest timeline for the selected country and period.

### How can I use the related queries for SEO?

Use the rising queries from the Google Trends related queries export task as fresh article or video topics, and the top queries to cover the main questions around a subject.

### Can I export the results to Excel?

Yes. The Google Trends related queries export task stores results in a dataset you can download as CSV, Excel or JSON, or send to Google Sheets.

## About this Actor

This example demonstrates how to use [Google Trends Scraper — Interest Over Time & Related Queries](https://apify.com/alex_fodo/google-trends-bulk-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alex_fodo/google-trends-bulk-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/alex_fodo/google-trends-bulk-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`).
