> ## Documentation Index
> Fetch the complete documentation index at: https://developer.zamp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Validating US-Addresses

> A built-in address validator for US-based addresses, directly in your platform.

# Overview

Zamp leverages the power of address validation platform, [Smarty](https://www.smarty.com/?v2), to validate addresses in the United States.

## Endpoints Used

```text theme={null}
POST /addresses
```

## Validating Customer Address Example

Operate an Accounting Platform? Give users the power to validate an address in real-time when creating a new customer.

### Valid Address

If `validatedAddress` is <u>NOT</u> `null`, inform the user that the address is valid.

<video src="https://mintcdn.com/zamp/npjFTXHqaOFFjXlk/videos/Quick-Address-Validation-Recording-Cropped-1.mp4?fit=max&auto=format&n=npjFTXHqaOFFjXlk&q=85&s=b5e1863eb7fc75d2e6b3f4d17c2be116" controls data-path="videos/Quick-Address-Validation-Recording-Cropped-1.mp4" />

### Invalid Address

If `validatedAddress` is `null`, inform the user that the address is not valid.

<video src="https://mintcdn.com/zamp/npjFTXHqaOFFjXlk/videos/Quick-Invalid-Address-Validation-Recording-Cropped-1.mp4?fit=max&auto=format&n=npjFTXHqaOFFjXlk&q=85&s=9fcea9b11465f7fb0298755321f140c4" controls data-path="videos/Quick-Invalid-Address-Validation-Recording-Cropped-1.mp4" />
