# Related searches for keyword ideas

**Use case:** 

Google's related searches for a seed keyword, as a list of keyword ideas with their Google URLs, next to the organic results and People Also Ask questions of the same page. Feed a keyword list in, get the long tail out. $0.45 per 1,000 result pages, no start fee.

## Input

```json
{
  "queries": "vegan recipes\nhome office setup\ncrypto wallet\nyoga for beginners\nused cars",
  "maxPagesPerQuery": 1,
  "countryCode": "us",
  "languageCode": "en",
  "timeRange": "any",
  "dateFrom": "2025-01-01",
  "dateTo": "2025-06-30",
  "resolveUrls": true,
  "saveHtml": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "searchQuery.term": {
    "label": "Query",
    "format": "string"
  },
  "searchQuery.page": {
    "label": "Page",
    "format": "integer"
  },
  "organicResults": {
    "label": "Organic results",
    "format": "array"
  },
  "paidResults": {
    "label": "Ads",
    "format": "array"
  },
  "peopleAlsoAsk": {
    "label": "People also ask",
    "format": "array"
  },
  "relatedQueries": {
    "label": "Related searches",
    "format": "array"
  },
  "hasNextPage": {
    "label": "More pages",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Google Search Results Scraper · SERP API $0.45/1k](https://apify.com/alfalfa/google-serp-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/alfalfa/google-serp-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/alfalfa/google-serp-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`).
