Search near coordinates
goplaces_nearbySearch Google Places near a latitude/longitude within a radius. Returns compact nearby place summaries, with optional type filters, ranking, and travel distances.
Instructions
Search Google Places near a latitude/longitude within a radius. Use when the user gives coordinates or you already resolved a location. Returns compact place summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude for a circular location bias/restriction. | |
| lng | Yes | Longitude for a circular location bias/restriction. | |
| limit | No | Maximum number of nearby results. | |
| region | No | Optional CLDR region code, for example 'US' or 'DE'. | |
| rank_by | No | Result ordering. Defaults to Google's popularity ranking. | |
| language | No | Optional BCP-47 language code, for example 'en' or 'en-US'. | |
| radius_m | Yes | Radius in meters for the circular location bias/restriction. | |
| include_ev | No | Include EV charging connectors, charge rates, and availability. | |
| origin_lat | No | Latitude to measure travel from. With origin_lng, each result gains distance_meters and duration_seconds, avoiding a directions call per result. | |
| origin_lng | No | Longitude to measure travel from. Must be paired with origin_lat. | |
| origin_mode | No | Travel mode for origin distances. Google does not support transit here. | drive |
| detail_level | No | Field tier to request. Google bills at the most expensive tier in the request, so prefer the cheapest that answers the question: 'ids' returns place IDs only, 'basic' adds name, address, location, type, and a Maps link, and 'full' adds rating, price, hours, phone, and website. | full |
| excluded_types | No | Excluded Google place types. | |
| included_types | No | Included Google place types, e.g. ['cafe'] or ['restaurant', 'bar']. | |
| include_atmosphere | No | Include the most expensive tier: editorial summary, dine-in/takeout/delivery/reservable, accessibility, and parking options. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on failure; the result is also flagged isError. | |
| results | No | Places inside the radius. |