Nearby FR

Return French 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/fr?authKey=YOUR_AUTH_KEY&postalCode=93170

This application gives the following result:

200: postalcodes within range
[
  {
    "postalCode": "93100",
    "distance": 1535,
    "lat": 48.86288,
    "lng": 2.44049
  },
  {
    "postalCode": "75020",
    "distance": 2371,
    "lat": 48.87428,
    "lng": 2.39772
  },
  {
    "postalCode": "93130",
    "distance": 4447,
    "lat": 48.89129,
    "lng": 2.45631
  }
]

Error responses

401: Not authenticated
404: No results found

Available countries

France

Looking for our v1 API?

v1 Documentation