Loading
https://api.apifreaks.com/v1.0/zipcode/lookup
$ pip install requests
Click Test it to start the request and see the response here!
| Field | Type | Requirement | Description |
|---|---|---|---|
| results | Array | Mandatory | An array containing postal code search objects. |
| results[].code | String | Mandatory | Postal / ZIP code of the location. |
| results[].country_code | String | Mandatory | Country code in ISO 3166-1 alpha-2 format associated with the postal code. |
| results[].region | String | Mandatory | Region or state/province associated with the postal code. |
| results[].region_code | String | Mandatory | Region code or abbreviation associated with the postal code. |
| results[].city | String | Mandatory | City associated with the postal code. |
| results[].locality | String | Optional | Locality or neighborhood associated with the postal code. |
| results[].latitude | Float | Mandatory | Latitude coordinate of the postal code location. |
| results[].longitude | Float | Mandatory | Longitude coordinate of the postal code location. |