How to scrape Google Maps places, details and reviews
Search Google Maps places, get phone, website and opening hours, and download every review as JSON. Python, JavaScript and curl code, costs and tips.
· 6 min read
Google Maps is the largest directory of local businesses in the world. Every restaurant, dentist, plumber, hotel and shop that wants to be found keeps its listing up to date: name, category, address, phone, website, opening hours, and hundreds or thousands of reviews written by customers. That makes it the first source for lead lists, market sizing, store location studies, competitor monitoring and review analysis.
Google offers the Places API for this, but it is built for showing places on a map inside an app, not for collecting data: you pay per field group, reviews are limited to five per place, and you need a Google Cloud project with billing turned on. Scraping the Maps website yourself is worse: it is a heavy JavaScript application that changes often and blocks automated traffic quickly.
This guide shows how to get the same public data with plain HTTP calls: search places, read their full details, and download every review, with code in curl, Python and JavaScript.
The four Maps endpoints
The Google Maps API of ScrapeCrate has four endpoints under https://api.scrapecrate.com/v1/maps:
| Endpoint | What it returns |
|---|---|
GET /places/search | Places matching a query, up to 20 per call |
GET /places/{place_id} | Full details of one place |
GET /places/{place_id}/reviews | Reviews of a place, up to 20 per call |
GET /places/resolve | The place IDs behind a Maps URL, short link, CID or feature ID |
Every call costs 3 credits and only successful calls are billed. The response has the same envelope as every other API: data, pagination (next_cursor, has_more) and meta (request_id, credits_used, credits_remaining).
Searching places
Search works like the search box of Google Maps: write what you want and where, for example dentist in Berlin or pizzeria in Milan.
curl "https://api.scrapecrate.com/v1/maps/places/search?q=dentist%20in%20Berlin&language=en®ion=de&limit=20" \
-H "X-API-Key: YOUR_API_KEY"Each result already carries the fields most projects need:
| Field | What it is |
|---|---|
id | The Google place ID, used by the other endpoints |
name, primary_category, categories | Name and Google's categories |
address | formatted, city and country_code |
location | lat and lng |
rating, review_count | Average stars and number of reviews |
phone, website | Contact details, when the business published them |
status | For example operational |
language sets the language of names and categories (default en) and region is a two-letter country code that biases the results (default us). To search around an exact point, add lat, lng and radius_km:
curl "https://api.scrapecrate.com/v1/maps/places/search?q=coffee&lat=52.52&lng=13.405&radius_km=2" \
-H "X-API-Key: YOUR_API_KEY"Getting more than 20 results
Google shows a limited number of places for one query, about 20 at a time. When more exist, the response says has_more: true and gives next_cursor. Pass it back as cursor with the same other parameters. The SDKs follow the cursor for you:
import csv
from scrapecrate import ScrapeCrate
client = ScrapeCrate(api_key="YOUR_API_KEY")
with open("dentists-berlin.csv", "w", newline="", encoding="utf-8") as f:
writer = csv.writer(f)
writer.writerow(["id", "name", "category", "address", "phone", "website", "rating", "reviews"])
for p in client.maps.iterate("places_search", q="dentist in Berlin", region="de"):
writer.writerow([p["id"], p["name"], p["primary_category"], p["address"]["formatted"],
p.get("phone"), p.get("website"), p.get("rating"), p.get("review_count")])A single query rarely covers a whole city. The reliable way to cover a large area is to split it: one query per district (dentist in Kreuzberg, dentist in Mitte...) or a grid of lat/lng points with a small radius_km, then remove duplicates by id. The place ID is stable, so it is the right key for deduplication and for updating your data later.
Place details: hours, attributes, photos
The search result is enough for a list. When you need everything about one place, call the details endpoint with its id:
curl "https://api.scrapecrate.com/v1/maps/places/ChIJ2eUgeAK6j4ARbn5u_wAGqWA" \
-H "X-API-Key: YOUR_API_KEY"On top of the search fields you get the cid, the full address with street and postal_code, the timezone, opening_hours.weekly (day, open, close), attributes grouped the way Google shows them (for example "Service options": ["Dine-in", "Takeaway"]) and photos with url, width and height.
If you start from a link someone pasted, such as a maps.app.goo.gl short link, a Maps URL or a CID, turn it into a place ID first with GET /v1/maps/places/resolve?input=....
Scraping Google Maps reviews
Reviews are where Maps gets really valuable. The reviews endpoint returns up to 20 reviews per call:
curl "https://api.scrapecrate.com/v1/maps/places/ChIJ2eUgeAK6j4ARbn5u_wAGqWA/reviews?sort=newest&language=en" \
-H "X-API-Key: YOUR_API_KEY"sort is relevant (Google's default order), newest, highest or lowest. Each review has id, rating, published_at, language, text, translated_text (translated into the language you asked for), author (id, review_count, is_local_guide) and owner_response with its text and published_at when the business answered.
Use sort=newest for monitoring: store the newest published_at you have and stop paginating when you reach it. Use lowest to read complaints first: it is the fastest way to learn what customers of a category dislike.
What it costs
Every Maps call is 3 credits, $0.003 at the list price, whatever it returns. Some examples:
1,000 places from searches: 50 pages, 150 credits.
Full details of those 1,000 places: 3,000 credits.
2,000 reviews of one hotel: 100 pages, 300 credits.
The free allowance of 100 credits a month covers about 33 calls, enough to test a whole pipeline. Subscriptions lower the price per credit; see the pricing page. Errors such as a place ID that does not exist are never billed.
Tips that save time and credits
Do not fetch details you do not need. The search result already has phone, website, rating and review count. Call the details endpoint only for the places you keep after filtering.
Filter on
review_countbefore reading reviews. A place with 3 reviews tells you little; one with 3,000 is worth a full download.Use the translation. Maps reviews are written in every language.
translated_textlets one model or one analyst read them all.Respect people. Review authors are private individuals. Keep their IDs only if you need them and never republish their text next to their identity. Our legal guide to web scraping covers the rules.
Where to go next
Maps is usually the first step of a bigger flow. Our lead generation scraper guide shows how to turn a Maps search into a qualified lead list by reading each business's website and reviews. If you also track reviews on Trustpilot, the app stores or Tripadvisor, the Reviews API guide shows the unified format that puts them next to Maps.
Ready to start? Create a free account, copy your API key and run the first search above, or read every parameter in the Google Maps API reference.
Frequently asked questions
Do I need a Google Places API key to scrape Google Maps?
No. You call one endpoint with a ScrapeCrate API key and get the public data of the place as JSON. There is no Google Cloud project, no billing account on Google's side and no field masks to configure.
How many results does a Google Maps search return?
Up to 20 places per call. When there are more, the response has has_more set to true and a next_cursor you pass back as cursor to get the next 20. Each page is a separate call of 3 credits.
Can I get every review of a place?
Yes. The place reviews endpoint returns up to 20 reviews per call with rating, text, an English translation, date and the owner's answer. Follow the cursor until has_more is false to read them all, newest first if you sort by newest.
How much does it cost to scrape 1,000 places?
Every Maps call costs 3 credits. 1,000 places are 50 search pages, so 150 credits, about 15 cents at the list price. Adding the full details of each place is another 1,000 calls, 3,000 credits. Failed calls are never billed.
Can I search around a precise location?
Yes. Pass lat and lng for the centre and radius_km for the radius (0.1 to 100 km). Without them, region biases the results toward a country and the query text does the rest, as in "dentist in Berlin".
Try it with free credits every month
One API key for every source in this guide. No card needed, and only successful calls are billed.