Search Nearby
Discover places around a coordinate using a map viewport derived from the requested radius. Optional query and type terms are combined as search keywords; radius is an approximate search-area control, not a distance cutoff.
googlemaps.nearby
/execute
Shared execution endpoint
Input parameters
country
string
optional
Two-letter country code (default 'us').
lang
string
optional
Language code such as 'en' or 'en-US' (default 'en').
lat
number
required
Latitude (required).
37.7749
limit
integer
optional
Max results (default 60, max 120).
20
lng
number
required
Longitude (required).
-122.4194
query
string
optional
Search terms, e.g. 'coffee'. Combined with any type terms.
coffee
radius
integer
optional
Approximate map search-area radius in meters (default 1000; not a strict distance cutoff).
500
types
array<string>
optional
Additional type terms combined into the search query, e.g. ['restaurant'].
Response
Successful output is returned in results[0].data. Raw platform output is
intentionally open-ended and may evolve with the upstream source.
Illustrative output fields
Derived from the sample above for orientation only. These observed fields are not a fixed response schema.
| Path | Observed type | Example |
|---|---|---|
items |
array |
3 items |
items |
array |
3 items |
summary |
object |
3 fields |
summary.has_more |
boolean |
true |
summary.query |
string |
coffee |
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.