AI-generated Key Takeaways
-
Google Maps Platform utilizes a variety of domains, including
maps.googleapis.com
for core services andkhm.google.com
for satellite imagery. -
When configuring firewalls, ensure access to domains like
maps.gstatic.com
for static assets andclients4.google.com
for mobile SDKs. -
Individual Google Maps Platform web services like the Geocoding API and Directions API primarily use
maps.googleapis.com
, while others use their specific service name followed by.googleapis.com
. -
This domain list is subject to change, and it is recommended to review it every 2 months for updates to maintain proper functionality.
This is a list of all domains that are used by Google Maps Platform when Maps components are loaded. Use this list to help set up your firewall configuration, if your Internet access is filtered by a per-domain policy.
Maps JavaScript API
The Maps JavaScript API bootstrap and services (geocoding, driving directions, elevation, KML, some tiles) use the following hostnames:
- maps.googleapis.com
- mapsresources-pa.googleapis.com
You may also need to update your Content Security Policy so that XHR calls to this domain are authorized. For more information, see the FAQ.
Static dependencies:
- maps.gstatic.com
- fonts.gstatic.com
Map tiles and traffic tiles:
- maps.googleapis.com
- mapsresources-pa.googleapis.com
Aerial tiles:
- khmdb0.google.com
- khmdb0.googleapis.com
- khmdb1.google.com
- khmdb1.googleapis.com
Satellite tiles:
- khm.google.com
- khm.googleapis.com
- khm0.google.com
- khm0.googleapis.com
- khm1.google.com
- khm1.googleapis.com
- khms0.google.com
- khms0.googleapis.com
- khms1.google.com
- khms1.googleapis.com
- khms2.google.com
- khms2.googleapis.com
- khms3.google.com
- khms3.googleapis.com
3D tiles:
- keyhole-pa.googleapis.com
Additional hostnames
You may also see the Maps JavaScript API access the following hostnames:
- googleapis.l.google.com
- clients.l.google.com
- maps.l.google.com
- mt.l.google.com
- khm.l.google.com
- csi.gstatic.com
- geo0.ggpht.com
- geo1.ggpht.com
- geo2.ggpht.com
- geo3.ggpht.com
- lh3.ggpht.com
- lh4.ggpht.com
- lh5.ggpht.com
- lh6.ggpht.com
- cbks0.google.com
- cbks0.googleapis.com
- cbks1.google.com
- cbks1.googleapis.com
- cbks2.google.com
- cbks2.googleapis.com
- cbks3.google.com
- cbks3.googleapis.com
- lh3.googleusercontent.com
- lh4.googleusercontent.com
- lh5.googleusercontent.com
- lh6.googleusercontent.com
- streetviewpixels-pa.googleapis.com
- fonts.googleapis.com
- mapsresources-pa.googleapis.com
Google Maps Platform Web Services
The Geocoding API, the Directions API (Legacy), the Elevation API, the Distance Matrix API (Legacy), the Maps Static API, the Street View Static API, and the Time Zone API use this hostname:
- maps.googleapis.com
The Address Validation API uses this hostname:
- addressvalidation.googleapis.com
The Aerial View API uses this hostname:
- aerialview.googleapis.com
The Air Quality API uses this hostname:
- airquality.googleapis.com
The Geolocation API uses this hostname:
- www.googleapis.com
The Places API (New) uses this hostname:
- places.googleapis.com
The Places Aggregate API uses this hostname:
- areainsights.googleapis.com
The Pollen API uses this hostname:
- pollen.googleapis.com
The Roads API uses this hostname:
- roads.googleapis.com
The Routes API uses this hostname:
- routes.googleapis.com
The Route Optimization API uses this hostname:
- routeoptimization.googleapis.com
The Solar API uses this hostname:
- solar.googleapis.com
The Map Tiles API uses this hostname:
- tile.googleapis.com
The Maps Datasets API uses this hostname:
- mapsplatformdatasets.googleapis.com
The Weather API uses this hostname:
- weather.googleapis.com
For other services, refer to the developer documentation. However, as a general rule, services use the following hostname:
- servicename.googleapis.com
Additional web service hostnames
You may also see the Places API access the following hostnames:
- geo0.ggpht.com
- geo1.ggpht.com
- geo2.ggpht.com
- geo3.ggpht.com
- lh3.ggpht.com
- lh4.ggpht.com
- lh5.ggpht.com
- lh6.ggpht.com
- cbks0.google.com
- cbks0.googleapis.com
- cbks1.google.com
- cbks1.googleapis.com
- cbks2.google.com
- cbks2.googleapis.com
- cbks3.google.com
- cbks3.googleapis.com
- lh3.googleusercontent.com
- lh4.googleusercontent.com
- lh5.googleusercontent.com
- lh6.googleusercontent.com
Maps Android and iOS SDKs
The Maps SDK for Android and Maps SDK for iOS use these hostnames:
- clients4.google.com
- www.google.com
- csi.gstatic.com
Places Android and iOS SDKs
The Places SDK for Android and Places SDK for iOS use these hostnames:
- clients4.google.com
- www.google.com
- csi.gstatic.com
- geo0.ggpht.com
- geo1.ggpht.com
- geo2.ggpht.com
- geo3.ggpht.com
- lh3.ggpht.com
- lh4.ggpht.com
- lh5.ggpht.com
- lh6.ggpht.com
- cbks0.google.com
- cbks0.googleapis.com
- cbks1.google.com
- cbks1.googleapis.com
- cbks2.google.com
- cbks2.googleapis.com
- cbks3.google.com
- cbks3.googleapis.com
- lh3.googleusercontent.com
- lh4.googleusercontent.com
- lh5.googleusercontent.com
- lh6.googleusercontent.com