Agentic Platform
Documentation API reference Tools Skills

Tools

Google People Also Ask

google_people_also_ask MCP Keywords Google

Retrieve Google 'People Also Ask' questions for a specific query.

Retrieve the Google 'People Also Ask' questions for a specific query. When `save_to_tmp_storage` is enabled, the questions are written to temporary project storage and a URL is returned instead of the inline results.

Playground

POST
item
query required

The search query to analyze

config
location_id

Location ID (optional)

location_request

Location request (ex: Paris, FR), will translate to location ID

country_code

ISO3166 country code (ex: GB)

lang_code

BCP47 language code (ex: "en", "en-GB")

device

Device to use for search (optional - defaults to mobile)

save_to_tmp_storage

Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.

Credits

Fixed cost per keyword requested, plus one set of search results per keyword: the questions are read off the results page. Called synchronously it uses search results (live); submitted as a background batch it uses search results (async) and costs appreciably less.

These usage SKUs can be charged on a call.

SKU Credits Description
Tool call 1 per request Charged once per successful item, on top of any usage below.
Search results (async) 6 per 10 query The same search-results page, submitted as a background batch. Markedly cheaper than running the query while you wait.
Search results (live) 2 per query One organic search-results page for one query, fetched while you wait.

Schemas

item is what you send, config how the tool behaves, and the response is what you get back.

Item

object
Properties
query string required

The search query to analyze

max length 700

Example
{
  "query": "string"
}

Configuration

object
Properties
location_id integer | null

Location ID (optional)

Default: null

location_request string | null

Location request (ex: Paris, FR), will translate to location ID

Default: null

country_code string | null

ISO3166 country code (ex: GB)

Default: null

lang_code string | null

BCP47 language code (ex: "en", "en-GB")

Default: null

device string

Device to use for search (optional - defaults to mobile)

Values: mobile desktop

Default: "mobile"

save_to_tmp_storage boolean

Save the bulky result payload to Botify temporary storage and return the temporary URL instead of the payload. Use this to save output tokens.

Default: false

Example
{
  "location_id": null,
  "location_request": null,
  "country_code": null,
  "lang_code": null,
  "device": "mobile",
  "save_to_tmp_storage": false
}

Response

object
Properties
results PeopleAlsoAskItem

List of People Also Ask questions with their details. Omitted when `save_to_tmp_storage` is True; see `results_tmp_storage_url` instead.

Items: PeopleAlsoAskItem

Default: null

results_tmp_storage_url string | null

Temporary storage URL of the People Also Ask results. Returned instead of `results` when `save_to_tmp_storage` is True.

Default: null

Example
{
  "results": null,
  "results_tmp_storage_url": null
}

Type Definitions

1 type

These are the available sub-object types that can be used in the properties above.

PeopleAlsoAskItem object
#
question string required
type string required

Endpoints

POST http://agents.botify.com/{organization}/{project}/google_people_also_ask/process
POST http://agents.botify.com/{organization}/{project}/google_people_also_ask/batch_process
POST http://agents.botify.com/{organization}/{project}/google_people_also_ask/async_process
POST http://agents.botify.com/{organization}/{project}/google_people_also_ask/async_batch_process

See running a long job in the background for the polling flow.

cURL

curl -X POST "http://agents.botify.com/{organization}/{project}/google_people_also_ask/process" \
  -H "Authorization: Bearer $BOTIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "item": {
    "query": "<query>"
  }
}'

Over MCP

This tool is exposed as the MCP tool google_people_also_ask. An MCP client passes organization, project and item as tool arguments. Set up MCP →

Raw metadata