GET /zipcode/:country/:code
Look up a postal/zip code in 60+ countries to get the associated city, state/province, and geographic coordinates. Provide the country code and postal code in the URL. Useful for address validation, auto-filling city and state fields in checkout forms, calculating shipping zones, and mapping postal code regions. Covers the US, Canada, most of Europe, and many other countries.
country
required
Country code
code
required
Postal code
| Name | Required | Default | Description |
|---|---|---|---|
country |
Yes | - | Country code |
code |
Yes | - | Postal code |
curl https://nordapi.ee/api/v1/zipcode/us/90210
curl https://nordapi.ee/api/v1/zipcode/us/90210
curl https://nordapi.ee/api/v1/zipcode/no/0150
curl https://nordapi.ee/api/v1/zipcode/gb/SW1A
{
"data": {
"country": "United States",
"country_code": "US",
"places": [
{
"latitude": "34.0901",
"longitude": "-118.4065",
"name": "Beverly Hills",
"state": "California",
"state_code": "CA"
}
],
"post_code": "90210"
},
"success": true
}