---
title: "Google Trends Related Queries scraper | ScrapeCrate"
description: "Top and rising searches related to a keyword. $0.003 per query, free monthly credit to try it. Run it from the web, the API or MCP."
url: https://scrapecrate.com/apps/google-trends-related-queries
markdown: https://scrapecrate.com/apps/google-trends-related-queries.md
---

# Google Trends Related Queries

Top and rising searches related to a keyword.

**Price:** $0.003 per query.

The queries people search together with a keyword, top and rising, for any country and time range.

## Input

- `keywords` (string, required): Up to 5 keywords to compare, separated by commas
- `geo` (string, optional): Country (US) or region (US-CA); worldwide when left out
- `time_range` (enum, optional, default past_90_days): Time range (default past_12_months; all = since 2004)

## Use it from your code

```bash
curl -X POST "https://api.scrapecrate.com/v1/apps/google-trends-related-queries/runs?wait=60" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"keywords":"chatgpt,gemini","time_range":"past_90_days"},"max_items":100}'
```

```javascript
const res = await fetch("https://api.scrapecrate.com/v1/apps/google-trends-related-queries/runs?wait=60", {
  method: "POST",
  headers: { "X-API-Key": process.env.API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "keywords": "chatgpt,gemini",
      "time_range": "past_90_days"
    },
    "max_items": 100
  }),
});
const { run } = await res.json();
console.log(run.status, run.result_count);

// The results
const items = await fetch(`https://api.scrapecrate.com/v1/runs/${run.id}/items?format=json`, {
  headers: { "X-API-Key": process.env.API_KEY },
}).then((r) => r.json());
```

```python
import os, requests

res = requests.post(
    "https://api.scrapecrate.com/v1/apps/google-trends-related-queries/runs?wait=60",
    headers={"X-API-Key": os.environ["API_KEY"]},
    json={
      "input": {
        "keywords": "chatgpt,gemini",
        "time_range": "past_90_days"
      },
      "max_items": 100
    },
)
run = res.json()["run"]
print(run["status"], run["result_count"])

items = requests.get(
    f"https://api.scrapecrate.com/v1/runs/{run['id']}/items?format=json",
    headers={"X-API-Key": os.environ["API_KEY"]},
).json()["items"]
```

```bash
# Claude Code
claude mcp add --transport http scrapecrate https://api.scrapecrate.com/mcp

# Then ask, in Claude, ChatGPT or Cursor:
Rising searches related to 'electric bike' in Germany
```

## Output example

```json
{
  "keywords": [
    "bitcoin"
  ],
  "geo": null,
  "time_range": "past_12_months",
  "from_date": null,
  "to_date": null,
  "category": 0,
  "property": "web",
  "related_queries": [
    {
      "keyword": "bitcoin",
      "top": [
        {
          "query": "bitcoin price",
          "value": 100,
          "formatted_value": "100",
          "breakout": false
        },
        {
          "query": "bitcoin usd",
          "value": 37,
          "formatted_value": "37",
          "breakout": false
        }
      ],
      "rising": [
        {
          "query": "bitcoin etf news",
          "value": 250,
          "formatted_value": "+250%",
          "breakout": false
        },
        {
          "query": "bitcoin halving date",
          "value": 6950,
          "formatted_value": "Breakout",
          "breakout": true
        }
      ]
    }
  ],
  "no_data": false
}
```

[API reference](https://scrapecrate.com/google-search-api.md)

You pay only for the results you get. Results are kept 30 days.
