v2
latestOpenAPI 3.1.02026-08-0176498.0 KBPrefix search for places. Useful for autocomplete forms.
Search for places by prefix
You can use this endpoint to obtain place_id of the location you want, to be used in point endpoint. The response also contains detailed information about the location, such as coordinates, timezone and the country the place belongs to.
Unlike the /find_places endpoint, you should only specify the prefix of the place you are looking for. This is particularly useful for autocomplete forms. You can search for cities, mountains, lakes, countries, ZIP codes, etc. The response can contain multiple places, sorted by relevance. You can then identify the one you want by coordinates, country, or the administrative area.
Query parameters
Place name or ZIP code
Place name or ZIP code
The language of text summaries and place names (variable names are never translated). Available languages are:
- en: English
- es: Spanish
- fr: French
- de: German
- pl: Polish
- pt: Portuguese
- cs: Czech
Your unique API key. You can either specify it in this parameter, or set it in X-API-Key header.
Your unique API key. You can either specify it in this parameter, or set it in X-API-Key header.
Response
Successful Response