Find a place by name
geocode_searchFinds places, addresses and points of interest by name (geocoding). Partial text works, as for autocomplete. Each result has the name, the address, lat and lon, a bounding box (south, west, north, east), the OpenStreetMap element (osm), and for ways and relations an overpass_area_id to use in overpass_query as area(id:N). Languages: en, de, fr. One call counts as one geocoding request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | only places of this kind; settlement is a city, town, village or district | |
| near | No | prefer results near this point | |
| limit | No | most results | |
| query | Yes | what to find, such as "Bundesplatz 3, Bern", "Zermatt" or "Louvre" | |
| within | No | ||
| language | No | language of the names and addresses; the local names when not set | |
| country_codes | No | only results in these countries, ISO 3166-1 alpha-2 codes such as CH or DE |