Public APIs
ZipCodeAPI favicon

ZipCodeAPI

Geocoding

US zip code distance, radius and location API.

ZipCodeAPI's website screenshot

About ZipCodeAPI

ZipCodeAPI is a web API for calculating distances, radii, and locations based on US zip codes and Canadian postal codes. Core features include calculating distance between two zip codes, finding all zip codes within a given radius of a zip code, converting a zip code to its primary location (city, state, latitude, longitude, time zone, and NPA area codes), finding possible zip codes for a given city, generating custom SQL WHERE clauses for location-based database searches, and matching zip codes within a list that fall within a specified distance of each other.

The service is aimed at developers building forms, checkout flows, location-based search, or matching tools that need to derive or validate geographic information from zip codes, such as auto-filling city/state fields or restricting results to a service area.

Pricing is tiered by request volume: a Free plan (10 requests/hour, 240/day), Small ($199/year, 200/hour), Medium ($499/year, 2,500/hour), Large ($2,000/year, 12,500/hour), Extra Large ($4,000/year, 50,000/hour), and an Unlimited enterprise plan ($10,000/year) with unlimited requests per hour.

Key features

  • Calculate distance between two US or Canadian zip/postal codes
  • Find all zip codes within a given radius of a zip code
  • Convert a zip code to city, state, latitude, longitude, and time zone
  • Look up possible zip codes for a given city
  • Build custom SQL WHERE clauses for latitude/longitude-based searches
  • Match zip codes in a list that are within a specified distance of each other

Frequently asked questions

Is there a free tier?

Yes, ZipCodeAPI offers a free plan at $0/year with up to 240 requests per day and 10 per hour.

What are the paid pricing options?

Paid plans range from $199/year (Small, 4,800 requests/day) up to $4,000/year (Extra Large, 1,200,000 requests/day), plus a $10,000/year Unlimited plan for large enterprises.

What locations does the API cover?

The API covers US zip codes and Canadian postal codes.

Who uses this API?

Customers include e-commerce checkout forms, nonprofits like NAMI, marketplaces like PlanHub and GoCarrera, and developers building location-based tools.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product