1. Home
  2. Developer API information
  3. Autocomplete France Responses

Autocomplete France Responses

Autocomplete a French address.

Note: This is the documentation for the v2 API which is still in beta.

GET Example request:

https://api.pro6pp.nl/v2/autocomplete/fr/?authKey=YOUR_AUTH_KEY&postalCode=68110&street=Rue+de+la+Doller&streetNumberAndPremise=0&settlement=Illzach

This application gives the following result:

200: Location found
{
  "commune": "Illzach",
  "country": "France",
  "countryCode": "FR",
  "department": "Haut-Rhin",
  "lat": 47.77453,
  "lng": 7.34522,
  "postalCode": "68110",
  "region": "Grand Est",
  "settlement": "Illzach",
  "street": "Rue de la Doller",
  "streetNumber": 4
}

Error responses

401: Not authenticated
404: No results found