Forward geocode (search place by name)
maptiler_geocodeSearch for a place, address, or POI by name and get matching locations as GeoJSON features. e.g. 'Zurich' or '1600 Pennsylvania Ave'. API: GET /geocoding/{query}.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Bounding box "west,south,east,north" to restrict results. | |
| limit | No | Max results (1-10). Default 5. | |
| query | Yes | Place/address/POI to search for (goes in the URL path). | |
| types | No | Comma-separated place types to include (e.g. address,poi,city). | |
| country | No | Comma-separated ISO 3166-1 alpha-2 country codes to restrict to. | |
| language | No | Comma-separated ISO 639-1 language codes for results. | |
| proximity | No | Bias toward a point: "lon,lat" or the literal "ip". | |
| worldview | No | Disputed-border worldview: default | auto | ch | us. | |
| fuzzyMatch | No | Allow approximate matching of the query terms. | |
| autocomplete | No | Treat the last term as a prefix for as-you-type search. | |
| excludeTypes | No | If true, `types` becomes an exclude list instead. |