Lob Verify Address
lob_verify_addressVerify a single US address for deliverability and return USPS-standardized/corrected components (ZIP+4, DPV codes, county, lat/lon). Pass structured components (primary_line, city, state, zip_code) OR a single freeform address string — not both. Example: lob_verify_address({ primary_line: "185 Berry St", secondary_line: "Ste 6100", city: "San Francisco", state: "CA", zip_code: "94107", _apiKey: "your-key" }) or lob_verify_address({ address: "185 Berry St Ste 6100 San Francisco CA 94107", _apiKey: "your-key" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name, e.g. "San Francisco". | |
| state | No | Two-letter state code, e.g. "CA". | |
| _apiKey | Yes | Your Lob API key (sign up at https://dashboard.lob.com/). | |
| address | No | Full single-line address, e.g. "185 Berry St San Francisco CA 94107". Use this OR the component fields, not both. | |
| zip_code | No | ZIP or ZIP+4, e.g. "94107". | |
| primary_line | No | Primary street address line, e.g. "185 Berry St". | |
| secondary_line | No | Secondary line (apt/suite/unit), e.g. "Ste 6100". Optional. |