Validate Country Zipcode
Validate ZIP Code for country. This uses a regex to ensure the format is correct, and also does a lookup in the ZIP Code database if it matches an existing ZIP Code.
Path parameters
-
ISO-3166 Alpha2 or Alpha3 code for country
-
ZIP Code to validate
GET /countries/{countryCode}/zipcodes/{zipcode}
curl \
-X GET https://api.tellusdb.com/v1/countries/US/zipcodes/90210?token=api_token_value
Response examples (200)
{
"result": {
"is_valid": true,
"city": "Beverly Hills",
"state": "CA"
},
"time_taken_ms": 1.3892211
}