Autocompletion & geocoding that resolves user input addresses including coordinates
Query parameters
the (potentially partially typed) address to resolve
language tags as used in OpenStreetMap (usually ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
location type
Optional. Default is all types.
Only return results of the given types. For example, this can be used to allow only ADDRESS and STOP results.
Optional. Filter stops by available transport modes. Defaults to applying no filter.
Optional. Used for biasing results towards the coordinate.
Format: latitude,longitude in degrees
Optional. Used for biasing results towards the coordinate. Higher number = higher bias.
Optional. Number of suggestions to return.
If omitted, 10 suggestions are returned by default. Must be <= server config variable geocode_max_suggestions.
Response
A list of guesses to resolve the text to a location