# Google People Also Ask Scraper | $2 per 1k | 3-Level Trees (`solidrows/google-paa-scraper`) Actor

Scrape Google "People also ask" questions for any keyword, country, language and city. Question trees 1-3 levels deep, answer snippets, free related searches, autocomplete and organic results. Keywords without PAA are not charged. Never a silent empty run.

- **URL**: https://apify.com/solidrows/google-paa-scraper.md
- **Developed by:** [SolidRows](https://apify.com/solidrows) (community)
- **Categories:** SEO tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 question scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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 People Also Ask Scraper

Scrape the **"People also ask" (PAA) questions** Google shows for any keyword, in any country, language and city, and expand them **1–3 levels deep** into a full question tree. Add an **answer snippet** to every question, and get **related searches, autocomplete suggestions and organic results** for the same keywords at no extra charge.

Use it from the Apify Console, on a schedule, through the API, or as a tool for AI agents (MCP). No Google API key, no browser, no login.

### What you get

| Data | Row type | Price |
|---|---|---|
| "People also ask" questions with depth, position, parent question and full path | `question` | $2 per 1,000 |
| Answer snippet for a question: title, text snippet and site of the first organic result | fields on `question` rows | $2 per 1,000 snippets + the question's own Google search |
| Google searches that returned new questions or a snippet | (no row) | $1 per 1,000 |
| One summary per keyword: how many questions, or why there are none | `summary` | free |
| Related searches / "People also search for" | `related_search` | free |
| Organic results of the keyword's first page | `organic_result` | free |
| Google autocomplete suggestions | `autocomplete` | free |

### Why this scraper

Compared with the other People Also Ask Actors on Apify Store (their public listings, November 2026):

- **A real question tree, 3 levels deep.** Every question is searched again to reveal the questions behind it: about 4 questions at depth 1, 15–25 at depth 2, 50–80 at depth 3 per keyword. Each row carries `depth`, `parentQuestion` and a ready `path`.
- **Free extras.** Related searches, organic results and autocomplete suggestions are not charged. Some alternatives charge for every related-search row.
- **Answer snippets you can rely on.** Google now answers most PAA questions with generated text that is not part of the results page, so scrapers that promise "Google's answer" return empty answers for those questions. This Actor instead searches the question and gives you what Google ranks first for it: title, snippet text and site.
- **Any country and language, plus city-level location.** No fixed country list; set an exact place such as `Austin,Texas,United States`.
- **Two output layouts.** Flat rows for CSV, Excel and Google Sheets, or one row per keyword with the nested tree for JSON, APIs and AI agents.
- **You pay only for searches that gave you something.** $2 per 1,000 questions and $1 per 1,000 Google searches that returned new questions or a snippet. Failed searches, keywords without a "People also ask" block and searches that only repeat known questions are not charged.
- **No silent empty runs.** Every keyword gets a summary row saying how many questions were found or why there are none, and a run in which every search failed ends as failed, not as an empty success.
- **Duplicates removed** within each keyword, or across the whole run if you ask.

### Use cases

- **SEO and content planning:** turn real user questions into FAQ sections, H2/H3 headings, briefs and topic clusters.
- **Keyword research:** long-tail queries from PAA, related searches and autocomplete in one dataset.
- **AEO / GEO (answer engine optimisation):** see which questions Google attaches to a topic and which page currently ranks first for each.
- **Market research:** what people want to know about a product, brand or problem, country by country or city by city.
- **AI and chatbots:** question sets for FAQ bots, evaluations and training data.

### Input

| Field | What it does |
|---|---|
| **Keywords** | Search queries, one per line. |
| **Depth of the question tree** | `1` = questions shown for the keyword; `2` = also the questions behind each of them; `3` = one more level. |
| **Max questions per keyword** | Stops expanding a keyword at this number. `0` = no limit. |
| **Add an answer snippet to every question** | Attaches the first organic result (title, snippet, site, URL when available) for each question. |
| **Country / Language** | Google `gl` and `hl` codes: `us`, `gb`, `de`, `br`… / `en`, `de`, `es`, `pt`… |
| **Exact location** | Optional city or region in Google's canonical form: `London,England,United Kingdom`. |
| **Related searches / Organic results / Autocomplete** | Free extra rows. |
| **Output format** | `flat` (one row per question) or `tree` (one row per keyword). |
| **Remove duplicate questions across keywords** | Save each question once per run. |

```json
{
    "keywords": ["how to learn python", "best running shoes"],
    "maxDepth": 2,
    "maxQuestions": 100,
    "includeAnswerSnippets": true,
    "country": "us",
    "language": "en",
    "location": "Austin,Texas,United States",
    "includeRelatedSearches": true,
    "includeOrganicResults": true,
    "includeAutocomplete": true,
    "outputMode": "flat"
}
```

### Output

A question row (flat output):

```json
{
    "type": "question",
    "keyword": "is python easy to learn",
    "question": "Can a non-it guy learn Python?",
    "depth": 1,
    "position": 4,
    "parentQuestion": null,
    "path": "is python easy to learn > Can a non-it guy learn Python?",
    "topResultTitle": "How difficult is it for a person from a non-technical ...",
    "topResultSnippet": "How difficult is it for a person from a non-technical background to learn Python?",
    "topResultSiteName": "Quora",
    "topResultSite": null,
    "topResultUrl": null,
    "sourceQuery": "is python easy to learn",
    "country": "us",
    "language": "en",
    "location": null,
    "searchUrl": "http://www.google.com/search?q=is+python+easy+to+learn&hl=en&gl=us&num=10",
    "scrapedAt": "2026-11-14T15:41:24.200Z"
}
```

Free extra rows:

```json
{ "type": "related_search", "keyword": "how to learn python", "relatedSearch": "How to learn Python for free", "position": 2 }
{ "type": "autocomplete", "keyword": "how to learn python", "suggestion": "how to learn python for beginners", "position": 2 }
{
    "type": "organic_result", "keyword": "how to learn python", "position": 1,
    "title": "Python For Beginners", "siteName": "Python.org", "site": "https://www.python.org",
    "displayedUrl": "https://www.python.org › about › gettingstarted",
    "snippet": "Welcome! Are you completely new to programming? ...", "url": null
}
```

Tree output (`"outputMode": "tree"`), one row per keyword:

```json
{
    "type": "keyword",
    "keyword": "is python easy to learn",
    "questionCount": 6,
    "questions": [
        {
            "question": "How long time does it take to learn Python?",
            "depth": 1,
            "position": 1,
            "topResultSnippet": "I want to learn Python as soon as possible ...",
            "children": [
                { "question": "How quickly can I learn Python?", "depth": 2, "position": 1, "children": [] }
            ]
        }
    ],
    "allQuestions": ["How long time does it take to learn Python?", "How quickly can I learn Python?"],
    "relatedSearches": ["Is Python easy to learn than Java", "Best way to learn Python"],
    "organicResults": [],
    "autocomplete": []
}
```

A summary row per keyword (flat output, free; the tree row carries the same `status` and `message`):

```json
{ "type": "summary", "keyword": "zqxwv plorptk", "questionCount": 0, "status": "no_paa", "message": "Google shows no \"People also ask\" block for this keyword. The search was not charged." }
```

`status` is `ok`, `no_paa`, `duplicates_only`, `failed` or `not_searched` (the run stopped before reaching the keyword).

Filter by `type` to separate questions from the extras. The dataset has ready views: **Questions and extras**, **Questions with answer snippets**, **Organic results**.

### Pricing

Pay per event, no subscription:

- **$2.00 per 1,000 questions** saved (`question`).
- **$1.00 per 1,000 Google searches** that returned at least one new question or an answer snippet (`serp-request`). A search is made per keyword, per expanded question, and per question when answer snippets are on.
- **$2.00 per 1,000 answer snippets** (`answer-snippet`): charged per question that actually received a snippet.
- Plus Apify's standard Actor start fee of $0.00005 per run.
- **Not charged:** failed searches, keywords for which Google shows no "People also ask" block, searches that return only questions you already have, searches queued before *Max questions per keyword* was reached, and all related-search, organic, autocomplete and summary rows.

Examples: 100 keywords at depth 1 give about 400 questions for about **$0.90**. One keyword at depth 2 (about 20 questions, 5 searches) costs about **$0.05**. With answer snippets a question costs about **$0.005** in total ($0.002 question + $0.001 its own search + $0.002 snippet). Set a maximum cost per run for a hard cap: the scraper stops cleanly when it is reached and never charges past it.

### Limitations (honest)

- **Google's own answer text is not included.** For most questions Google now loads a generated answer separately after a click; it is not in the results page. The answer snippet this Actor returns is the first organic result for the question, clearly labelled as `topResult…`.
- **Full links are often hidden.** Google replaces the links of most organic results with an encrypted redirect. `site`, `siteName`, `displayedUrl`, title and snippet are always returned; `url` / `topResultUrl` only where Google exposes the link.
- Some keywords have no "People also ask" block. You still get the free extras and a `summary` row with `status: no_paa`; the search is not charged.
- In tree output the keyword rows are written at the end of the run (also when you abort it or the spending limit is reached).
- Results are the desktop version of Google. There is no mobile switch.
- `location` must be a place name Google knows (the names used in Google Ads location targeting).

### Feedback and support

- **Did it save you time?** A [rating on the Store page](https://apify.com/solidrows/google-paa-scraper/reviews) helps other users find this Actor. It takes 10 seconds.
- **Something wrong or missing?** [Open an issue](https://apify.com/solidrows/google-paa-scraper/issues) with the input you used. We answer within 48 hours and fix broken runs first.
- **Never a silent empty run.** If the site blocks us and nothing is scraped, the run fails with a clear message and no results are charged.

### FAQ

**How many questions will I get?** Usually about 4 per keyword at depth 1, 15–25 at depth 2 and 50–80 at depth 3. Use *Max questions per keyword* to cap it.

**Can I get questions in other languages?** Yes. Set `language` and `country`, for example `de` + `de` for Germany or `pt` + `br` for Brazil, and write the keywords in that language.

**Can I export to CSV, Excel or Google Sheets?** Yes. Use the flat output; every row has plain columns including `path`. Export from the dataset in CSV, Excel, JSON or XML, or connect Make, Zapier and n8n.

**Can I track how questions change?** Yes. Save your keywords as a task and add a schedule; compare the datasets over time.

**Is there an API?** Yes. Every Apify Actor can be started through the Apify API and its results read as JSON; it also works as a tool for AI agents through the Apify MCP server.

**Is it legal?** The Actor reads public Google results pages and does not collect personal data. You are responsible for how you use the results.

# Actor input Schema

## `keywords` (type: `array`):

Search queries to collect "People also ask" questions for, exactly as people type them into Google. One keyword per line. Each keyword is one Google search at depth 1.

## `maxDepth` (type: `integer`):

1 = the questions Google shows for the keyword (usually 4). 2 = every question is searched too and its own questions are added (about 15-25 per keyword). 3 = one more level (about 50-80). Each extra level multiplies the number of Google searches by about 4.

## `maxQuestions` (type: `integer`):

Stop expanding a keyword once this many unique questions are collected. 0 = no limit.

## `includeAnswerSnippets` (type: `boolean`):

Search each question on Google and attach the first organic result: its title, text snippet, site name and (when Google exposes it) URL. This is the text Google ranks first for the question, a ready draft answer for FAQ pages. Charged per question that received a snippet (answer-snippet event), plus one extra Google search per question that would not be searched anyway (questions on the last depth level).

## `country` (type: `string`):

Two-letter country code of the Google results (the gl parameter): us, gb, de, fr, es, in, br, au, ca, jp... Any country Google supports.

## `language` (type: `string`):

Interface language code (the hl parameter): en, de, es, fr, pt, it, ru, ja... Should match the language of your keywords.

## `location` (type: `string`):

Optional. Search as if from a specific place. Use Google's canonical location name: "Austin,Texas,United States", "London,England,United Kingdom", "Berlin,Germany". Sent to Google as the uule parameter. Leave empty for country-level results.

## `includeRelatedSearches` (type: `boolean`):

Also save the "People also search for" / related searches block from every results page the scraper opens. Free: comes from the same search.

## `includeOrganicResults` (type: `boolean`):

Also save the organic results of each keyword's first page: position, title, site, displayed URL and snippet. Free: comes from the same search. Note: Google hides the full link of most results behind a redirect, so the url field is filled only where Google exposes it; site and displayed URL are always there.

## `includeAutocomplete` (type: `boolean`):

Also save Google's autocomplete suggestions for each keyword (up to 10), the phrases Google proposes while a user types. Free.

## `outputMode` (type: `string`):

Flat: one row per question (best for CSV, Excel and Google Sheets). Tree: one row per keyword with the nested question tree, related searches, organic results and autocomplete inside (best for JSON, APIs and AI agents).

## `dedupeAcrossKeywords` (type: `boolean`):

By default duplicates are removed within each keyword. Turn this on to save (and pay for) every question only once per run, even when several keywords lead to it. Useful for lists of close keywords.

## Actor input object example

```json
{
  "keywords": [
    "how to learn python"
  ],
  "maxDepth": 1,
  "maxQuestions": 20,
  "includeAnswerSnippets": false,
  "country": "us",
  "language": "en",
  "includeRelatedSearches": true,
  "includeOrganicResults": false,
  "includeAutocomplete": false,
  "outputMode": "flat",
  "dedupeAcrossKeywords": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `answers` (type: `string`):

No description

# 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 = {
    "keywords": [
        "how to learn python"
    ],
    "maxDepth": 1,
    "maxQuestions": 20,
    "country": "us",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidrows/google-paa-scraper").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 = {
    "keywords": ["how to learn python"],
    "maxDepth": 1,
    "maxQuestions": 20,
    "country": "us",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("solidrows/google-paa-scraper").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 '{
  "keywords": [
    "how to learn python"
  ],
  "maxDepth": 1,
  "maxQuestions": 20,
  "country": "us",
  "language": "en"
}' |
apify call solidrows/google-paa-scraper --silent --output-dataset

```

## MCP server setup

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

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/0ww66Dv0cWztEDLOB/builds/4C9dNPNpdohHOTV90/openapi.json
