1. Home
  2. Developer API information
  3. Distance (straight line) Netherlands Responses

Distance (straight line) Netherlands Responses

Return driving distance and time between two Dutch postcodes.

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

GET Example request:

https://api.pro6pp.nl/v2/distance/nl?authKey=YOUR_AUTH_KEY&fromPostalCode=1011ET&toPostalCode=1011EZ&algorithm=road

This application gives the following result:

200: address available
{
  "distance": 672
}

Error responses

401: Not authenticated
404: No results found

Available countries

Netherlands

Looking for our v1 API?

v1 Documentation