Autocomplete FR
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=06000&street=Avenue%20Virgile%20Neal&streetNumber=36%premise=bis
This application gives the following result:
200: Location found
{
"commune": "Nice",
"country": "France",
"countryCode": "FR",
"department": "Alpes-Maritimes",
"lat": 43.735798,
"lng": 7.264995,
"postalCode": "06000",
"premise": "bis",
"region": "Provence-Alpes-Côte d'Azur",
"settlement": "Nice",
"street": "Avenue Virgile Neal",
"streetNumber": 36
}
Error responses
401: Not authenticated
404: No results found