Skip to documentation
Browse documentation

Search places

Search Google Maps for places by keyword, optional location, and viewport bias. Returns distinct places with available identity, contact, rating, category, and coordinate fields. Country biases results; it is not a strict country filter.

Capability ID googlemaps.search
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

country string optional

Two-letter country code for the gl parameter (default 'us'). Default: `us`.

lang string optional

Language code such as 'en' or 'en-US' (default 'en'). Default: `en`.

lat number optional

Latitude for geo-bias (use with lng). From -90 to 90.

limit integer optional

Max records to return (default 60, max 120). From 1 to 120. Default: `60`.

Example 20
lng number optional

Longitude for geo-bias (use with lat). From -180 to 180.

location string optional

Location bias appended to query, e.g. 'New York, NY'.

Example San Francisco, CA
query string required

Search query, e.g. 'pizza restaurants'.

Example coffee shops
zoom integer optional

Map zoom level (default 14; higher = tighter area, lower = wider). From 10 to 18.

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
items array 3 items
items array 3 items
summary object 3 fields
summary.has_more boolean true
summary.query string coffee shops
summary.total_items integer 20

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.