Use SmartyStreets (Smarty) US Street Address API to validate and standardize addresses and extract ZIP+4 before carrier label purchase

domain: smarty.com · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Sign up for a Smarty account and obtain an auth-id and auth-token from the dashboard; free tier allows a limited number of lookups per month
  2. Send a GET or POST request to /street-address with street, city, state, zipcode, and candidates=1 as query or JSON body parameters
  3. On a successful match, read the components object for parsed street number, street name, city, state, zip code, and plus4_code fields
  4. Read dpv_match_code in the analysis object: Y = confirmed deliverable, S = secondary info missing, D = default match, N = no match
  5. Reject or flag addresses where dpv_match_code is N or where dpv_vacant is Y (vacant address) before purchasing a label
  6. Use the standardized output address to populate the carrier API shipment request to reduce address correction surcharges

Known gotchas

Related routes

Use the USPS Addresses v3 API to standardize and validate a US address and look up ZIP+4
developers.usps.com · 5 steps · unrated
Validate and standardize US addresses using the USPS APIs v3
developers.usps.com · 6 steps · unrated
Validate a US address and calculate domestic postage rates using the USPS APIs v3 platform
developers.usps.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp