canonical: https://jentic.com/apis/smarty.com

# Smarty APIs

Smarty provides US address APIs for autocompleting addresses as users type, extracting and standardizing addresses from unstructured text, and looking up ZIP code data such as city, state, county, timezone, and coordinates. The APIs share a single Smarty API key and return structured JSON, so agents can validate and enrich US location data across a single pipeline.

## For AI agents

An agent can autocomplete a partial US address, pull structured addresses out of free text, and resolve ZIP codes to city, state, county, timezone, and coordinate metadata. Combined, these let an agent clean and enrich location data end to end without writing per-endpoint HTTP code.

## Scope

Use for: Capturing, parsing, and validating US postal addresses and ZIP code data through autocomplete, text extraction, and lookup

Not supported:
- international addresses
- payments
- email or messaging
- crm records
- geocoding routing

## APIs

| API | Category | Endpoints | Description |
| --- | --- | --- | --- |
| Smarty US ZipCode API | developer-tools | 2 | Programmatically batch zip code lookup, single zip code lookup. |
| US Autocomplete Pro API | data-enrichment | 1 | Programmatically autocomplete address. |
| US Extract API | developer-tools | 1 | Programmatically extract addresses from text. |

## Which API to use

| Need | API | Why |
| --- | --- | --- |
| Suggest complete US addresses as a user types a partial address | us-autocomplete | Returns ranked address suggestions from partial input for form entry and validation |
| Pull one or more addresses out of a block of free text | us-extract | Parses unstructured text and returns USPS-standardized address data |
| Resolve a ZIP code to city, state, county, timezone, and coordinates | us-zipcode | Validates single or batched ZIP codes and returns associated location metadata |

## Cross-API use cases

### Extract and validate addresses from documents

An agent pulls addresses out of a block of free text, then resolves each ZIP code to its city, state, county, and coordinates to confirm the extracted address is internally consistent before storing it.

Example prompt: Call us-extract on the raw text, then for each returned address look up its ZIP code with us-zipcode and flag mismatches

### Capture and enrich address form entries

As a user types, the agent suggests complete US addresses, then enriches the chosen address with ZIP code metadata such as county and timezone to populate downstream fields.

Example prompt: Call us-autocomplete on the partial input, then pass the selected address ZIP to us-zipcode to fill county, timezone, and coordinates

### Normalize inbound address text into clean records

The agent extracts addresses from incoming messages or notes and, where only a partial address was found, uses autocomplete to complete it into a standardized form for a clean record.

Example prompt: Run us-extract on the inbound text, then feed any partial results to us-autocomplete to produce a completed, standardized address

## Why Jentic

- **Setup:** Wiring the Smarty APIs by hand means passing the auth key on the query string against three separate base hosts and managing retries yourself. Through Jentic you install once, add the Smarty APIs you need from the Jentic directory, store the key once, and your agent calls all three.
- **Permission scoping:** Each Smarty API exposes a small set of lookup, extract, or autocomplete operations. With your own rules you choose which of those operations the agent may call, so an agent granted only ZIP code lookup cannot run extraction or autocomplete unless you add them.
- **Credential handling:** Your Smarty API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context, and the same key is reused across all three APIs.
- **Discovery method:** Agents search the Jentic directory by intent, such as extract addresses from text or look up a ZIP code, and Jentic returns the matching Smarty operation with its input schema so the agent calls the right endpoint across the portfolio without browsing docs.

## Related vendors

- **USPS** — Official US address standardization and ZIP code data
- **Melissa** — Address verification and autocomplete for US and international data
- **Loqate** — Address capture, verification, and autocomplete APIs
- **Google Maps Platform** — Places autocomplete and geocoding as a broader address alternative

## FAQ

### What can an AI agent do across the Smarty APIs?

An agent can autocomplete a partial US address, extract standardized addresses from free text, and look up ZIP code metadata such as city, state, county, timezone, and coordinates. Chained together, these let the agent capture, parse, and validate US location data in one workflow.

### Do the Smarty APIs share one credential?

Yes. The autocomplete, extract, and ZIP code APIs all authenticate with the same Smarty API key passed as query parameters, so you configure one credential to reach all three.

### Which Smarty API should I use for a given task?

Use the US Autocomplete Pro API to suggest complete addresses from partial input, the US Extract API to pull addresses out of free text, and the US ZipCode API to resolve ZIP codes to location metadata. Many workflows chain two of them, such as extracting an address then validating its ZIP code.

### Do the Smarty APIs cover addresses outside the United States?

No. These APIs are scoped to US addresses and US ZIP codes. For international address handling you would need a different provider.

### What response format do the Smarty APIs return?

All three return structured JSON that an agent can parse and act on directly, so results from one call can be fed into the next without custom formatting.

### How do agents find the right Smarty operation?

Agents search the Jentic directory by intent, such as autocomplete a US address or look up a ZIP code, and receive the matching operation with its input schema, so the agent calls the correct endpoint without reading the reference docs.
