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
5000 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 Worldpostallocations within minutes.
As seen on

Features & API Endpoints

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

GET POST Code to location
Receive information about the primary location behind one postal code. You may also filter by country. The following example will return information for the postalcode 10005. The search is conducted worldwide.
GET https://api.worldpostallocations.com/v1/search?apikey=YOUR-APIKEY&zip_code=10005&country_code=US
Documentation
GET POST 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://api.worldpostallocations.com/v1/code/city?apikey=YOUR-APIKEY&city=Amsterdam&country_code=NL
Documentation
GET POST 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://api.worldpostallocations.com/v1/radius?apikey=YOUR-APIKEY&zip_code=10005&radius=100&country_code=US
Documentation
GET POST 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://api.worldpostallocations.com/v1/distance?apikey=YOUR-APIKEY&zip_code=10005&compare=10006%2C10007&country_code=US
Documentation
GET POST 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://api.worldpostallocations.com/v1/code/state?apikey=YOUR-APIKEY&state_name=Noord-Holland&country_code=NL
Documentation
GET POST 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://api.worldpostallocations.com/v1/match?apikey=YOUR-APIKEY&zip_codes=10005%2C10006%2C10009%2C90001&distance=100&country_code=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

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

Developer

For small projects

$45 /mo

Buy Developer

What's included

  • 60.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 contact@worldpostallocations.com or Contact Form