Suggest Services
Suggest Zipcode All
The Suggest Zipcode All endpoint returns every house-number range for a city, street, or house number, with its parity and range type.
Headers & authentication
Required request headers and their expected values.
| Field | Type | Description |
|---|---|---|
tokenreq | String | Authentication token sent in the |
Request
Processing options, entity ID, and house-number parameters.
| Field | Type | Description |
|---|---|---|
parreq | Object | Processing parameters, candidate limits, and country context |
iso2 | String | Country code, ISO 3166-1 alpha-2. One of |
iso3 | String | Country code, ISO 3166-1 alpha-3. One of |
max_candidates | Number | Maximum number of candidates to extract Default value: |
datareq | Object | Search criteria for full postal code lookup |
city_id | Number | ID of the city |
street_id | Number | ID of the street |
hn | Number | House number |
zipcode | String | Postal code |
Response
House-number range results, parity codes, postal codes, and system status.
| Field | Type | Description |
|---|---|---|
data | Object | |
results | Array | Array of candidate matches returned by the suggestion engine |
zipcode | String | Postal code |
hn_start | String | Range starting house number |
hn_end | String | Range ending house number |
exp_start | String | Range starting exponent |
exp_end | String | Range ending exponent |
parity | String | Parity: |
range_type | String | Range type: |
system | Object | System error and execution status |
ret_code | Number | Code: 0 no blocking error, <> 0 blocking error code |
des_ret_code | String | Description |
curl -X POST "https://{host}:{port}/Egon/api/suggest/zipcodeAll" \
-H "token: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"par": {
"iso3": "ITA"
},
"data": {
"street_id": "38000093621"
}
}'