Google Maps Geocoding: Address to Lat/Long & Reverse Geocoding avatar

Google Maps Geocoding: Address to Lat/Long & Reverse Geocoding

Pricing

from $0.10 / 1,000 address geocodeds

Go to Apify Store
Google Maps Geocoding: Address to Lat/Long & Reverse Geocoding

Google Maps Geocoding: Address to Lat/Long & Reverse Geocoding

Bulk geocoding with Google Maps: turn addresses, postcodes and place names into latitude and longitude coordinates, or reverse geocode GPS points into street addresses. Street, city, postal code, state, country, plus code, time zone, place ID. Export to JSON, CSV or Excel, or via API.

Pricing

from $0.10 / 1,000 address geocodeds

Rating

0.0

(0)

Developer

Steady Scrape

Steady Scrape

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Google Maps Geocoding — bulk address to latitude and longitude, and reverse geocoding

This Google Maps geocoding Actor turns lists into coordinates: paste addresses, postcodes, cities or place names and get each one's latitude and longitude with Google Maps' own formatted address, street number, street, city, postal code, state or region, country, plus code, time zone, place ID, feature ID and CID. Paste latitude, longitude pairs instead and it reverse geocodes them to the street address at each point. Or pick a dataset (a CRM export, a lead list, another Actor's results) and every item is geocoded, keeping its own fields.

US$0.10 per 1,000 addresses. No Google Cloud key, no login, no proxy to set up. A line Google cannot place, a blank line, an invalid coordinate and a repeated line are free rows. Export to JSON, CSV or Excel, or get the geocodes via API: a bulk geocoding API that reads the same answers Google Maps gives its own page.

What you can do with Google Maps geocoding

  • Geocode a CRM or lead list: one row per contact with its coordinates and a clean, Google-formatted address.
  • Clean and complete addresses: get the postcode, region and country an address lacks, and see where Google corrected the postcode you gave (corrected, correction).
  • Reverse geocode GPS points: fleet pings, photo coordinates, sensor positions or check-ins into street addresses.
  • Put points on a map: latitude and longitude for any mapping, routing or distance tool, with a Google Maps link.
  • Join by place: placeId, featureId and cid match each row to the same place in other Google Maps data.

Address to coordinates and coordinates to address

You giveExampleYou get
A street address1600 Amphitheatre Parkway, Mountain View, CA 94043its coordinates and address parts
A postcodeSW1A 2AA, United Kingdom, 75008 Paristhe postcode area's centre, resultType: postcode
A city, state or countryAustin, TX, Texas, Germanylocality, region or country results
A place or business nameFranklin Barbecue Austin, Empire State Buildingits position and address (no phone or hours)
A coordinate pair41.8781, -87.6298, (48.15; 11.5) or 48.15 11.5the street address at the point, distanceMeters from it
A point with hemispheres40.7484° N, 73.9857° W, 40°44'54.4"N 73°59'08.4"W (as Google Maps shows a point)the same as a pair
A Google Maps linka place link (read by its pin), …/maps/@40.7484,-73.9857,17z, ?q=…, a search linkthe point, or the place or text the link names

Write an address as you would in Google Maps, with its city and country, or set Country for the run: us turns a bare 10001 into 10001, United States (the New York postcode) and Springfield into the city instead of a museum. Leave it empty for lists that span countries. An address on two lines, or a spreadsheet row pasted with its tabs, is read with commas between its parts. A maps.app.goo.gl share link alone is a free row (open it and copy the address); with the text the share button copies around it, that text is geocoded.

Over the API a line can also be a number (10001) or an object with address fields or lat/lng; latlngs, records, region and maxResults (as other geocoders name them) are read too, and language and country take any case (EN, en_US, UK).

From a dataset, each item's address is found by name: a full-address field (address, fullAddress, formattedAddress…), or its street, city, state, zip and country fields joined, or lat/lng (also inside a location object) for reverse geocoding. Name the field yourself (contact.fullAddress) when the item has another shape. Every row keeps the whole item in item, so nothing of your list is lost.

Input example

{
"addresses": [
"1600 Amphitheatre Parkway, Mountain View, CA 94043",
"Friedrichstraße 43, 10117 Berlin",
"10 Downing Street, London",
"41.8781, -87.6298"
],
"language": "en"
}

or, for a dataset:

{ "datasetId": "<your dataset id>", "addressField": "", "country": "us" }

Output example

One row per input, in the order given (shortened):

{
"input": "Friedrichstraße 43, 10117 Berlin",
"mode": "forward",
"status": "ok",
"charged": true,
"latitude": 52.506866099999996,
"longitude": 13.390727499999999,
"formattedAddress": "Friedrichstraße 43, 10969 Berlin-Bezirk Friedrichshain-Kreuzberg, Germany",
"streetAddress": "Friedrichstraße 43",
"streetNumber": "43",
"streetName": "Friedrichstraße",
"neighborhood": "Friedrichshain-Kreuzberg",
"locality": "Berlin",
"postalCode": "10969",
"countryCode": "DE",
"resultType": "address",
"googleType": "subpremise",
"plusCode": "9F4MG94R+P7",
"plusCodeCompound": "G94R+P7 Berlin, Germany",
"timeZone": "Europe/Berlin",
"placeId": "ChIJp3ULWdFRqEcRerYcEbJRe3M",
"featureId": "0x47a851d1590b75a7:0x737b51b2111cb67a",
"cid": "8321334561730246266",
"mapsUrl": "https://www.google.com/maps/search/?api=1&query=52.506866%2C13.390727&query_place_id=ChIJp3ULWdFRqEcRerYcEbJRe3M",
"corrected": true,
"correction": "postal code 10117 → 10969",
"candidates": 1
}

A reverse geocoded point (41.8781, -87.6298) comes back as 230 S Dearborn St, Chicago, IL 60604, mode: reverse, distanceMeters: 43 and the plus code of the point given, 86HJV9HC+63P.

Geocoding output fields

fieldwhat it is
input, source, datasetItemIndex, itemthe line or dataset item as given, and where it came from
modeforward (address to coordinates) or reverse (coordinates to address)
querythe text sent to Google Maps (with the country added when you set one)
status, reasonok, or why there is no result: not_found, invalid, blank, blocked
charged, duplicatewhether the row was paid for; a repeated input is a free copy of the first
latitude, longitudewhere Google Maps puts the result
formattedAddress, namethe address as Google writes it, and the result's name (a building or business name when it has one)
streetAddress, streetNumber, streetNamethe street line and its parts
neighborhood, locality, postalCode, region, countryCodethe address parts (countryCode is ISO 3166, e.g. US)
resultTypeaddress, building, street, postcode, locality, region, country or place (a business or landmark)
googleTypeGoogle's own type, e.g. subpremise, postal_code, us_state, barbecue_restaurant
plusCode, plusCodeCompoundthe global plus code and its short form with the place name (from the coordinates when Google gives none)
timeZonethe IANA time zone, e.g. America/Chicago
placeId, featureId, cidGoogle's identifiers of the result
mapsUrla Google Maps link to the result
corrected, correctionGoogle answered another postcode than the input gave, e.g. postal code 10117 → 10969
candidateshow many results Google listed: 1 for an address, up to 5 for a text that reads as a search
distanceMetersreverse only: metres between the point given and the address found
scrapedAtwhen the run geocoded it (UTC, ISO 8601)

This Actor gives the location, not the business. For a place's phone, website, rating, reviews and opening hours, use our Google Maps Place Details Scraper (place IDs in, the full panel out) or our Google Maps Scraper (every place of a search in an area).

Pricing

eventprice
address — one input geocoded, either wayUS$0.0001 (US$0.10 per 1,000)
run start (Apify's apify-actor-start)US$0.00005

Rows that cannot be placed, blank lines, invalid coordinates, repeats and blocked rows are free. Your run's spending limit is respected: the run stops at the last address it pays for and says so.

When Google asks for verification

The Actor reads Google Maps' public answers at a moderate pace (two lookups at once, each sending at most one request every 0.7 seconds). If Google asks an IP for verification — its "unusual traffic" page, a CAPTCHA, a JavaScript check, or any answer that is not Google Maps' normal data — that IP is done for the run: nothing more is sent from it, and the run goes on from another IP of Apify's datacenter proxy. It never solves, bypasses or replays a challenge. When every IP the run can use has been refused, the rows left are free blocked rows, and the run still finishes cleanly with what it geocoded.

Limits

  • Up to 100,000 rows per run (lines and dataset items together). The run geocodes up to about 2.8 addresses a second (10,000 in about an hour); a point takes two requests (the address at the point, then the lookup that completes its postcode and country), so points go at about half that speed. The default timeout of 12 hours covers 100,000 addresses; a run near its timeout stops starting lookups and finishes cleanly, saying which rows were left.
  • Results are Google Maps' results, not an official Geocoding API's: a text that reads as a search (pizza Austin) gives its first result and candidates: 5. A business Google offers for a text it cannot place, one that carries none of the text's words, is a free not_found row, not a guess you pay for.
  • Google leaves the country out of formattedAddress when it is the run's country (countryCode is always there).
  • A point at sea or in a desert names no address: a free not_found row.
  • No phone, website, rating, reviews or hours (the Actors above do those).

It reads public Google Maps data — addresses and coordinates that anyone sees on the map — without logging in. The addresses you geocode may be personal data (a customer's home address): handle them and the results as the laws that apply to you require (for example GDPR), and use the data in line with Google's terms.

This Actor is not affiliated with, endorsed by or sponsored by Google. Google and Google Maps are trademarks of Google LLC.