Data Enrichment
Location can enrich an address with additional data during validation if requested via the "include" attribute:
-
coordinates-wgs84: WGS-84 GEO coordinates along with precision information
-
country-info: Country codes in various representations (ISO-3166-1)
-
region-info: Country-specific region codes (ISO-3166-2)
-
municipality-info: Information about the municipality of the address
-
delivery-info: Country-specific information for carriers
-
address-info: Country-specific information
Coordinates
Coordinates can be requested via the "include" Attribute "coordinates-wgs84". The coordinates are in decimal
degrees format.
The following table describes all relevant output fields:
Field | Description |
---|---|
lat |
Latitude of the WGS-84 coordinate. |
lon |
Longitude of the WGS-84 coordinate. |
precision |
The accuracy level of the coordinates. The most accurate coordinate is at the house number level. 1. locality Example: house-number |
Country Information (ISO-3166-1)
Country information can be requested via the "include" Attribute "country-info".
The following table describes all relevant output fields:
Field | Description |
---|---|
iso3166_1Name |
Official ISO-3166-1 Name of the country. |
iso3166_1Alpha2 |
Official ISO-3166-1 two letter code (alpha-2) of the country. |
iso3166_1Alpha3 |
Official ISO-3166-1 three letter code (alpha-3) of the country. |
iso3166_1Numeric |
Official ISO-3166-1 numeric code of the country. |
Region Information (ISO-3166-2)
Region information can be requested via the "include" Attribute "region-info".
If we cannot be sure if we have the official ISO-3166-2 information can be provided we return the "regionCode"
and "regionName", otherwise the ISO-3166-2 values will be returned.
The following table describes all relevant output fields:
Field | Description |
---|---|
iso3166_2Name |
Official ISO-3166-2 name of the region. |
iso3166_2Code |
Official ISO-3166-2 code of the region. |
regionCode |
Code of the region. Not the official ISO-3166-2. |
regionName |
Name of the region. Not the official ISO-3166-2. |
Municipality Information
Municipality information can be requested via the "include" Attribute "municipality-info".
The following table describes all relevant output fields:
Field | Description |
---|---|
municipalityName |
Official name of the municipality. |
municipalityCode |
Official code of the Municipality. |
Delivery Information
Additional information regarding the delivery can be requested via the "include" Attribute "delivery-info".
The following table describes all relevant output fields:
Field | Description |
---|---|
postalCodeAddition |
Addition of the postal code. Exists only in Switzerland and consists of two digits. |
Address Information
Additional information about the country can be requested via the "include" Attribute "address-info".
The following table describes all relevant output fields:
Field | Description |
---|---|
key |
Key of the attribute. |
value |
Value of the attribute. |
These are the current available attributes
Country | Field | Description |
---|---|---|
PT |
freguesi-name |
It is the name of the composite hierarchical code (region code + municipal code + district code) and describes the smallest administrative unit in Portugal. |
PT |
freguesi-code |
It is a composite hierarchical code (region code + municipal code + district code) and describes the smallest administrative unit in Portugal. |