Autocomplete US ZIP Code
sthan_autocomplete_zipcodeAutocomplete US ZIP codes from partial input. Returns matching ZIP codes with state and optional ZIP+4 for type-ahead fields.
Instructions
Return a list of US ZIP code suggestions for partial input, each with state (and optionally ZIP+4). Use for ZIP-field type-ahead or to expand a partial ZIP. For city suggestions use sthan_autocomplete_city; for full addresses use sthan_autocomplete_address. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Partial ZIP code. Example: '9021' | |
| display_type | No | 0 = Zip,StateCode. 1 = Zip,State. 2 = Zip-Zip4,StateCode. 3 = Zip-Zip4,State |