# Full Address > The Full Address endpoint parses a complete address written as a single free-text string and returns a list of normalized candidate addresses. The Full Address endpoint parses a complete address written as a single free-text string and returns a list of **normalized candidate addresses**. ## Endpoint `POST https://api.egon.com/v4/suggest/address` Egon ecommerce API ## Headers | Field | Type | Required | Description | | --- | --- | --- | --- | | `Authorization` | String | Yes | Bearer token authentication | ## Request Single-line query string, country context, and parsing options. | Field | Type | Required | Description | | --- | --- | --- | --- | | `par` | Object | Yes | | | `par.iso3` | String | Yes | ISO 3166-1 alpha-3 country code | | `par.output` | String | No | Output language. Allowed values: `NAT`, `LAT`, `TRA`, `INT`, or an empty value to keep the input language | | `data` | Object | Yes | | | `data.query` | String | Yes | Free-text query containing the complete address | | `data.restrict_id` | Number | No | Identifier of the territorial restriction. Required when `restrict_level` is provided | | `data.restrict_level` | String | No | Territorial level used for the restriction. Required when `restrict_id` is provided. Allowed values: `state`, `region`, `province`, `city`, `district1` | ### Example request ```bash curl -X POST "https://api.egon.com/v4/suggest/address" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"par":{"iso3":"ITA"},"data":{"query":"Via Pacinotti 4b, Verona"}}' ``` ## Response Structured address candidates, matching confidence scores, and system status. | Field | Type | Required | Description | | --- | --- | --- | --- | | `data` | Object | No | | | `data.results` | Array | No | Array of candidate matching addresses | | `data.results.iso3` | String | No | ISO 3166-1 alpha-3 country code | | `data.results.id` | Number | No | Street identifier | | `data.results.country` | String | No | Country name | | `data.results.state` | String | No | State name | | `data.results.region` | String | No | Region name | | `data.results.province` | String | No | Province name | | `data.results.province_code` | String | No | Province code | | `data.results.city` | String | No | City name | | `data.results.district1` | String | No | First-level district name | | `data.results.district2` | String | No | Second-level district name | | `data.results.district3` | String | No | Third-level district name | | `data.results.zipcode` | String | No | Postal or ZIP code | | `data.results.street` | String | No | Street name | | `data.results.hn_num` | String | No | Numeric portion of the house number | | `data.results.hn_exp` | String | No | House-number suffix or exponent | | `system` | Object | No | System error and execution status | | `system.ret_code` | Number | No | Code: 0 no blocking error, <> 0 blocking error code | | `system.des_ret_code` | String | No | Description | ### Example responses **HTTP 200: Valid response** Structured address candidates, matching confidence scores, and system status. ```json { "data": { "results": [ { "iso3": "ITA", "id": 38000073526, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Verona", "zipcode": "37135", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000330636, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Legnago", "zipcode": "37045", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000124342, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Cerea", "zipcode": "37053", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000175587, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Pescantina", "zipcode": "37026", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000315533, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Sommacampagna", "zipcode": "37066", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000328961, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Grezzana", "zipcode": "37023", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000176130, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Bardolino", "zipcode": "37011", "street": "Vicolo Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000124647, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "San Giovanni Lupatoto", "zipcode": "37057", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38000174082, "country": "Italia", "region": "Veneto", "province": "Verona", "city": "Valeggio sul Mincio", "zipcode": "37067", "street": "Via Antonio Pacinotti", "hn_num": "4", "hn_exp": "b" }, { "iso3": "ITA", "id": 38001153169, "country": "Italia", "region": "Lombardia", "province": "Brescia", "city": "Brescia", "zipcode": "25132", "street": "Via Pacinotti", "hn_num": "4", "hn_exp": "b" } ] }, "system": { "ret_code": 0, "des_ret_code": "Ok" } } ``` **HTTP 400: Invalid token** The provided token is not valid or expired. ```json { "error": { "code": 400, "message": "Unauthenticated." } } ``` **HTTP 401: Missing token** Provide the required authentication token in the Authorization request header. ```json { "error": { "code": 401, "message": "You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. 'Authorization: Bearer {token}'). See [Egon Api documentation](https://docs.egon.com) for details." } } ``` **HTTP 422: Missing data** The request is missing the required data object. ```json { "error": { "code": 422, "message": "The data field is required. (and 1 more error)", "details": { "data": [ "The data field is required." ], "data.query": [ "The data.query field is required." ] } } } ``` **HTTP 422: Missing par or iso3** The request is missing the required par object or ISO 3166-1 alpha-3 country code. ```json { "error": { "code": 422, "message": "The par field is required. (and 1 more error)", "details": { "par": [ "The par field is required." ], "par.iso3": [ "The par.iso3 field is required." ] } } } ``` **HTTP 422: Invalid iso3** The specified ISO 3166-1 alpha-3 country code is not enabled. ```json { "error": { "code": 422, "message": "Country not enabled.", "details": { "par.iso3": [ "Country not enabled." ] } } } ``` **HTTP 422: Missing query** The request is missing the required query string. ```json { "error": { "code": 422, "message": "The data.query field is required.", "details": { "data.query": [ "The data.query field is required." ] } } } ```