Zip Code API - Free Access to Worldwide Postal Code Data

Lookup postal codes, calculate distances and much more with our free zip code api.

Worldwide Data
200+ Countries
5.000 Free Requests
Scalable Pricing
Lightning fast
Response times are everything. Our API is among the fastest you will find in the industry.
Up to Date
We constantly update and verify our data from multiple sources to ensure the accuracy of our data.
Easy-to-read REST-API
The API provides well structured JSON endpoints that allow you to integrate zipcodebase within minutes.
As seen on

Features & API Endpoints

Zipcodebase.com is the perfect tool to perform postal code validation, lookups and other calculative tasks, such as postal code distance calculations. Zipcodebase offers a wide range of endpoints that give you access to any type of data you might need. Read our full documentation here.

GET Code to location
Receive information about the primary location behind one or multiple postal codes. You may also filter by country. The following example will return information for the two postalcodes 10005 & 51503. The search is conducted worldwide.
GET https://app.zipcodebase.com/api/v1/search?apikey=YOUR-APIKEY&codes=10005%2C51503
Documentation
GET Codes by city
Receive a list of all postal codes within a given city and country from all around the world. The following example will a list of postalcodes that are associated with the city Amsterdam.
GET https://app.zipcodebase.com/api/v1/code/city?apikey=YOUR-APIKEY&city=Amsterdam&country=nl
Documentation
GET Radius search
This endoint will convert a list of submitted postalcodes into a list of postalcode pairs that are located within given distance to each other. The following example will return a list of postalcodes that are located within a 100km radius of the postalcode 10005.
GET https://app.zipcodebase.com/api/v1/radius?apikey=YOUR-APIKEY&code=10005&radius=100&country=us
Documentation
GET Distance calculation
This endpoint allows you to calculate the distance between one and another (or multiple) postalcodes. Results are available in km or miles. The following example will return the distance between the US postalcode 10005 and 10006, 10007.
GET https://app.zipcodebase.com/api/v1/distance?apikey=YOUR-APIKEY&code=10005&compare=10006%2C10007&country=us
Documentation
GET Codes by state
Receive a list of all postal codes within a given state and country. The following example will a list of postalcodes that are associated with the state Noord-Holland in the Netherlands.
GET https://app.zipcodebase.com/api/v1/code/state?apikey=YOUR-APIKEY&state_name=Noord-Holland&country=nl
Documentation
GET Codes within a distance
This endpoint returns a list of postalcode pairs that are within a given distance to each other.The following example will return the postal code pairs that are within a 100km distance based on the list of postalcodes: 10005, 10006, 10009, 90001.
GET https://app.zipcodebase.com/api/v1/match?apikey=YOUR-APIKEY&codes=10005%2C10006%2C10009%2C90001&distance=100&country=us
Documentation

Available for all common programming languages

To provide you with the best developer experience possible, we also created a Postman collection that covers all of our endpoints.

Free

Best for hobby projects

$0 /mo

Buy Free

What's included

  • 5.000 Searches
  • 1 Concurrent Requests
  • Private Use
  • HTTPS Encryption
  • Self-Service Onboarding
  • E-Mail Support

Developer

For small projects

$25 /mo

Buy Developer

What's included

  • 50.000 Searches
  • 1 Concurrent Requests
  • Commercial Use
  • Service Level Agreement
  • HTTPS Encryption
  • Concierge Onboarding
  • Personal Support

Small

For professional projects

$75 /mo

Buy Small

What's included

  • 200.000 Searches
  • 3 Concurrent Requests
  • Commercial Use
  • Service Level Agreement
  • HTTPS Encryption
  • Concierge Onboarding
  • Personal Support

Medium

More concurrency

$240 /mo

Buy Large

What's included

  • 1.900.000 Searches
  • 5 Concurrent Requests
  • Commercial Use
  • Service Level Agreement
  • HTTPS Encryption
  • Concierge Onboarding
  • Personal Support

Need more?

Contact us for a quote or view our high volume plans

Start using our free zip code api today!

Frequently asked questions

Still unsure? Talk to us!

Do not hesitate to contact us! We are available through the following channels:

Customer Chat [email protected] or Contact Form