Search for places
search_placesFind places by what they are and where they are, such as bakeries in Curitiba. Places we saved from earlier searches come back at once, for free. If they do not fill limit, a collection starts to find the rest and the answer includes it: each new place costs one credit as it arrives, and it stops at limit, so a search never costs more than limit credits. Search again later, or read the collection, to get the new ones; with wait, the answer waits up to 60 seconds for them. Needs an API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | Yes | Where to search. Give exactly one of: a Brazilian city as location, a lat/lng point with radiusM, a bbox, or a cityIbge with radiusKm. | |
| lang | No | The language to search in. New places come back in it. Two letters, such as pt or en. | pt |
| wait | No | Seconds to wait for new places when we have to collect them, up to 60. 0 answers at once with what we already have. | |
| limit | No | How many places you want, from 1 to 120. Also the most a search can cost. | |
| keywords | Yes | What to search for, such as ["bakery"]. One search per term. | |
| minRating | No | Keep only places rated at least this, from 1 to 5. Null keeps every place. |