Nearby NL

Return Dutch 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/nl?authKey=YOUR_AUTH_KEY&postalCode=5621&precision=sixpp

This application gives the following result:

200: postalcodes within range
{
  "value": [
    {
      "distance": 0,
      "lat": 51.45454,
      "lng": 5.45751,
      "postalCode": 5621
    },
    {
      "distance": 819,
      "lat": 51.44717,
      "lng": 5.45692,
      "postalCode": 5617
    },
    {
      "distance": 943,
      "lat": 51.45948,
      "lng": 5.46442,
      "postalCode": 5622
    }
  ]
}
200: postalcodes within range
{
  "value": [
    {
      "distance": 0,
      "lat": 51.45111,
      "lng": 5.46275,
      "postalCode": "5621AA"
    },
    {
      "distance": 0,
      "lat": 51.45111,
      "lng": 5.46275,
      "postalCode": "5621AB"
    },
    {
      "distance": 114,
      "lat": 51.45208,
      "lng": 5.46361,
      "postalCode": "5621JE"
    }
  ]
}

Error responses

401: Not authenticated
404: No results found