Free Zip Code API to Access Worldwide Postal Code Data

0 Comments
Editor Ratings:
User Ratings:
[Total: 0 Average: 0]




Zipcodebase is a free ZIP code API to access worldwide postal code data with ease. With the help of this API, you can look up any zip code and that parse the data to use is here desktop for mobile applications. This API takes zip codes as parameter along with API key and then return the result in JSON format. You can make API requests from command line or browser and then process the data that it returns. This is simple API and there are some other endpoints available to do different tasks. Apart from looking zip codes up, you can use it to measure distances or search for a ZIP code in a specific country.

In the free plan of Zipcodebase, you get 10000 requests per month which I think are enough for individual or small case use. To use this API in production, you might have to purchase the premium plan that comes with more number of requests. There is  a dedicated endpoint to look for postal codes with the given radius as well. You can also look for postal codes by city and state with this simple and powerful API. It also offers you simple dashboard where you can see the remaining quota of your remaining requests. Documentation for the API is available for programming languages like Python, Node JS, and PHP in docs.

Free Zip Code API to Access Worldwide Postal Code Data

In order to use this API, you will have to sign up for a free account using your email address. After email verification, you can go to the dashboard and copy your API key. Basic command to make am API request is mentioned there and you can just copy and paste it in terminal and use it.

Zipcodebase Dashboard Home

The basic API request to lookup for records is given below. In the following request URL, you simply specify a zip code along with your API key and then just paste it in your browser to get the response. You can also do it programmatically and deal with the JSON date accordingly.

https://app.zipcodebase.com/api/v1/search?apikey=5-exxxxxxxd&codes=Code

Zipcodebase in action

In the same way, you can use other endpoints that this API offers you. For example, if you want to measure distance between two postal codes, then you make the API request in the following way. Just enter the API key and then replace the zip codes with the ones you have to make the request and receive the response. You can see the output it produced in my case.

https://app.zipcodebase.com/api/v1/distance?apikey=5axxxxxxx0d6&code=10005&compare=10006%2C10007&country=us

Zipcodebase api distance

In this way, you can use this simple and powerful API to look up worldwide postal codes. I would like to make a suggestion here that many countries can have same zip codes for their states, so if you are searching for that code in a specific country then you should specify that in API request. And Zipcodebase lets you do that.

Similar post: Free API to Convert Zip Codes to Location

Final words:

If you are looking for a free API to look up world wild zip codes or postal codes then Zipcodebase is one of the best ones you can use. Just use it to make simple API requests and get the response. And I really liked the fact that this API has included other and point to do other things with the postal code such as measuring distances between them.

Editor Ratings:
User Ratings:
[Total: 0 Average: 0]
Free/Paid: Free

Leave A Reply

 

Get 100 GB FREE

Provide details to get this offer