Enrichments /
Google Maps
No-Code Enrichment with
Google Maps
No code location data at big data scale, using Google Maps Places API and the Gigasheet Custom Enrichment.
Sign Up Free

Google Maps API for Places

The Google Maps Platform contains a wealth of location information that allows you access to real world data and insights with maps, routes and places APIs. It can all be accessed via API and then used to create real-time experiences for your users. In this case, we are going to use the API responses to enrich our data.

This assumes you have set up a Google Cloud project (instructions here) and enabled billing. Once signed up, you will receive an API key. 

Google Maps Places API docs
Google Maps Places API cURL request

Provider Website: https://developers.google.com/maps

Provider Enrichment Docs: https://developers.google.com/maps/documentation/places/web-service/search-find-place

Endpoint: https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Museum%20of%20Contemporary%20Art%20Australia&inputtype=textquery&fields=formatted_address%2Cname%2Crating%2Copening_hours%2Cgeometry&key=YOUR_API_KEY'

Token / Registration Required: Yes

Step 1. In Gigasheet, head to the Enrichments function and select Custom Enrichment. First we paste in the cURL request from the Google Maps Platform Places APIdocs. Be sure your request starts with cURL by using the tabs at the top to select cURL. Next, replace "YOUR_API_KEY" with your token from the Google Maps Platform portal.

Paste the Google Maps Places API into Gigasheet

Step 2. On the next screen we’ll insert the column variable from our Gigasheet sheet for the address. In this case, we highlight the input, Museum of Contemporary Art Australia” text in the input (%20 are escape characters for spaces), and then select our Address column and click +Insert Column Reference. Then click Next.

Customize the Google Maps Places API request

The final customized the Google Maps Places API

Step 3. In this screen we see a preview of the results. Gigasheet makes requests for the first three rows and shows the Google Maps Platform Places API response. At this point select the fields you want to be inserted into your sheet. We recommend hitting Select All because you can always delete columns later.

 

A preview of the response from the Customize the Google Maps Places API

Step 4. Finally, confirm the number of requests is to your liking, and when ready click Run to kickoff the custom enrichment process. It’s ok to leave or close the sheet; the custom enrichment will keep running and you’ll receive an email once the job has been completed. You can monitor the progress of your enrichment, or cancel the job at the top of the sheet. 

Confirm the number of rows to run the Customize the Google Maps Places API

Step 5. Once completed, Gigasheet will send a completion toast and refresh the page. The result will show generation of new columns based on the Google Maps Platform Places API. 

Data enriched with the Customize the Google Maps Places API

Here is the latitude and longitude of each of my addresses

Latitude and Longitude from the Customize the Google Maps Places API

Try it Out

The ease of a spreadsheet with the power of a database, at cloud scale.

No Code
No Database
No Training
Sign Up, Free Forever