Distance between ZIP codes
Measure the straight-line distance between two ZIP code reference points.
Use it in your app
GET /postal/33139/distance/90210?country=US
This page is that call, running from your browser. The same endpoint ships on every plan, one pooled request per lookup. Coverage follows the countries listed on /postal where coordinates are available.
QUESTIONS
- How is the distance measured?
- Straight line between the two ZIP centroids, along the curve of the earth. Not a driving route.
- Miles or kilometers?
- Both, on every answer.
- Can I do this from code?
- Yes. This page is GET /postal/{code}/distance/{other}, running from your browser. Same endpoint on every plan, one pooled request per call.
- What about postal codes outside the US?
- The API covers the countries listed on /postal where coordinates are available. This tool speaks ZIP, and the endpoint takes a country parameter for the rest.