ZipCodeAPI – Distance Between Zip Codes

ZipCodeAPI is an easy and reliable way to get the distance between zip codes. The results format can be JSON, XML or CSV. The distance can be in miles or kilometers.

You can try it yourself and we’ve also included the JavaScript code.

Here is example Javascript code to determine the distance between any zip codes.

Javascript code to determine the distance between zip codes.

Try it and get the distance between zip codes

Try it yourself here with any two zip codes.

This joins our previous examples of entering a zip code to auto-fill the City and State.

Let us know if you need more Javascript examples!

Sharing is caring!

Leave a Reply

Your email address will not be published. Required fields are marked *