place_geocode
Convert an address, place name, or landmark into coordinates. Enable fuzzy mode for misspelled or partial input, and optionally restrict results by country codes.
Instructions
Find the coordinates of an address, place name or landmark.
Uses OpenStreetMap: Nominatim for exact structured lookups, or Photon when fuzzy=true for misspelled or partial input (Nominatim's usage policy forbids autocomplete-style queries, so route those here).
To go the other way -- coordinates to an address -- use place_reverse. To find categories of thing nearby (fuel, hospitals, hotels) rather than one named place, use place_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fuzzy | No | Use the typo-tolerant Photon backend instead of Nominatim. Set this for partial, misspelled or as-you-type input. | |
| limit | No | Maximum matches to return. | |
| query | Yes | An address, place name or landmark. | |
| country_codes | No | Comma-separated ISO 3166-1 alpha-2 codes to restrict results, e.g. 'gb,ie'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| query | Yes | ||
| matches | Yes | ||
| provider | Yes |