1. Home
  2. Developer API information
  3. Range Switzerland Responses

Range Switzerland Responses

Return Swiss postal codes within range of a given postal code

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

GET Example request:

https://api.pro6pp.nl/v2/range/ch?authKey=YOUR_AUTH_KEY&postalCode=2000

This application gives the following result:

200: postalcodes within range
[
  {
    "postalCode": "5603",
    "distance": 703,
    "lat": 47.38354,
    "lng": 8.169
  }
]

Error responses

401: Not authenticated
404: No results found