# Zapier — Smarty Integrations
> zapier.com/apps/smarty/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Identity
Smarty is a fast, accurate platform to validate, standardize, and enrich US and international mailing addresses.

- App slug: smarty
- Operations published here: 4 (1 function, 3 queries)

## Authentication
Zapier connects to Smarty via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection smarty
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/smarty/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor / VS Code / generic `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; terminal auto-installer `npx @zapier/install-zapier`.
  - After sign-in: call `discover_zapier_actions` for `smarty`, then `enable_zapier_action`. If Smarty isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · us_street_address_batch`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "smarty", owner: "me" });

const { data } = await zapier.runAction({
  app: "smarty",
  actionType: "write",
  action: "us_street_address_batch",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action smarty write us_street_address_batch \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing Smarty's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "smarty" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions smarty --page-size 50 --max-items 200 --json
```

### Functions (1)

Functions change something in Smarty.

#### Validate US Street Addresses (Batch)
Validates up to 100 US addresses in a single request.

- Type: write · Key: `us_street_address_batch`
- Requires: key_id, street
- Optional: input_id, street2, secondary, city, state, zipcode, lastline, addressee, urbanization, candidates, format, county_source, features
- SDK: `runAction({ app: "smarty", actionType: "write", action: "us_street_address_batch" })`
- CLI: `npx zapier-sdk run-action smarty write us_street_address_batch`

### Queries (3)

Queries read from Smarty and return data. They change nothing.

#### Verify International Street Address
Verifies and standardizes a non-US street address.

- Type: search · Key: `international_street`
- Requires: key_id, country
- Optional: input_id, freeform, address1, address2, address3, address4, organization, locality, administrative_area, postal_code, geocode, language, features
- SDK: `runAction({ app: "smarty", actionType: "search", action: "international_street" })`
- CLI: `npx zapier-sdk run-action smarty search international_street`

#### Enrich US Address
Appends property, geo-reference, secondary, or business data to a US address.

- Type: search · Key: `us_enrichment`
- Requires: key_id, dataset
- Optional: include, exclude, features, etag
- SDK: `runAction({ app: "smarty", actionType: "search", action: "us_enrichment" })`
- CLI: `npx zapier-sdk run-action smarty search us_enrichment`

#### Validate US Street Address
Validates and standardizes a single US mailing address.

- Type: search · Key: `us_street_address`
- Requires: key_id, street
- Optional: input_id, street2, secondary, city, state, zipcode, lastline, addressee, urbanization, candidates, format, county_source, features
- SDK: `runAction({ app: "smarty", actionType: "search", action: "us_street_address" })`
- CLI: `npx zapier-sdk run-action smarty search us_street_address`

## Popular integrations
- [Smarty + Facebook Lead Ads](zapier.com/apps/smarty/integrations/facebook-lead-ads.md)
- [Smarty + Google Sheets](zapier.com/apps/smarty/integrations/google-sheets.md)
- [Smarty + Google Forms](zapier.com/apps/smarty/integrations/google-forms.md)
- [Smarty + Airtable](zapier.com/apps/smarty/integrations/airtable.md)
- [Smarty + Salesforce](zapier.com/apps/smarty/integrations/salesforce.md)
- [Smarty + ActiveCampaign](zapier.com/apps/smarty/integrations/activecampaign.md)
- [Smarty + WPForms](zapier.com/apps/smarty/integrations/wpforms.md)
- [Smarty + ClickFunnels Classic](zapier.com/apps/smarty/integrations/clickfunnels-classic.md)
- [Smarty + Elfsight Forms](zapier.com/apps/smarty/integrations/elfsight-forms.md)
- [Smarty + SalesRabbit](zapier.com/apps/smarty/integrations/salesrabbit.md)

## Links
- Full app page: zapier.com/apps/smarty/integrations
- SDK: npmjs.com/package/@zapier/zapier-sdk
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md