US and Canadian Zip Code Distance, Radius and Location API

The easy way to calculate distances, radius, and locations for US zip codes and CA postal codes.

Start Using the API

Try It!

Make your forms faster by auto-filling information when users enter a zipcode.

Click here for example code.

Free to Use

This API is freely available.
Simply register your application.

View Details »

Distance Between Zip Codes

The API allows you to quickly and easily figure out the distance between zip codes.

View Details »

Zip Codes in Radius

You can use the API to find all zip codes within a given radius from another zip code.

View details »

Zip Codes to Location

The API can convert a zip code to the primary location for the zip code. This includes the city, state, latitude, longitude, time zone information, and NPA area codes for the primary location. Click here for an example of auto-filling city and state in a form when a zip code is entered.

View Details »

Location to Zip Codes

You can use the API to determine possible zip codes for a city.

View Details »

Custom SQL Search

You can use the API build the WHERE clause for use in SQL statements to your own database. This allows you to create custom searches based on latitude and longitude.

View Details »

Find Close Zip Codes

The API can take a list of zip codes and match together those that are within a specified distance of each other.

View Details »

Real-Time Map

Need a real-time visualization of traffic or user actions on your website? Check out

View Details »


Work with our ZipCode Partners on your next project.

GKB Labs

ZipCodeAPI Customers!

ZipCodeAPI customer Sylvan Learning
ZipCodeAPI provides mission-critical data to CMG
ZipCodeAPI customer Nashville Software School
ZipCodeAPI customer Bowling Proprietors Association of Minnesota
ZipCodeAPI customer Kinney Drugs
ZipCodeAPI Customer Greyhound
ZipCodeAPI RunSignUp