1. Home
  2. Developer API information
  3. Nearby BE

Nearby BE

Return Belgium 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/be?authKey=YOUR_AUTH_KEY&postalCode=1000

This application gives the following result:

200: postalcodes within range
[
  {
    "postalCode": "1150",
    "distance": 2244,
    "lat": 50.83288,
    "lng": 4.44023
  },
  {
    "postalCode": "1932",
    "distance": 3347,
    "lat": 50.86803,
    "lng": 4.44533
  },
  {
    "postalCode": "1160",
    "distance": 3363,
    "lat": 50.81572,
    "lng": 4.42217
  }
]

Error responses

401: Not authenticated
404: No results found