ZIP Code Distance API

GET

https://api.apifreaks.com/v1.0/zipcode/distance

format
Format of the Response
codeString
Postal/Zip code to be used as the base point.
latFloat
Latitude coordinate for the base location.
longFloat
Longitude coordinate for the base location.
countryStringrequired
Country code in ISO 3166-1 alpha-2 format.
compareArrayrequired
Comma separated list of postal / zip codes with which base point is compared with respect to.
unitString
Supported distance units are m, km, mi, ft, yd, in.

Sample Responses

400
400
400
400
400
404
LANGUAGE
Python
PHP
Java
Node
Ruby
$ pip install requests
RESPONSE

Click Test it to start the request and see the response here!