# API: Address Autocomplete

# API Base URL

The base url for the Address Autocomplete API is https://addressautocomplete.uberapi.io/api/v1

# GET /autocomplete

# Request

{baseUrl}/autocomplete?country=de&query=levisohnweg

# Request Headers

Header Type Description
Authorization
OPTIONAL
string Bearer authentication token. See authentication page for more info.

# Request Parameters

Parameter Type Description
api_token
OPTIONAL
string API token. See authentication page for more info.
country string Two letter Country code.
query string Your search query.

# Response

{
  "query": "levisohnweg",
  "results": [
    {
      "addressLine": "Levisohnweg, 22081 Hamburg, Germany",
      "city": "Hamburg",
      "country": "Germany",
      "countryCode": "de",
      "houseNumber": null,
      "name": "Levisohnweg",
      "postcode": "22081"
    },

    ...

  ]
}

# Response Fields

Field Type Description
query string Your search query
results array
results.*.addressLine string Formatted address line
results.*.city string
results.*.country string
results.*.countryCode string
results.*.houseNumber string
results.*.name string
results.*.postcode string

We'll extend the response attributes in the future to pride you with more useful infirmation. Please make sure your applicaiton can handle that and ignores the additional attributes when not needed.

# Code Examples

# Supported Countries

Currently we are supporting the following Countries. We are working on extending the number of Countries in the near future.

Country Country Code
🇦🇹 Austria at
🇨🇿 Czech Republic cz
🇩🇰 Denmark dk
🇫🇷 France fr
🇩🇪 Germany de
🇳🇱 Netherlands nl
🇵🇱 Poland pl
🇨🇭 Switzerland ch