Comparison

Best ZIP code APIs in 2026, compared

ZIP code APIs, address verification services and free postal code data compared by coverage, features, free tier and price, from each provider's own pages.

Updated October 29, 2026 · 5 min read

We make zipcodestack, so we are not neutral. Every competitor figure below comes from that provider’s own website, checked on October 29, 2026; prices are monthly list prices in US dollars unless noted, as of October 2026. Prices change, so check them before you buy, and tell us if a row is out of date.

The best ZIP code API depends on what you need from a postal code. For looking up city, state and coordinates, validating codes, and distance or radius search, a postal code API such as the zipcodestack ZIP code API or Zipcodebase is the simplest and cheapest choice. For confirming full street addresses, you need an address verification service such as Smarty or the USPS Addresses API. And for occasional lookups, GeoNames offers free web services and downloads.

Short answer

Coverage, features and free tier

APICoverageWhat it doesFree tier
zipcodestack182 countries, about 9.6M postal codesLookup (up to 100 codes per call), validation, distance, radius, polygon, reverse geocoding, autocomplete, codes by city or state1,000 requests / month, 10 / minute; testing and personal projects
Zipcodebase200+ countriesLookup, codes by city or state, radius, distance, codes within a distance, provinces5,000 searches / month, private use, 1 concurrent request, 10-mile radius
SmartyUS addresses; international addresses in 195 countries and 55 territoriesAddress verification, ZIP+4, city/state ↔ ZIP lookup with county and coordinatesTrial: 1,000 US lookups (100 international) or 42 days, whichever comes first
USPS Addresses API (v3)US onlyAddress standardization with ZIP+4, cities for a ZIP code, ZIP codes for a cityNo price listed; USPS Business Account, hourly quota
GeoNames web servicesAbout 120 countries in its postal code dataPostal code search, nearby postal codes (30 km / 500 rows on the free service), lookup10,000 credits / day, 1,000 / hour; commercial use allowed with credit (CC BY)
Zippopotam.us60+ countriesPostal code to place lookupFree; no published limits; data under ODbL, adapted from GeoNames
ZipCodeAPI.comUS and Canada onlyDistance, radius, match by distance, ZIP to location10 requests / hour
Google Geocoding APIWorldwide geocodingGeocoding with a postal code filter; up to 100 localities per postal code10,000 requests / month
APIEntry planLargest standard planPrice per 1,000 (entry → largest)
zipcodestack$34.99 for 70,000 requests$249 for 6,000,000$0.50 → $0.042
Zipcodebase$45 for 60,000 searches$3,000 for 70,000,000$0.75 → $0.043
Smarty (US)$552 a year for 12,000 lookupsCustom$46.00 at the entry tier
Smarty (international)$95 for 1,000 lookupsCustom$95.00 at the entry tier
GeoNames premium€40 for 100,000 credits (valid one year)€300 for 25,000,000€0.40 → €0.012 per 1,000 credits
ZipCodeAPI.com$199 a year for 200 requests an hour$10,000 a year, unlimitedPriced by hourly limit
Google Geocoding API$5.00 per 1,000 after the free 10,000Volume discounts$5.00 → lower at volume

Which one fits

What to look for

zipcodestack in one request

curl -G https://api.zipcodestack.com/v1/search \
    -d codes=1010 \
    -d country=at \
    -H "apikey: YOUR-API-KEY"

The answer has the place, state, province and coordinates of each code; the search documentation lists every field. To try the data without a key, use the free postal code validator or the ZIP code radius tool.

Frequently asked questions

What is the best ZIP code API?

It depends on what you need. We make zipcodestack and would pick it for postal code lookups, validation, distance and radius search across 182 countries, from $0.064 per 1,000 requests on its Large plan. Zipcodebase is similar and cheaper per search on its plans with 40 million searches a month or more. For full street address verification in the US, use Smarty or the USPS Addresses API; for occasional lookups with attribution, GeoNames' free web services.

What is the best free ZIP code API?

For low volumes, GeoNames' free web services allow 10,000 credits a day with attribution, and commercial use is allowed. Zipcodebase's free plan has 5,000 searches a month for private use, and zipcodestack's 1,000 requests a month for testing and personal projects. Google's Geocoding API includes 10,000 free requests a month.

Do I need address verification or just a ZIP code API?

If you need to confirm that a full street address can receive mail, with apartment numbers and ZIP+4, use an address verification service such as Smarty or the USPS Addresses API. For city and state from a postal code, validating postal codes, distances and radius search, a postal code API is simpler and cheaper.

Is the USPS API free?

The USPS developer portal does not list a price. You need a USPS Business Account and OAuth 2.0 client credentials, and calls are limited by an hourly quota that you can ask to raise. The old USPS Web Tools APIs were retired on January 25, 2026.

Which ZIP code API covers the most countries?

Zipcodebase says it covers more than 200 countries, zipcodestack covers 182 with about 9.6 million postal codes, and GeoNames' free postal code files about 120. Smarty's international address verification covers 195 countries and 55 territories, but it verifies addresses rather than looking up postal codes.

Postal code API

Get this data in your app

zipcodestack looks up, validates and searches postal codes in 182 countries: city, state, coordinates, distances and radius search, as JSON.

/v1/search documentation International postal code API All documentation

1,000 free requests every month. No credit card required.

GET https://api.zipcodestack.com/v1/search?codes=10001&country=us

{
  "results": {
    "10001": [{
      "postal_code": "10001",
      "country_code": "US",
      "latitude": 40.7484,
      "longitude": -73.9967,
      "city": "New York",
      "state": "New York",
      "state_code": "NY",
      "province": "New York"
    }]
  }
}

Keep reading

Start using our ZIP code API for free today!

Get 1,000 requests / month for free