ZIPAPI - Your free access to zip code information
Welcome to our ZIPAPI! Our API allows you to easily access and integrate zip code data into your own applications and websites. With our API, you can perform a variety of tasks such as:
- Look up the zip code for a given address
- Find the city and state associated with a zip code
- Determine the latitude and longitude of a zip code
- Calculate the distance between two zip codes
- And much more!
Our API is fast, reliable, and easy to use. Start making requests for free now (fair-use). Try our zip code API today and see how it can enhance your project!
Always up to date
We always keep our database up to date so that the API always provides the correct information.
Easy to read API
API provides well-structured JSON endpoints. You can integrate the API in minutes.
Fast calls
We are constantly working on optimizing the API. Therefore, our API is characterized by being extremely fast.
Info
Get information about the locality of the zip code.
Radius
This call converts zip codes to a list of zip codes within a specified distance from each other.
Entfernung
Get distance and information between two or more zip codes.
Codes
Get all zip codes matching your query.
Examples:
- https://zip-api.eu/api/v1/codes/state=Salzburg
- https://zip-api.eu/api/v1/codes/place_name=Salzburg
- https://zip-api.eu/api/v1/codes/postal_code=AT-5020
- (New) https://zip-api.eu/api/v1/codes/postal_code=AT-50*
- https://zip-api.eu/api/v1/codes/place_name=AT-Wien
- https://zip-api.eu/api/v1/codes/place_name=Salzburg;state=Rheinland-Pfalz
- https://zip-api.eu/api/v1/codes/place_name=AT-Salzburg?fields=postal_code
Notes
Color codes
Color code | Meaning |
---|---|
Required | |
Optional |
Default value for optional parameters
Parameter | Default value |
---|---|
accuracy | 10 |
distance | 10 |
unit | km |
Description of the parameters
Parameter | Term | Description |
---|---|---|
country_code | Country code | Alpha-2 codes are two-letter country codes defined in ISO 3166-1. |
postal_code | Postal code | A postal code is a series of letters or numbers or both included in a postal address, sometimes including spaces or punctuation. |
place_name | Place name | Place names written in the corresponding language. |
lat | Latitude | Indicates the north-south position of a point on the Earth's surface. |
lng | Longitude | Specifies the east-west position of a point on the Earth's surface. |
distance | Distance | The distance between two places, points. |
accuracy | Accuracy | How close the measured value is to the actual value. |
unit | UNit | A definite magnitude of a quantity, defined and adopted by convention or by law. |
By programmers for programmers