Google Maps Geocoding API Documentation
The Google Maps Geocoding API provides a way for you to request the geographic coordinates (latitude and longitude) of a street address. The service is available via HTTP Interface as well as JavaScript SDK. This API can be used in any application that is looking to geocode addresses for placement of content on a map or display a physical location on a map, and is suitable for applications that use structured input or free-form search strings with complete or partial address information. To enable the Geocoding service, first set up a project with a billing account and configure it to include the Google Maps Platform products you want to use in your application. Then, in your Cloud Console, go to APIs & Services - Dashboard - Enable APIs & Services and select Maps JavaScript API from the list of available APIs. You can also configure the service to prioritize forward geocode results that are in a specific language, by using the Accept-Langyage query parameter as described below