1. Home
  2. Developer API information
  3. Suggest Switzerland Street Responses

Suggest Switzerland Street Responses

Suggest a Swiss address.

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

GET Example request:

https://api.pro6pp.nl/v2/suggest/ch/street/?authKey=YOUR_AUTH_KEY&settlement=Lenzburg&street=Bachstrasse

This application gives the following result:

200: street suggestion(s) available
[
  {
    "lat": 47.38553838022349,
    "lng": 8.17672022508821,
    "postalCodes": [
      "5600"
    ],
    "settlement": "Lenzburg",
    "street": "Bachstrasse",
    "region": "Northwestern Switzerland",
    "canton": "Aargau",
    "district": "Lenzburg"
  }
]

Error responses

401: Not authenticated
404: No results found