normalize_address
Normalize messy address strings into structured components and geocoded coordinates for data quality and deduplication.
Instructions
Normalize and standardize a messy or inconsistently formatted address string.
Returns: { formatted_address, street, housenumber, city, postcode, country, country_code, lat, lon }.
WHEN TO USE: When cleaning user-submitted data, deduplicating a CRM, or standardizing addresses before batch processing. Also geocodes the address as a side-effect (lat/lon included).
DO NOT USE: If you just need coordinates — use geocode instead. normalize_address is for data quality, not navigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Raw address string to normalize. Can be incomplete, abbreviated, or poorly formatted. | |
| countries | No | ISO country codes to bias normalization. Strongly recommended for ambiguous inputs. |