Skip to main content

Add address verification in a few lines

Integration guides, client libraries, and a complete REST API reference for US and international address lookup, autocomplete, and verification.

Search the docs⌘K
index.jsJAVASCRIPT
// Add autocomplete to any form
import { AddressLookup } from "@addresszen/address-lookup";
 
AddressLookup.setup(({
apiKey: "ak_test",
outputFields: {
line_1: "#line_1",
city: "#city",
state: "#state",
zip_plus_4_code: "#zip",
},
});
VERIFIED · DELIVERABLE · 38MS
Migration

Switching from Google?

You can do better than best-guess data. Pick the path that fits how you collect addresses.

Use Address Lookup

Add address autocomplete to your forms. Users type, see suggestions, and select — just like Google Places.

Address Lookup Guide

Use Verification

Verify and standardize complete addresses you already have. Perfect for cleaning databases or validating input.

Verification Guide

Migration Guide

Step-by-step instructions to replace Google Places Autocomplete. Minimal code changes required.

Switch from Google
Type → Select → Result

How it works

form.html
<form>
<label for="line_1">Address</label>
<input id="line_1" />
<input id="city" />
<input id="state" />
<input id="zip" />
</form>
01

Build your form

Give each address field a unique id so lookup can map results into it.

02

Initialize & map fields

Call setup() with your API key and map each output field to a form input by id.

03

Users select an address

Suggestions appear as they type. On selection, every mapped field is populated automatically.

Add address lookup to any form or system

SimpleFast

Platform Integration

Add address verification to an eCommerce site, CRM, or any other platform with little or no code.

All Integrations
CustomizableJS

Drop-in JavaScript

Add our JavaScript libraries to bring address lookup to your forms in moments.

Address Lookup
PowerfulJSON API

API Access

Use our address APIs and client libraries to verify, search, and cleanse addresses across many use cases.

API Reference

Stuck? We're here.

Reach out any time. Our team helps you go from first request to verified addresses fast.

Contact Support