reviews Get a Maps Demo Key: Try out select Maps JavaScript API and Places UI Kit features at no cost with a Maps Demo Key—no billing information required.
Get started
Stay organized with collections
Save and categorize content based on your preferences.
European Economic Area (EEA) developers
Follow these steps to get set up with Address Validation in Maps JavaScript API.
Get an API key and enable the Maps JavaScript API
Before using Address Validation in Maps JavaScript API, you need a Cloud
project with a billing account, and both the Maps JavaScript API
and Address Validation APIenabled. To learn more, see
Set up your Google Cloud project.
Get an API key
Enable the Maps JavaScript API
Enable the Address Validation API
Update your map initialization code
Load the Maps JavaScript API.
Load the Address Validation in Maps JavaScript API library from within an
async function when needed:
const {AddressValidation} = await google.maps.importLibrary('addressValidation');
Next steps
Validate an address
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-31 UTC.
[null,null,["Last updated 2026-03-31 UTC."],[],[]]