# People Also Ask Scraper: Google PAA & Related Searches (`tagadanar/people-also-ask-scraper`) Actor

Get the "People also ask" questions and related searches Google shows for your keywords, expanded breadth first up to 3 levels deep into a de-duplicated question tree. Any country and language. $0.013 per Google results page searched.

- **URL**: https://apify.com/tagadanar/people-also-ask-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** SEO tools, AI, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.10 / 1,000 google results page searcheds

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

## People Also Ask Scraper: Google PAA & Related Searches

Type a keyword, get the questions people ask about it. For each keyword this actor reads Google's results page, collects the **"People also ask"** questions and the **related searches**, then (if you want) searches every question again and collects the questions under it, breadth first, up to 3 levels deep. You get one flat row per question, de-duplicated per keyword, with its depth, its parent question and the results page it came from: a ready-made list for FAQ sections, article outlines and content gap work.

**$0.013 per Google results page searched on Free ($0.0091 on Gold), plus $0.001 per run. Platform usage is included.** No API key, no login, no proxy needed.

What it does not give you: the answers. Google loads the answer under each question only when someone clicks it, so the answer text is not in the results page and is not included. You get the questions and related searches.

### What you get

One row per question (`type` = `question`) and, if you keep them on, one row per related search (`type` = `relatedSearch`). Every row has the same columns.

| Field | What it is |
| --- | --- |
| `type` | `question` or `relatedSearch` |
| `keyword` | The seed keyword you entered |
| `question` | The People Also Ask question (null on related-search rows) |
| `relatedSearch` | The related search (null on question rows) |
| `depth` | 0 = on the seed keyword's own results page; 1 = found by searching a depth-0 question; and so on |
| `position` | Position of the question (or related search) in its block on that page, from 1 |
| `parentQuestion` | The question that was searched to find this row; null at depth 0 |
| `searchQuery` | The search whose results page held this row (the keyword at depth 0, the parent question deeper) |
| `searchUrl` | That Google results page |
| `country`, `language` | The Google country and language used |
| `scrapedAt` | When the row was collected (ISO 8601) |

A depth-1 question row from the prefill run:

```json
{"type":"question","keyword":"best crm software","question":"Is Salesforce the #1 CRM?","relatedSearch":null,"depth":1,"position":3,"parentQuestion":"What is the #1 CRM platform?","searchQuery":"What is the #1 CRM platform?","searchUrl":"https://www.google.com/search?q=What+is+the+%231+CRM+platform%3F&hl=en&gl=us","country":"us","language":"en","scrapedAt":"2026-11-12T10:15:22.271Z"}
```

A question found again deeper in the tree (even with different capitals or punctuation) is delivered once, at its shallowest depth, and is not searched twice.

### Who uses it

- **SEO and content teams**: turn one keyword into the questions Google itself associates with it, to plan articles, FAQ blocks and headings.
- **Agencies**: run a client's whole keyword list in one go and hand over a question map per keyword.
- **Product and support teams**: see what people ask about a product category before writing help pages.

### Examples

The prefill: one keyword, its questions plus one level of expansion (about 5 results pages).

```json
{"keywords":["best crm software"]}
```

Only the questions on each keyword's own results page (one page per keyword, the cheapest mode), for a list of keywords in German:

```json
{"keywords":["kaffeemaschine test","siebträgermaschine kaufen"],"expansionDepth":0,"country":"de","language":"de"}
```

A deep tree, capped at 60 questions (so at most 61 results pages), questions only:

```json
{"keywords":["how to start a podcast"],"expansionDepth":3,"maxQuestionsPerKeyword":60,"includeRelatedSearches":false}
```

### How much a run costs

You pay for the Google results pages the run searches, not per question:

- every keyword costs one page (its own results page);
- with `expansionDepth` 1 or more, every question searched again costs one more page;
- only delivered questions are searched again, so a keyword never uses more than `1 + maxQuestionsPerKeyword` pages. The run log prints this hard cap for the whole run before the first search.

Google usually shows 4 questions per page, so depth 0 gives about 4 questions per keyword for one page. With depth 1 the prefill keyword "best crm software" gave 16 distinct questions and 27 related searches from 5 pages (some questions repeat between pages and are delivered once). Deeper levels repeat more questions, so they add fewer new ones per page.

### Results, zeros and errors

- A keyword whose results page has **no People Also Ask block** (some keywords have none) is a real answer: the page is read and charged, its related searches are still delivered, and the run status names the keyword.
- A keyword Google answers with **no results at all** is reported as such and its page is not charged.
- A page that is not a Google results page (a captcha, a consent page, an error) is retried, then reported as **not answered** in the status. It is never reported as "no questions" and is not charged.
- Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $0.013 per Google results page searched on Free, with lower prices on higher Apify plans ($0.0091 on Gold). Platform usage is included.

Set a maximum charge per run in Apify if you want a hard ceiling: before each search the actor checks that the page can still be paid for, stops at the ceiling and says so in the status.

### FAQ

**Why not a price per question?** A results page costs the same to fetch whether it holds 4 new questions or none, and deeper levels often repeat questions already found. Pricing per page keeps the price fixed and predictable: you choose the depth and the question cap, and the log tells you the maximum before anything is searched.

**Are the answers included?** No. Google does not put the answer text in the results page; it loads it when a visitor clicks a question. This actor delivers the questions and related searches only.

**Which countries and languages?** Any two-letter Google country code (`us`, `gb`, `de`, `fr`, `in`, `br`...) and any language code (`en`, `de`, `pt-BR`...). Use the language of your keywords.

**How many keywords per run?** Up to 100. Each keyword gets its own question tree and its own de-duplication.

### Data use

The data comes from Google's public search results pages. People Also Ask questions and related searches are generated by Google and contain no personal data as such. Check that your use of the data complies with the laws and terms that apply to you.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/people-also-ask-scraper/changelog.md

# Actor input Schema

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

The seed searches, one per line, exactly as someone would type them into Google. Up to 100 keywords per run; each keyword gets its own question tree.

## `expansionDepth` (type: `integer`):

0 = only the questions on the keyword's own results page (one page per keyword). 1 to 3 = every question found is searched again on Google, breadth first, to that depth, which turns about 4 questions into dozens. Each extra search is one more results page.

## `maxQuestionsPerKeyword` (type: `integer`):

Stop a keyword's tree once this many distinct questions are delivered. It also caps the cost: a keyword never uses more than 1 + this many results pages. Default 30, max 200.

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

Also deliver the "related searches" Google shows at the bottom of each results page read (rows of type "relatedSearch"). They come from the same pages, so they cost nothing extra.

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

Two-letter country code of the Google results you want (us, gb, de, fr, in, br...). Default us.

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

Google interface and results language code (en, de, fr, es, pt-BR...). Should match the language of your keywords. Default en.

## Actor input object example

```json
{
  "keywords": [
    "best crm software"
  ],
  "expansionDepth": 1,
  "maxQuestionsPerKeyword": 30,
  "includeRelatedSearches": true,
  "country": "us",
  "language": "en"
}
```

# Actor output Schema

## `dataset` (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": [
        "best crm software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/people-also-ask-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": ["best crm software"] }

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/people-also-ask-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": [
    "best crm software"
  ]
}' |
apify call tagadanar/people-also-ask-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tagadanar/people-also-ask-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/kgyFhBoX8FKoov2p1/builds/G6BSEK0b2yvHra7xO/openapi.json
