Search places
goplaces_searchSearch Google Places by free-form text to find businesses, landmarks, restaurants, shops, or services. Filter by open now, rating, price, type, and location, then return compact place summaries.
Instructions
Search Google Places by free-form text. Use for finding businesses, landmarks, venues, restaurants, shops, attractions, or services. Supports filters for open now, rating, price, type, pagination, and optional circular location bias. Returns compact place summaries and a next_page_token when Google provides one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude for a circular location bias/restriction. | |
| lng | No | Longitude for a circular location bias/restriction. | |
| limit | No | Maximum number of results. | |
| query | Yes | Search text, e.g. 'coffee', 'sushi near Bryant Park', or 'EV charging'. | |
| region | No | Optional CLDR region code, for example 'US' or 'DE'. | |
| keyword | No | Extra keyword appended to the text query. | |
| language | No | Optional BCP-47 language code, for example 'en' or 'en-US'. | |
| open_now | No | When true, request places currently open. | |
| radius_m | No | Radius in meters for the circular location bias/restriction. | |
| include_ev | No | Include EV charging connectors, charge rates, and availability. | |
| min_rating | No | Minimum star rating from 0 to 5. | |
| 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. | |
| page_token | No | Google next_page_token from a previous goplaces_search response. Every other argument, detail_level included, must match the original request or Google rejects the page. | |
| 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 |
| price_levels | No | Google price levels: 0 free, 1 inexpensive, 2 moderate, 3 expensive, 4 very expensive. | |
| included_type | No | Optional Google place type filter, e.g. 'restaurant', 'cafe', 'park'. | |
| ev_connector_types | No | Keep only places supporting one of these Google connector types, e.g. ['EV_CONNECTOR_TYPE_CCS_COMBO_2', 'EV_CONNECTOR_TYPE_NACS', 'EV_CONNECTOR_TYPE_J1772', 'EV_CONNECTOR_TYPE_TESLA', 'EV_CONNECTOR_TYPE_CHADEMO', 'EV_CONNECTOR_TYPE_TYPE_2']. | |
| include_atmosphere | No | Include the most expensive tier: editorial summary, dine-in/takeout/delivery/reservable, accessibility, and parking options. | |
| ev_min_charge_rate_kw | No | Keep only charging stations at or above this rate in kilowatts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only on failure; the result is also flagged isError. | |
| results | No | Matching places, best match first. | |
| next_page_token | No | Pass back as page_token for the next page. |