# google-search-question-finder (`pirapaakaranpirathapan/apify-3`) Actor

Extract Google Autocomplete suggestions, A-to-Z keyword variations, buyer questions (who, what, how, why, which), and comparison phrases for SEO ranking & YouTube topic research.

- **URL**: https://apify.com/pirapaakaranpirathapan/apify-3.md
- **Developed by:** [Pirapaakaran Pirathapan](https://apify.com/pirapaakaranpirathapan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## 🔍 Google Search Autocomplete & Question Finder (Apify Actor)

> **Uncover hundreds of hidden Google Autocomplete suggestions, A-to-Z long-tail keywords, buyer questions (who, what, how, why, which), and comparison phrases for SEO ranking, YouTube video ideas, and affiliate content strategy.**

[![Apify](https://img.shields.io/badge/Apify-Actor-orange?logo=apify)](https://apify.com)
[![Crawlee](https://img.shields.io/badge/Powered%20by-Crawlee-blue)](https://crawlee.dev)
[![Node.js](https://img.shields.io/badge/Node.js-20-brightgreen.svg)](https://nodejs.org/)
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)

***

### 💡 What Does This Actor Do?

Keyword research tools like AnswerThePublic, Ahrefs, and Semrush charge **$99 to $199 every month** to give you keyword questions and autocomplete suggestions.

The **Google Search Autocomplete & Question Finder** scrapes Google's official suggestion engine directly with **zero bot blocking and blazing speed**.

Give it any seed topic (e.g. `best laptop`, `learn python`, `weight loss`, `crypto wallet`), and it automatically extracts:

1. **Direct Autocomplete Suggestions**: Top trending search phrases typed by real Google users.
2. **Buyer & Informational Questions**: Phrases starting with *who, what, where, when, why, how, which, can, is*.
3. **Comparisons & Alternatives**: High-converting commercial terms with *vs, versus, or, alternative to, compared to*.
4. **Preposition Queries**: Keyword phrases combined with *for, with, without, to, in, near*.
5. **A-to-Z Alphabet Soup**: Tests every letter (`seed a` to `seed z`) to unearth hundreds of golden, low-competition long-tail keywords.

***

### ✨ Features

- ⚡ **Lightning Fast & Ultra Low-Cost**: Fetches 150+ keywords in seconds with minimal compute units (CUs).
- 🌍 **Country & Language Targeting**: Specify any country code (`us`, `in`, `uk`, `de`, `ca`, `fr`) and language (`en`, `es`, `fr`, `ta`, `hi`) for hyper-local search intent.
- 🎯 **Relevance Scoring**: Captures Google's internal suggestion relevance scores to highlight highest-volume keywords.
- 📂 **Multi-Query Support**: Pass multiple seed keywords in a single run.
- 📊 **Executive Summary**: Generates clean metrics on total questions, comparisons, and long-tail phrases ready to export to Excel, CSV, or Google Sheets.

***

### 💼 High-Value Use Cases

- **YouTubers & Video Creators**: Never run out of video topic ideas. Find exact questions your audience is typing into Google and YouTube right now.
- **Bloggers & SEO Specialists**: Target low-competition long-tail keywords that are easy to rank on Google Page 1.
- **Affiliate Marketers**: Discover buyer-intent phrases like "best \[product] for \[niche]" and "\[product A] vs \[product B]".
- **Copywriters & Course Creators**: Understand customer pain points and questions to build compelling sales pages and FAQs.

***

### ⚙️ Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `searchQueries` | Array | `["best laptop", "learn python"]` | Seed keywords or topic phrases to discover suggestions for. |
| `countryCode` | String | `"us"` | Two-letter country code for localized search (e.g. `us`, `in`, `uk`, `ca`). |
| `languageCode` | String | `"en"` | Language code for search suggestions (e.g. `en`, `es`, `fr`, `de`). |
| `extractAlphabetSoup` | Boolean | `true` | Append letters 'a' through 'z' to uncover hundreds of long-tail variations. |
| `extractQuestions` | Boolean | `true` | Extract buyer questions with who, what, where, when, why, how, can, etc. |
| `extractComparisons` | Boolean | `true` | Discover comparison phrases with vs, or, for, with, without. |
| `maxSuggestionsPerQuery` | Integer | `150` | Maximum unique keyword suggestions to extract per query (10 to 1000). |

#### Example Input JSON

```json
{
  "searchQueries": ["best laptop", "electric car"],
  "countryCode": "us",
  "languageCode": "en",
  "extractAlphabetSoup": true,
  "extractQuestions": true,
  "extractComparisons": true,
  "maxSuggestionsPerQuery": 150
}
```

***

### 📤 Output Data Format

Each discovered keyword is saved into the Apify Dataset:

```json
{
  "suggestion": "best laptop for college students 2026",
  "seedQuery": "best laptop",
  "type": "preposition",
  "searchModifier": "for",
  "relevanceScore": 750,
  "country": "us",
  "language": "en",
  "discoveredAt": "2026-10-28T08:30:00.000Z"
}
```

#### Executive Summary (Stored in Key-Value Store `OUTPUT_SUMMARY`):

```json
{
  "totalSeedQueries": 2,
  "totalUniqueKeywordsExtracted": 300,
  "questionsDiscovered": 94,
  "comparisonsDiscovered": 38,
  "prepositionPhrases": 52,
  "alphabetSoupKeywords": 116,
  "countryTargeted": "US",
  "languageTargeted": "en",
  "completedAt": "2026-10-28T08:30:15.000Z"
}
```

***

### 🚀 How to Run Locally

```bash
cd 05-google-search-question-finder
npm install
npm start
```

### 🌐 Deploy to Apify

```bash
cd 05-google-search-question-finder
apify push
```

# Actor input Schema

## `searchQueries` (type: `array`):

Seed keywords or topic phrases to discover autocomplete suggestions and questions for.

## `countryCode` (type: `string`):

Two-letter country code for localized search results (e.g. us, in, uk, ca, de, fr, au).

## `languageCode` (type: `string`):

Two-letter language code (e.g. en, es, fr, de, ta, hi).

## `extractAlphabetSoup` (type: `boolean`):

Append letters 'a' through 'z' to discover hundreds of high-value long-tail keyword variations.

## `extractQuestions` (type: `boolean`):

Discover questions prepended with who, what, where, when, why, how, can, are, which.

## `extractComparisons` (type: `boolean`):

Discover comparison phrases with vs, versus, or, for, with, without, near.

## `maxSuggestionsPerQuery` (type: `integer`):

Maximum number of unique keyword suggestions to extract per seed query.

## Actor input object example

```json
{
  "searchQueries": [
    "best laptop",
    "learn python"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "extractAlphabetSoup": true,
  "extractQuestions": true,
  "extractComparisons": true,
  "maxSuggestionsPerQuery": 150
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing verified keyword phrases, questions, search modifiers, categories, and localized search parameters.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQueries": [
        "best laptop",
        "learn python"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pirapaakaranpirathapan/apify-3").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchQueries": [
        "best laptop",
        "learn python",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pirapaakaranpirathapan/apify-3").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "best laptop",
    "learn python"
  ]
}' |
apify call pirapaakaranpirathapan/apify-3 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pirapaakaranpirathapan/apify-3"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8ftgCe5jubGdgdhPH/builds/ljZRz0ZiGWRUhn69s/openapi.json
