Parse US Address
sthan_parse_addressParses messy US address text into structured components like street, city, state, and ZIP code. Converts freeform input into individual fields for database or form use.
Instructions
Break a freeform US address string into structured components: address number, street name, pre/post directionals, street type, unit type and number, city, state, ZIP, and ZIP+4. Use when you have messy or unstructured US address text and need the individual fields. This parses and standardizes only; it does not confirm the address is deliverable (use sthan_verify_address) and does not return coordinates (use sthan_geocode). Read-only with no side effects. Requires a sthan.io API key in STHAN_API_KEY; each call counts toward your plan's rate limit (a free tier is available). On failure it returns an error message, for example an invalid API key or an exceeded rate limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Raw address text to parse. Freeform input, abbreviations OK. Example: 'apt 2b 500 broadway new york ny' |