# Keyword Research: Related Queries for Running Shoes

**Use case:** 

Returns the top and rising related queries and topics for running shoes in the US over 12 months, one row per query with its value. A quick source of keyword ideas for SEO and ads.

## Input

```json
{
  "searchTerms": [
    "running shoes"
  ],
  "geos": [
    "US",
    "GB",
    "DE"
  ],
  "geo": "US",
  "timeframe": "today 12-m",
  "customTimeframe": "2024-01-01 2024-12-31",
  "category": 0,
  "property": "",
  "includeInterestOverTime": false,
  "includeInterestByRegion": false,
  "regionResolution": "auto",
  "includeLowSearchVolumeRegions": false,
  "includeRelatedQueries": true,
  "includeRelatedTopics": true,
  "trendingGeos": [
    "US",
    "GB"
  ],
  "outputFormat": "rows",
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "requestDelaySecs": 2,
  "maxRetries": 6
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "geo": {
    "label": "Geo",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "value": {
    "label": "Value",
    "format": "number"
  },
  "isPartial": {
    "label": "Partial",
    "format": "boolean"
  },
  "geoCode": {
    "label": "Region code",
    "format": "string"
  },
  "geoName": {
    "label": "Region",
    "format": "string"
  },
  "share": {
    "label": "Share %",
    "format": "number"
  },
  "rankType": {
    "label": "Top / rising",
    "format": "string"
  },
  "query": {
    "label": "Query",
    "format": "string"
  },
  "topicTitle": {
    "label": "Topic",
    "format": "string"
  },
  "formattedValue": {
    "label": "Shown as",
    "format": "string"
  }
}
```

## How it works

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

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

### 2. Start the "Keyword Research: Related Queries for Running Shoes" task

The Google Trends Scraper & API: Related Queries, Trending Now Actor will start running based on the input automatically. You can also change all the input fields, like search terms, countries / regions, and more, to match your specific use case.

### 3. Receive the "Keyword Research: Related Queries for Running Shoes" 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 type, search term, 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 "Keyword Research: Related Queries for Running Shoes" task via API](https://apify.com/tidewell/google-trends-api.md).

## FAQ

### How much does this example cost?

$0.003 per search term that returns data, and $0.001 per Trending Now item. Terms where Google has too little data are not charged.

### Do I get search volumes?

No. Google Trends gives relative values: 0-100 for top queries and percentage growth for rising ones. Use them to rank and spot ideas, not to estimate traffic.

### How many related queries come back?

Google returns up to 25 top and 25 rising queries per term, plus the same for topics. Terms with little search volume may have fewer or none.

### Why does this example use residential proxy?

Google Trends often rate-limits shared datacenter IPs with HTTP 429. Residential proxy makes runs reliable, and the actor uses only a few kilobytes of proxy traffic per term.

### Can I change the keywords and country?

Yes. Put up to 5 comma-separated terms on one line to compare them, add more lines for more comparisons, and set geo to a country code, a region code or several codes.

## About this Actor

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