Smarty · Schema

Smarty US Address Request

Input object for validating a single US street address via the Smarty US Street Address API.

Address VerificationGeocodingAddress AutocompleteZIP CodeAddress IntelligenceLocation DataInternational AddressUS Address

Properties

Name Type Description
input_id string A unique identifier for this address in your application; returned unchanged in the response.
street string The street line of the address to be verified. This can also contain the entire address (freeform).
street2 string Apartment, suite, or other secondary unit designator.
secondary string Aptartment or suite number, if present.
city string City name.
state string State name or two-letter abbreviation.
zipcode string The ZIP Code.
lastline string City, state, and ZIP Code combined.
addressee string The name of the recipient, firm, or company at this address.
urbanization string Only used with Puerto Rican addresses.
candidates integer Maximum number of valid addresses to return when the input is ambiguous.
match string The match strategy to use: strict returns only valid USPS addresses, invalid also returns non-USPS addresses, enhanced includes additional address types.
View JSON Schema on GitHub

JSON Schema

smarty-us-address-request.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://www.smarty.com/schema/us-address-request",
  "title": "Smarty US Address Request",
  "description": "Input object for validating a single US street address via the Smarty US Street Address API.",
  "type": "object",
  "properties": {
    "input_id": {
      "type": "string",
      "maxLength": 36,
      "description": "A unique identifier for this address in your application; returned unchanged in the response."
    },
    "street": {
      "type": "string",
      "maxLength": 64,
      "description": "The street line of the address to be verified. This can also contain the entire address (freeform)."
    },
    "street2": {
      "type": "string",
      "maxLength": 64,
      "description": "Apartment, suite, or other secondary unit designator."
    },
    "secondary": {
      "type": "string",
      "maxLength": 32,
      "description": "Aptartment or suite number, if present."
    },
    "city": {
      "type": "string",
      "maxLength": 64,
      "description": "City name."
    },
    "state": {
      "type": "string",
      "maxLength": 32,
      "description": "State name or two-letter abbreviation."
    },
    "zipcode": {
      "type": "string",
      "maxLength": 16,
      "description": "The ZIP Code."
    },
    "lastline": {
      "type": "string",
      "maxLength": 64,
      "description": "City, state, and ZIP Code combined."
    },
    "addressee": {
      "type": "string",
      "maxLength": 64,
      "description": "The name of the recipient, firm, or company at this address."
    },
    "urbanization": {
      "type": "string",
      "maxLength": 64,
      "description": "Only used with Puerto Rican addresses."
    },
    "candidates": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 1,
      "description": "Maximum number of valid addresses to return when the input is ambiguous."
    },
    "match": {
      "type": "string",
      "enum": ["strict", "invalid", "enhanced"],
      "default": "strict",
      "description": "The match strategy to use: strict returns only valid USPS addresses, invalid also returns non-USPS addresses, enhanced includes additional address types."
    }
  },
  "required": ["street"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/smarty-us-address-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.