Places UI Kit: A ready-to-use library that provides room for customization and low-code development. Try it out, and share yourinput on your UI Kit experience.

Get started

European Economic Area (EEA) developers If your billing address is in the European Economic Area, effective on 8 July 2025, the Google Maps Platform EEA Terms of Service will apply to your use of the Services. Functionality varies by region.Learn more.

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 Cloudproject with a billing account, and both the Maps JavaScript APIand Address Validation APIenabled. To learn more, seeSet up your Google Cloud project.

Get an API key

Enable the Maps JavaScript API

Enable the Address Validation API

Update your map initialization code

  1. Load the Maps JavaScript API.

  2. Load the Address Validation in Maps JavaScript API library from within anasync function when needed:

    const{AddressValidation}=awaitgoogle.maps.importLibrary('addressValidation');

Next steps

Validate an address

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.